Single-Timescale Stochastic Nonconvex-Concave Optimization for Smooth Nonlinear TD Learning

Shuang Qiu, Zhuoran Yang, Xiaohan Wei, Jieping Ye, Zhaoran Wang

This paper introduces two new single-timescale, single-loop algorithms for solving the complex minimax optimization problems that arise in nonlinear Temporal-Difference (TD) learning. By leveraging momentum and variance reduction, the authors achieve state-of-the-art sample complexity without the need for large-batch data or complex double-loop structures, making these methods highly practical for online reinforcement learning.

What Problem Does This Paper Address?

Policy evaluation (PE) is a cornerstone of reinforcement learning, aiming to estimate the value function of a specific policy. While linear function approximation is well-understood, modern RL relies on nonlinear models like neural networks. This shifts the mathematical challenge into the realm of Nonconvex-Strongly-Concave (NCSC) minimax optimization.

The challenge is that standard "gradient descent-ascent" methods converge very slowly for these problems. Previous solutions were typically:

  • Two-timescale: Requiring two different learning rates that must be carefully balanced.
  • Double-loop: Requiring an inner loop to solve one part of the problem almost completely before the outer loop can proceed.

These approaches are often computationally expensive, frequently require large data batches for "checkpoints," and are notoriously difficult to tune in practice. The authors aim for a "single-timescale, single-loop" algorithm: one that updates all variables simultaneously using just a single data point at each step.

Methods

The authors propose two main algorithms for solving the NCSC minimax problem:

  1. Algorithm 1 (Momentum-based): This algorithm applies momentum updates to both the primal (minimizing) and dual (maximizing) variables. The key insight is that momentum helps smooth out the noise inherent in single-sample updates, allowing both sides of the minimax problem to converge at the same rate using a single timescale. It achieves a sample complexity of $O(\epsilon^{-4})$.
  2. Algorithm 2 (Momentum + Variance Reduction): This builds on the first by adding a variance reduction technique. Unlike many other variance-reduced methods, it does not require periodic "large-batch checkpoints," which are often impractical in online settings. This pushes the sample complexity to $O(\epsilon^{-3})$, matching the best known theoretical results.

Crucially, the authors also introduce a tighter convergence metric that tracks both the primal and dual variables simultaneously. This is a more rigorous standard than previous works that often only measured convergence on the primal side.

Datasets

Not discussed in the paper. The work is purely theoretical, focusing on algorithmic design and mathematical proofs of convergence and sample complexity.

Key Insights and Ideas

  • Momentum as a Bridge: The authors demonstrate that momentum isn't just for speed; it's the key to making single-timescale minimax optimization work. It acts as a buffer that allows the primal and dual updates to stay synchronized despite the asymmetry of the objective function.
  • Simplicity and Practicality: By moving away from double-loop and two-timescale architectures, the authors provide a template for algorithms that are much easier to implement and tune. A single-loop algorithm with one step-size is far more robust for real-world engineering than one requiring nested loops or multiple hyper-parameters.
  • Tighter Convergence Metrics: The shift to measuring "Primal & Dual" convergence (as seen in Table 1) provides a more complete picture of how these algorithms behave, ensuring that the estimated value function and its dual counterpart are both approaching their targets.

Key Results

The main results are summarized in Table 1, comparing the new algorithms to existing state-of-the-art methods.

Table 1: Comparison with results from existing works for solving NCSC minimax problem. The column ‘Variance Reduction’ exhibits whether an algorithm employs variance reduction techniques. In the ‘Convergence Metric’ column, ‘Primal’ indicates the sample complexity is evaluated based on the convergence of the primal variable while ‘Primal & Dual’ means the sample complexity is measured in terms of the convergence of both primal and dual variables. (See Section 4.1 for detailed discussions.) The column ‘Large Batch’ shows whether an algorithm requires sampling a large batch of data points each round.
  • Algorithm 1 achieves $O(\epsilon^{-4})$ sample complexity, matching existing two-timescale methods but with a simpler single-loop structure and no large batch requirements.
  • Algorithm 2 achieves $O(\epsilon^{-3})$ sample complexity. This matches the best known theoretical bound (e.g., Luo et al., 2020) but does so without the "double-loop" complexity or the need for large-batch checkpoints.
  • Generalization: The theoretical results hold for any convex closed feasible sets, which is more general than many previous works that required specific compact sets or unconstrained settings.

Limitations and Future Work

  • I.I.D. Assumption: The current analysis assumes data points are sampled independently and identically distributed (i.i.d.) from a fixed distribution. In real-world RL, data is often Markovian (sequential and correlated). The authors explicitly note that investigating convergence with non-i.i.d. samples is a primary direction for future work.
  • Theoretical Focus: The paper is entirely theoretical. While the algorithms are designed for practicality, the paper does not include empirical experiments on standard RL benchmarks (like MuJoCo or Atari) to demonstrate performance in practice.

Summary updated

BibTeX
@misc{qiu2020single,
  author = {Shuang Qiu and Zhuoran Yang and Xiaohan Wei and Jieping Ye and Zhaoran Wang},
  title = {{Single-Timescale Stochastic Nonconvex-Concave Optimization for Smooth Nonlinear TD Learning}},
  year = {2020},
  eprint = {2008.10103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.10103},
}
Figure