NeurIPS 2026

Sharp Convergence and Sample Complexity of Policy Mirror Descent for Average-Reward MDPs

Enes Arda, Atilla Eryilmaz

Posted

The most familiar objective in reinforcement learning is the discounted cost

\[\rho_\gamma=\lim_{H\to\infty}\sum_{k=0}^{H-1}\gamma^k\,c_k, \tag{1}\]

where \(c_k\) is the cost that a policy incurs at time \(k\), and the discount factor \({\gamma\in(0,1)}\) puts more weight on early costs.

But many applications, such as job scheduling and communication networks, are more naturally modeled by the average-reward objective, which weights all times equally:

\[\rho=\lim_{H\to\infty}\frac{1}{H}\sum_{k=0}^{H-1}c_k. \tag{2}\]

Policy mirror descent (PMD) is no exception: it has a mature finite-time theory for the discounted cost, but less is known for the average-reward objective. Our paper develops a sharp theory of PMD for this objective, around one question:

How fast, and with how few samples,
can policy mirror descent provably minimize the average-reward objective?

The discounted theory does not carry over: it uses its weights \(\gamma^k\) in two ways that the equal weights in (2) do not allow:

  • Initial conditions. With more weight on early costs, the discounted cost depends heavily on how the process starts. The theory exploits this dependence: an initial distribution with full support lower bounds the visitation of every state. With equal weights, (2) forgets the initial distribution, so only the stationary behavior of the policy matters.
  • Effective horizon. The weights \(\gamma^k\) yield a finite effective horizon \({H_\gamma:=1/(1-\gamma)}\) and unbiased value estimates via geometric stopping times. With equal weights, there is no such horizon, and truncating the sum in (2) introduces a bias.

Policy mirror descent

PMD is an iterative method: it repeatedly updates the current policy \(\pi^t\), at every state \(s\), by solving a small optimization problem:

\[\pi^{t+1}_s\in\operatorname*{arg\,min}_{p\in\mathcal{P}(\mathcal{A})} \bigl\{\eta_t\,\langle\tilde Q^t_s,\,p\rangle+D(p,\pi^t_s)\bigr\}. \tag{3}\]

Here \(\tilde Q^t\) is a critic, \(D\) is a Bregman divergence and \(\eta_t\) is a step size. The first term favors the actions that the critic estimates to be cheap, the second keeps the new policy \(\pi^{t+1}_s\) close to the current one, and the step size sets the balance between the two.

The critic \(\tilde Q^t\) is an estimate of the differential action-value function \(Q^{\pi^t}\), which measures how costly each action is under the current policy. We study two critics:

  • Tabular. \({\tilde Q^t(s,a)=\hat Q^t(s,a)}\), a separate estimate of \(Q^{\pi^t}(s,a)\) for every state \(s\) and action \(a\).
  • Linear function approximation (LFA). \({\tilde Q^t(s,a)=\phi_{s,a}^\top w_t}\), a linear function of given features \({\phi_{s,a}\in\mathbb{R}^d}\), so the critic boils down to a single vector \({w_t\in\mathbb{R}^d}\).

For the PMD update (3) with these critics, we measure “how fast” by the decay of the gap \({\Delta_t:=\rho(\pi^t)-\rho^*}\) between the average cost of the current policy \(\pi^t\) and its minimum \(\rho^*\) over all policies. A single master recursion bounds this gap at every iteration, for any critic:

Lemma 3.7 (Master recursion, informal)

In an ergodic Markov decision process (MDP), let \(\chi_t\) be the mismatch between the stationary distributions of an optimal policy and of \(\pi^t\), with \({\sup_t\chi_t\le\bar\chi}\) for some \({\bar\chi>1}\), and let \(\bar A\) and \(\bar B\) bound the critic’s error. If the step sizes grow as \({\eta_t\ge\frac{\bar\chi}{\bar\chi-1}\,\eta_{t-1}}\), then for every iteration \(t\),

\[ \newcommand{\masterterm}[2]{ \underbrace{#1\vphantom{\Bigl(1-\frac{1}{\bar\chi}\Bigr)^{t}}}_{\text{#2}} } \Bigl(\Delta_t-\masterterm{(\bar\chi\bar A+\bar B)}{error floor}\Bigr)_+ \;\le\; \masterterm{\Bigl(1-\frac{1}{\bar\chi}\Bigr)^{t}}{linear rate} \hspace{14pt}\cdot \masterterm{\Psi_0\rlap{,}}{initialization} \]

where \({(x)_+:=\max\{x,0\}}\). If the step sizes grow faster, with \({\eta_t/\eta_{t-1}\to\infty}\), then for every \({\zeta>0}\),

\[ \limsup_{t\to\infty}\, \Bigl(\Delta_t-\masterterm{\bigl((\chi+\zeta)\bar A+\bar B\bigr)}{error floor}\Bigr)_+^{1/t} \;\le\; \masterterm{1-\frac{1}{\chi+\zeta}\rlap{,}}{asymptotic rate} \]

with the tail mismatch \({\chi:=\limsup_t\chi_t\le\bar\chi}\).

The lemma gives three takeaways:

  • Actor and critic separate. The actor’s machinery (step-size schedule, mismatch) sets the rate; the critic’s error (\(\bar A\), \(\bar B\)) affects only the error floor.
  • No tuning. Doubling the step size every iteration works without knowing \(\bar\chi\), and larger step sizes do not amplify the critic’s error.
  • \({\chi\ll\bar\chi}\) in practice. The worst case \(\bar\chi\) governs only a short warm-up: across four MDPs, the median \({\chi_t/\bar\chi}\) drops by 10–1000× within about 20–40 iterations (see the figure below).
Median of χ_t/χ̄ against the iteration t, on a logarithmic axis, for four MDPs, with interquartile ranges shaded: a random MDP with 20 states and 4 actions, queue admission, a 5×5 gridworld and Jack’s car rental. All four curves fall from near 1 to between about 0.1 and 0.003 within the first 20 to 40 iterations and stay there.
Median \({\chi_t/\bar\chi}\) trajectories. Interquartile range shaded.

Exact critic

With an exact critic, \({\tilde Q^t=Q^{\pi^t}}\), there is no error and \({\bar A=\bar B=0}\): the error floor is zero, \({\Delta_t\to0}\), and the asymptotic rate is \({1-1/\chi}\). Two more results hold in this case:

  • Superlinear. When \(\pi^t\) converges (e.g., if the optimal policy is unique), \({\chi=1}\), so \({\limsup_t\Delta_t^{1/t}=0}\). With KL or the squared Euclidean distance as \(D\), even this is not needed: they are always superlinear!
  • Tight. For every \(\bar\chi\) and every \(T\), some MDP has \({\Delta_t\ge\tfrac12(1-1/\bar\chi)^t\Delta_0}\) for all \({t\le T}\), for any Bregman divergence and any step sizes.

Sample-optimal critics

Lemma 3.7 answers “how fast”. For “how few samples”, it also says what it takes to guarantee \({\Delta_T\le\varepsilon}\):

  • Actor. It must run for \({T=\tilde O(\bar\chi)}\) iterations, with one critic call each.
  • Critic. It needs error bounds \({\bar A,\bar B=O(\varepsilon/\bar\chi)}\), so that the error floor satisfies \({\bar\chi\bar A+\bar B\le\varepsilon}\).

The sample count is then the number of iterations times the number of samples per critic call. In one call, the critic tries to estimate

\[Q^{\pi^t}(s,a)=\lim_{H\to\infty}\mathbb{E}\Bigl[\,\sum_{k=0}^{H-1}\bigl(c_k-\rho(\pi^t)\bigr) \;\Big|\;s_0=s,\;a_0=a\Bigr].\]

The terms of this sum vanish only once the costs \(c_k\) are sampled from the stationary distribution of \(\pi^t\). So how fast a rollout of \(\pi^t\) gets close to stationarity tells us when to stop sampling. This is precisely what the mixing time \(t_{\mathrm{mix}}\) measures: every \(t_{\mathrm{mix}}\) steps, a rollout gets at least twice as close to stationarity. Discounting gets its stopping point for free from the effective horizon \(H_\gamma\), while average reward has to wait for the rollout to mix.

Our two critics put mixing to good use, and both are optimal: each matches a lower bound that we prove, up to logarithmic factors.

Tabular critic. We start from the Poisson equation:

\[ \newcommand{\critterm}[3]{ \underset{\substack{\strut\text{#2}\\\strut\text{#3}}}{ \underbrace{#1\vphantom{\sum_{s'}}} } } Q^{\pi^t}(s,a)=c(s,a)-\rho(\pi^t) +\critterm{\sum_{s'}P(s'\mid s,a)}{one-step samples}{for every $(s,a)$} \hspace{11pt}\cdot\critterm{h^{\pi^t}(s')\rlap{.}}{rollouts}{once per state} \]

The key idea is to spend the expensive samples on the part that every state–action pair \((s,a)\) shares. That part is the differential value function \(h^{\pi^t}\): it depends on the state alone, so the critic estimates it once per state and every pair reuses it. A rollout is \(t_{\mathrm{mix}}\) steps long and a one-step sample is one, so for a fixed accuracy the critic pays of order \(t_{\mathrm{mix}}^3\) samples per state and only \(t_{\mathrm{mix}}^2\) per pair.

LFA critic. We fit \(w_t\) with \(K\) steps of stochastic gradient descent (SGD), and average the last half of the iterates:

\[ \require{mathtools} \newcommand{\critclap}[3]{ \underset{\mathclap{\substack{\strut\text{#2}\\\strut\text{#3}}}}{ \underbrace{#1\vphantom{\bigl(}} } } \begin{aligned} w_{t,k}&=w_{t,k-1}-\alpha\bigl(\phi_{s_k,a_k}^\top w_{t,k-1} -\critclap{\hat Q^t(s_k,a_k)}{noisy label from}{one rollout}\bigr)\,\phi_{s_k,a_k},\\[4pt] w_t&=\critterm{\frac{1}{\lceil K/2\rceil}\sum_{k>K/2}w_{t,k}\rlap{.}}{averaging over}{SGD steps} \end{aligned} \]

Here, the key idea is to average the noise out over pointwise estimates \(\hat Q^t(s_k,a_k)\), which are cheap: each costs one rollout, again of length \(t_{\mathrm{mix}}\). A sublinear actor averages over whole critic estimates instead, one per iteration, each of order \(t_{\mathrm{mix}}^3\) samples. For a fixed accuracy, both average of order \(t_{\mathrm{mix}}^2\) of them. Our LFA critic does so per feature, where the tabular critic did per pair: with \(d\) features, a call takes \({d\,t_{\mathrm{mix}}^2}\) labels, or \({d\,t_{\mathrm{mix}}^3}\) samples in total.

Combining these critics with the actor gives the number of samples needed to reach \({\Delta_T\le\varepsilon}\), in units of \(1/\varepsilon^2\):

Tabulargenerative model LFAsingle trajectory
Prior best policy gradient \({|\mathcal S||\mathcal A|\,t_{\mathrm{mix}}^3}\) \({|\mathcal S||\mathcal A|\,t_{\mathrm{mix}}^5}\)
Ours \({\bigl(|\mathcal S|\,t_{\mathrm{mix}}^3+|\mathcal S||\mathcal A|\,t_{\mathrm{mix}}^2\bigr)\,\bar\chi^3}\) \({d\,t_{\mathrm{mix}}^3\,\bar\chi^3}\)
Our lower bound for the critic \({|\mathcal S|\,t_{\mathrm{mix}}^3+|\mathcal S||\mathcal A|\,t_{\mathrm{mix}}^2}\) \({d\,t_{\mathrm{mix}}^3}\)
\(|\mathcal S|\) states, \(|\mathcal A|\) actions. Logarithmic factors omitted. Prior bounds hold in expectation for a random iterate; ours hold with high probability for the last iterate.

Citation

BibTeX
@inproceedings{arda2026sharp,
  title     = {Sharp Convergence and Sample Complexity of Policy Mirror Descent for Average-Reward {MDPs}},
  author    = {Arda, Enes and Eryilmaz, Atilla},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2026}
}