NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Convergence and Stability of Upside-Down Reinforcement Learning, Goal-Conditioned Supervised Learning, and Online Decision Transformers

Miroslav Strupl, Oleg Szehr, Francesco Faccio, Dylan R. Ashley, Rupesh Kumar Srivastava, Jürgen SchmidhuberarXiv 2025 · DOI

Introduction

Traditional Reinforcement Learning (RL) has long been dominated by value-function-based methods and Bellman equations. However, a new paradigm has emerged that treats RL as a supervised learning problem. Algorithms like Upside-Down RL (UDRL), Goal-Conditioned Supervised Learning (GCSL), and Online Decision Transformers (ODT) "invert" the standard approach by mapping desired goals and time horizons (commands) directly to actions. While these methods have shown empirical success, their theoretical foundations remained largely unexplored. This paper provides the first rigorous analysis of their convergence and stability properties.

Theoretical Framework: Command Extensions

To analyze these algorithms, the authors introduce a mathematical framework called Command Extensions. This framework redefines the state of a Markov Decision Process (MDP) to include the agent's current "command"—specifically, the goal it aims to reach and the remaining time horizon.

The learning process is modeled as an iterative eUDRL Recursion:

  1. Sample trajectories using the current policy.
  2. Use supervised learning (cross-entropy loss) to fit a new policy based on the goals achieved in those samples.
  3. Repeat.

Key Insights: Determinism and Stability

One of the paper's primary contributions is the "Aha" moment regarding deterministic environments. The authors prove that in perfectly predictable settings, eUDRL is mathematically equivalent to Reward-Weighted Regression (RWR) on specific trajectory segments. This explains its rapid convergence: in deterministic kernels, the algorithm identifies the optimal policy in as little as one iteration.

However, the transition to stochastic environments reveals a critical challenge: instability at the boundary. Unlike value-based methods that use Bellman updates to smooth the learning signal, "RL as SL" methods can be inherently discontinuous. A minor introduction of randomness into a deterministic environment can cause the learned policy to shift dramatically.

Figure 2: Analysis of the objective function $J_\alpha$ across different levels of stochasticity $\alpha$ for various policies (A, B, C) in two different environment settings.

To address this, the authors employ topological analysis and relative continuity. They demonstrate that while the policy might be technically discontinuous, it remains "relatively continuous" to the set of optimal actions. This ensures that in "nearly deterministic" environments, the algorithm maintains near-optimal performance.

Regularization as a Stabilizer

The research highlights that adding a small amount of random exploration (regularization), such as $\epsilon$-greedy-style updates, significantly improves mathematical behavior. This mirrors the entropy regularization used in modern Decision Transformers. Regularization ensures the agent visits all states, preventing the "vanishing probability" issues that lead to instability in the standard version of the algorithm.

Key Results and Performance Bounds

The paper establishes several theoretical milestones:

  • Optimality Proof: Guaranteed identification of optimal policies in deterministic environments.
  • Asymptotic Stability: Explicit error bounds showing that the goal-reaching objective is bounded by the environment's stochasticity ($\delta$).
  • Convergence Rates: Proof of q-linear convergence in cases with unique optimal policies, indicating a consistent exponential approach to the solution.
  • Near-Optimality: Formal guarantee of near-optimal behavior when the transition kernel is sufficiently close to deterministic.

Limitations and Future Directions

While this work provides a vital foundation, it is limited to finite, discrete state and action spaces. The current theoretical error bounds are also noted to be "loose," deteriorating faster than actual empirical performance as horizons or state spaces grow. Future work will focus on extending these proofs to continuous spaces and deep neural network function approximations, as well as developing tighter practical estimates for complex, large-scale tasks.

Summary updated

BibTeX
@misc{strupl2025convergence,
  author = {Miroslav Strupl and Oleg Szehr and Francesco Faccio and Dylan R. Ashley and Rupesh Kumar Srivastava and Jürgen Schmidhuber},
  title = {{On the Convergence and Stability of Upside-Down Reinforcement Learning, Goal-Conditioned Supervised Learning, and Online Decision Transformers}},
  year = {2025},
  eprint = {2502.05672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.05672},
}
Figure