Online reinforcement learning in infinite-horizon Markov decision processes (MDPs) remains less theoretically and algorithmically developed than its episodic counterpart, with many algorithms suffering from high ``burn-in'' costs and failing to adapt to benign instance-specific complexity. In this work, we address these shortcomings for two infinite-horizon objectives: the classical average-reward regret and the γ-regret. We develop a single tractable UCB-style algorithm applicable to both settings, which achieves the first optimal variance-dependent regret guarantees. Our regret bounds in both settings take the form O~(SAVar+lower-order terms), where S,A are the state and action space sizes, and Var captures cumulative transition variance. This implies minimax-optimal average-reward and γ-regret bounds in the worst case but also adapts to easier problem instances, for example yielding nearly constant regret in deterministic MDPs. Furthermore, our algorithm enjoys significantly improved lower-order terms for the average-reward setting. With prior knowledge of the optimal bias span ∥h⋆∥sp, our algorithm obtains lower-order terms scaling as ∥h⋆∥spS2A, which we prove is optimal in both ∥h⋆∥sp and A. Without prior knowledge, we prove that no algorithm can have lower-order terms smaller than ∥h⋆∥sp2SA, and we provide a prior-free algorithm whose lower-order terms scale as ∥h⋆∥sp2S3A, nearly matching this lower bound. Taken together, these results completely characterize the optimal dependence on ∥h⋆∥sp in both leading and lower-order terms, and reveal a fundamental gap in what is achievable with and without prior knowledge.
Figures & tables
Algorithm
O(⋅) Regret
Priorless?
Burn-In Cost
Tractable?
Type
UCRL2 ( Auer et al., 2008 )
DSAT
✓
N/A
✓
EVI
REGAL ( Bartlett and Tewari, 2012 )
∥h⋆∥spSAT
×
N/A
×
EVI
SCAL ( Fruit et al., 2018 )
∥h⋆∥spSAT
×
N/A
✓
EVI
KL-UCRL ( Talebi and Maillard, 2018 )
ST∑s,aVs,a⋆+DT
✓
N/A
✓
EVI
EBF ( Zhang and Ji, 2019 )
∥h⋆∥spSAT
×
(*)
×
EVI
UCB-AVG ( Zhang and Xie, 2023 )
S5A2∥h⋆∥spT
×
N/A
✓
UCB
Table 1: Comparison of algorithms and regret bounds for average-reward MDPs. Here ∥h⋆∥sp is the span of the optimal bias function and D is the diameter, which satisfy ∥h⋆∥sp≤D . We always have Γ≤S , and Γ=1 in deterministic MDPs. Var1−1/T⋆ and Vsa⋆ are instance-dependent variance parameters, which in particular are 0 for deterministic MDPs. Also Var1−1/T⋆≤O(∥h⋆∥spT+∥h⋆∥sp2) . Only the leading terms as T→∞ of the regret bound are shown. The burn-in cost is defined as the smallest T for which the algorithm achieves a minimax-optimal regret of O(∥h⋆∥spSAT) , or N/A if this does not occur. Priorless means that an algorithm does not require prior knowledge about the value of ∥h⋆∥sp . (*) The burn-in cost of EBF ( Zhang and Ji, 2019 ) is ∥h⋆∥sp6S4A4+∥h⋆∥sp6S6A2+∥h⋆∥sp3S12A3 .
Figure 1: An example of the MDPs used in the proof of Theorem 3.8 . Here each state-action pair is annotated with its reward. If the transition associated with a state-action pair is deterministic, it is denoted with a solid arrow. If it is stochastic, it is represented as a solid line splitting into multiple dashed arrows to different states, each annotated with the associated probability of that transition. The MDPs are parameterized by B>2 , both have starting state 1 , and differ only in the transition distribution of the stay action of state 2 . In P1 an optimal stationary policy traverses to state 2 and stays there, while in P2 an optimal stationary policy remains in state 1 .
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 2: An example of a hard MDP construction for S=14 and A=3 . To avoid clutter, we omit an additional deterministic self-loop at each leaf state. We also omit the deterministic actions which transit from the leaf states to the root and from the good state to the root, as these actions only serve to keep the diameter bounded by D .
Figure 3: An example of the MDPs used in the proof of Theorem J.1 . If the transition associated with a state-action pair is deterministic, it is denoted with a solid arrow. If it is stochastic, it is represented as a solid line splitting into multiple dashed arrows to different states, each annotated with the associated probability of that transition. The MDPs are parameterized by B>1. Some actions, such as those which transit from leaf states back to the root state, are omitted.
Regret minimization in reinforcement learning develops agents that learn effective policies while limiting cumulative loss against an optimal benchmark.