On the Divergence of Differential Temporal Difference Learning without Local Clocks

David Antrobius, Shangtong ZhangNeurIPS 2026

TL;DR

In reinforcement learning (RL), theorists usually prove algorithms converge using "local clocks" (state-specific step counters), while engineers almost exclusively implement "global clocks" (a single universal step counter). For standard discounted RL, this gap doesn't matter—the two always behave the same. This paper delivers a surprising plot twist: in average-reward RL, that equivalence shatters, and an algorithm guaranteed to work in theory can blow up in practice simply because of how you count time.

What Problem Does This Paper Address?

Every RL update relies on a learning rate—a knob that controls how much new information overrides old estimates. When theorists prove an RL algorithm converges, they often make the learning rate depend on how many times the agent has visited a specific state. This is a local clock, and it acts like a mathematical equalizer, balancing out updates across frequently and rarely visited states. Practitioners, however, almost never do this; they decay the learning rate using the overall time step $t$—a global clock.

In standard discounted RL (where future rewards matter exponentially less than immediate ones), this theorist-practitioner gap is harmless: anything that converges with a local clock also converges with a global clock.

Recently, a foundational algorithm called differential Temporal Difference (TD) learning brought fresh momentum to average-reward RL (where long-term steady-state reward is optimized without discounting). There was a catch: the original authors presented the algorithm with a practical global clock, yet proved its convergence in the appendix using a local clock. Subsequent work proved the global-clock version works if a certain hyperparameter $\eta$ (which scales how fast the average reward itself is estimated) is tiny. This left an open question: does differential TD with a global clock converge for any $\eta > 0$, just like its local-clock twin?

Methods

To answer this, the authors turn to the Ordinary Differential Equation (ODE) method—a classic framework that analyzes noisy, step-by-step RL updates by looking at the smooth continuous-time ODE they track in the limit. Stability of this ODE depends on whether its governing matrix is positive stable (meaning all its eigenvalues sit safely in the right half of the complex plane, pulling errors down to zero).

With a global clock, the ODE matrix gets multiplied by a diagonal matrix representing how frequently the agent visits each state. In discounted TD, the underlying math involves a special structure called an M-matrix, which stays positive stable even after this multiplication. Differential TD lacks this M-matrix armor.

Instead of guessing counterexamples via random sampling (which the authors tried and found virtually impossible), they used rank-one perturbation theory and the Routh-Hurwitz stability criterion to map out the exact mathematical boundaries of when eigenvalues cross into unstable territory as $\eta$ changes. Armed with these exact conditions, they hand-crafted a symmetric Markov Decision Process (MDP) designed to isolate a 3D subspace where uneven state visits destabilize the learning dynamics.

Datasets

Not discussed in the paper. Instead of external datasets, the authors evaluate their theory on a newly constructed family of synthetic tabular MDPs. The smallest instance has 25 states and 2 actions, mimicking a system that mostly sits in a "normal" state $c$, occasionally suffers one of 23 rare "failures" ($a_1 \dots a_{23}$), and passes through a common "recovery" state $b$.

Key Insights and Ideas

  • Global clocks aren't an implementation detail: In average-reward RL, swapping a theoretical local clock for a practical global clock fundamentally alters how state visitation frequencies warp the update dynamics—turning a convergent algorithm into a divergent one.
  • Stability can vanish and reappear: You might expect stability to hold up to some max threshold $\eta_*$ and fail forever after. Instead, the authors prove the stability region is a finite union of open intervals. As you crank up $\eta$, the system can be stable, go unstable, and then recover stability!
Figure 1: Phase portrait of the nontrivial eigenvalues of Aη/ε for the counterexample in Example 4.5. Left: trajectory of the conjugate pair in the complex plane. Right: real part of this pair as a function of t = η/ε, with the unstable interval t ∈(1, 3) shaded.
  • Advancing pure matrix theory: Beyond RL, this counterexample solves a puzzle in linear algebra regarding rank-one perturbations of singular M-matrices, showing positive stability isn't guaranteed even under strict positivity constraints.

Key Results

  • Exact disconnected stability: For their 25-state MDP (with base parameter $\varepsilon = 1/550$), the authors prove the global-clock ODE is stable if and only if $\eta \in (0, \varepsilon) \cup (3\varepsilon, \infty)$. Between $\varepsilon$ and $3\varepsilon$, a conjugate pair of eigenvalues slips into the left half-plane, triggering instability.
  • Empirical divergence: Running off-policy differential TD on this 25-state MDP with $\eta = 2\varepsilon = 1/275$ over $10^{11}$ time steps confirms the math. Even with zero rewards everywhere, the local-clock value estimates contract cleanly to $0$, while the global-clock estimates oscillate and diverge Past $\|v_t\|_2 > 30$.

Limitations and Future Work

  • ODE instability vs. almost sure divergence: While the authors prove the associated ODE is unstable and empirically show divergence over $10^{11}$ steps, formally proving that the stochastic algorithm diverges almost surely (rather than settling into some bounded limit cycle) remains an open mathematical problem.
  • Control and Function Approximation: This paper focuses on tabular policy evaluation (differential TD). Extending this stability analysis to nonlinear control algorithms (like differential $Q$-learning), actor-critic methods, and the "deadly triad" (where neural networks/function approximation enter the mix alongside global clocks) is vital future territory.

Summary updated

BibTeX
@inproceedings{antrobius2026divergence,
  author = {David Antrobius and Shangtong Zhang},
  title = {{On the Divergence of Differential Temporal Difference Learning without Local Clocks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=UJzniNLXaL},
}
Figure