Online Inference in Distributional Temporal-Difference Learning

Yang Peng, Liangyu ZhangarXiv 2026

TL;DR

This paper provides the first comprehensive framework for online statistical inference in distributional reinforcement learning (RL) from a single Markov trajectory. By proving the asymptotic normality of a nonparametric distributional temporal-difference (TD) estimator and establishing the validity of an online multiplier bootstrap, the authors enable mathematically rigorous uncertainty quantification (such as confidence intervals) for both smooth risk metrics (e.g., CVaR) and nonsmooth metrics (e.g., quantiles).

What Problem Does This Paper Address?

Traditional reinforcement learning typically focuses on evaluating the value function, which represents the expected (mean) cumulative discounted return. However, the mean alone cannot capture critical risk factors, such as downside risk, variability, or the probability of extreme adverse outcomes.

To address this, Distributional RL models the entire distribution of returns rather than just the average. While algorithms have been developed to estimate these distributions, performing statistical inference—such as constructing confidence intervals or quantifying estimation uncertainty—remains a massive challenge. This is especially true in the online setting, where data arrives sequentially as a single, continuous trajectory from a Markov chain, violating standard independent and identically distributed (i.i.d.) data assumptions.

Prior work on inference in TD learning was largely restricted to the mean value function or required offline generative models. This paper fills the gap by providing a theoretical foundation for online uncertainty quantification of complex statistical functionals of the return distribution.

Methods

The authors tackle the problem using a combination of nonparametric estimation, stochastic approximation, and online resampling techniques:

  1. Nonparametric Distributional TD Learning: The algorithm recursively updates the return distribution estimate at each step of the observed trajectory without restricting the distribution to a finite-dimensional parametric family.
  2. Polyak–Ruppert Averaging: To achieve optimal asymptotic efficiency, the final estimate is computed as the average of all historical iterates along the trajectory.
  3. Online Multiplier Bootstrap: To perform inference without the prohibitive cost of storing the trajectory or explicitly estimating massive covariance operators, the authors use a parallel bootstrap recursion. Each replicate multiplies the step size by an independent random weight ($W_t^* \in \{0, 2\}$). This allows the bootstrap iterates to run alongside the main algorithm in real-time.
  4. Functional Asymptotics: The mathematical analysis is split into two regimes:
  5. Smooth Functionals: Modeled in Cramér space (a separable Hilbert space of zero-mass signed measures), allowing the use of a martingale central limit theorem to prove weak convergence to a Gaussian limit.
  6. Nonsmooth Functionals: For metrics like quantiles where standard functional derivatives fail, the authors develop a novel local asymptotic theory by analyzing the estimated cumulative distribution function (CDF) over shrinking ($T^{-1/2}$) neighborhoods of specific thresholds.

Datasets

Not discussed in the paper. The paper is purely theoretical and focuses on proving mathematical guarantees, convergence rates, and asymptotic properties; it does not contain empirical evaluations or benchmark datasets.

Key Insights and Ideas

  • The Cramér Space Formulation: By treating the estimation error as a zero-mass signed measure in a Hilbert space, the authors elegantly map the complex problem of distribution tracking into a space where classical martingale central limit theorems can be deployed.
  • Resampling-Free Inference: The online multiplier bootstrap acts as a "streaming" bootstrap. It completely bypasses the need to explicitly estimate the complex, state-dependent covariance operator $A^{-1}\Sigma(A^{-1})^*$, making it computationally practical for real-time systems.
  • Conquering Nonsmoothness via Local Expansions: Standard delta methods fail for quantiles because point evaluation is discontinuous under the Cramér norm. The authors bypass this by establishing local stochastic equicontinuity for the CDF process, proving that the bootstrap correctly mirrors the local behavior of the true sampling distribution.

Key Results

  • Asymptotic Normality (Theorem 1 & 2): The authors prove that the root-$T$ error of the Polyak–Ruppert averaged estimator converges weakly to a centered Gaussian random element. Crucially, they show that the bootstrap error converges conditionally to the exact same Gaussian limit in probability.
  • Inference for Smooth Metrics (Theorem 3): This result justifies using the bootstrap to construct valid confidence intervals for smooth functionals, including variance, Conditional Value-at-Risk (CVaR), expected shortfall, and expectiles.
  • Inference for Nonsmooth Metrics (Theorems 4–6): The authors establish a local CDF expansion that successfully provides valid bootstrap inference for parameters defined by CDF equations, explicitly demonstrating its application to return quantiles and Median Absolute Deviation (MAD).

Limitations and Future Work

  • Tabular Setting: The theoretical guarantees are derived for tabular Markov Decision Processes (MDPs) with finite state and action spaces. Extending this framework to continuous state spaces using function approximation (such as neural networks) remains an open challenge.
  • Fixed Policy: The paper focuses strictly on policy evaluation (learning the return distribution of a fixed policy) rather than policy improvement or control (updating the policy actively based on the risk metrics).
  • Bounded Rewards: The proofs rely on a bounded-reward assumption ($0 \le R_t \le 1$), meaning further theoretical extensions would be required to handle unbounded or heavy-tailed reward distributions safely.

Summary updated

BibTeX
@misc{peng2026online,
  author = {Yang Peng and Liangyu Zhang},
  title = {{Online Inference in Distributional Temporal-Difference Learning}},
  year = {2026},
  eprint = {2608.14408},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.14408},
}
Figure