Understanding the Asymptotic Transience of Q-Learning via Distributional Expansion

Shengbo WangarXiv 2026

TL;DR

This paper provides a high-resolution mathematical "zoom-in" on why Q-learning often struggles with large errors in its early stages. By using a technique called Edgeworth expansion, the authors prove that the mistakes Q-learning makes before it figures out the best policy leave a lasting "scar"—a systematic overestimation—that persists much longer than standard theory predicts.

What Problem Does This Paper Address?

In reinforcement learning, Q-learning is a workhorse algorithm, but it’s notoriously "moody" during its transient phase (the time before it converges). Researchers usually study this in two ways:

  1. Central Limit Theorem (CLT): This tells us that, eventually, the error looks like a standard bell curve (Gaussian). However, the CLT is "blind" to the initial nonlinear path the algorithm took to get there.
  2. Finite-Sample Bounds: These give "worst-case" guarantees. While safe, they are often too pessimistic to explain why a specific, simple problem might be giving an agent a hard time.

The authors address the gap between these two: the asymptotic transience. They want to know exactly how the "maximization bias"—the tendency of Q-learning to overestimate values because it always picks the maximum of noisy estimates—propagates through time and shifts the final distribution of the error.

Methods

The authors develop a finer asymptotic analysis by decomposing the error of synchronous Q-learning into three distinct parts:

  • Centered TD Fluctuation ($Y_n$): The "normal" noise you'd get if you already knew the optimal policy. This follows the standard $n^{-1/2}$ Gaussian scale.
  • Deterministic Bias ($m_n$): The error resulting from where you started (initialization).
  • Maximization Transient ($D_n$): The "extra" error caused by the algorithm picking the wrong actions early on.

The core innovation is the use of a multivariate Edgeworth expansion. While a standard CLT says "the error is a bell curve," an Edgeworth expansion adds "correction terms" (polynomials) that account for the skewness and non-Gaussian behavior of the algorithm. They also prove a "joint convergence" result, showing that the random noise and the maximization bias are essentially independent in the limit, which allows them to be combined into a single, highly accurate formula for the error distribution.

Datasets

As a theoretical paper, it does not use large-scale empirical datasets. Instead, it validates its mathematical findings using:

  • A Two-Armed Bandit (One-State MDP): Used to show how the "action gap" (the difference between the best and second-best action) affects the error.
  • A Two-State MDP: A simple environment used to visualize the "corrected" bell curve against empirical simulations.

Key Insights and Ideas

  • The $1/n$ Persistence: Even after the agent starts picking the correct actions every time, the "maximization residuals" generated during the early, confused phase don't just vanish. They are propagated forward, decaying at a scale of $1/n$.
  • Systematic Optimism: The maximization transient $D_n$ is proven to be non-negative on every sample path. This provides a formal asymptotic proof for why Q-learning is systematically biased toward overestimation.
  • Inverse Gap Dependence: The paper shows that the expected transient error is inversely proportional to the optimality gap. If two actions look very similar, the agent will spend more time being "confused," leading to a much larger accumulated maximization bias.
  • Asymptotic Independence: A surprising "aha moment" is that the Gaussian noise ($Y_n$) and the maximization displacement ($D_n$) become independent as $n$ grows. This means the early-stage "scarring" simply shifts the bell curve without changing its fundamental shape.

Key Results

  • Theorem 1: Establishes that the maximization transient, when scaled by $n$, converges to a random variable $D$. This proves the transient effect is a real, quantifiable "displacement" rather than just vanishing noise.
  • Theorem 3: Provides the full distributional expansion. It shows that the first-order effect of the maximization transient is to shift the mean of the Gaussian limit by a specific value ($\mathbb{E}D$).
  • Visual Verification: In a two-state MDP simulation with 5,000 iterations, the standard Gaussian (CLT) prediction significantly misses the mark. The authors' "Corrected" density (using the Edgeworth expansion) matches the empirical histogram almost perfectly, capturing the skewness and shift that the CLT ignores.

Limitations and Future Work

  • Synchronous Updates: The current analysis assumes all state-action pairs are updated at every step. In real-world "asynchronous" Q-learning (where we only update what we see), the math becomes significantly harder due to temporal dependencies.
  • Unique Optimal Action: The proofs rely on the assumption that there is a single, unique best action for every state. If there are ties, the "max" operator remains non-smooth even in the limit, which would require a different analytical approach.
  • Function Approximation: The paper deals with "tabular" RL. Extending this to Deep Q-Networks (DQN) where neural networks approximate the values is a major open challenge.

Summary updated

Abstract

Q-learning has been empirically observed to exhibit substantial transient error. This transient remains uncaptured by the leading Gaussian limit because the central-limit normalization removes the smaller-scale displacement generated by the initial nonlinear evolution. On the other hand, worst-case finite-sample guarantees, while accounting for transient effects, can obscure the mechanisms responsible for the error on a particular problem instance. We develop a finer asymptotic analysis that gives an asymptotically exact characterization of this transient for a fixed instance. Specifically, for synchronous Q-learning in finite discounted Markov decision processes, we separate the last-iterate error into an optimal-policy temporal-difference (TD) component and a nonnegative displacement caused by maximization. The centered TD component has Gaussian fluctuations at scale $n^{-1/2}$, whereas the maximization transient is of order $n^{-1}$ and converges almost surely, after rescaling by $n$, to a random limit. This limit represents the propagated effect of maximization errors generated before the greedy policy stabilizes. We combine this characterization with an Edgeworth expansion of the TD component to identify the corrections to its Gaussian approximation, separating the effects of initialization, non-Gaussian TD fluctuations, and maximization. The results reveal how transient errors arise for individual Q-learning instances and how their effects persist below the central-limit scale.
BibTeX
@misc{wang2026understanding,
  author = {Shengbo Wang},
  title = {{Understanding the Asymptotic Transience of Q-Learning via Distributional Expansion}},
  year = {2026},
  eprint = {2611.14926},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14926},
}
Figure