Abstract
Target networks are a cornerstone of stable deep reinforcement learning, yet their theoretical properties in actor-critic settings have remained largely a mystery. This paper provides the first formal proof of convergence and a finite-time analysis for a target-based actor-critic algorithm. By employing a three-timescale stochastic approximation framework, the authors demonstrate that the "moving target" problem can be mathematically tamed, bridging the gap between empirical success and mathematical theory.
Introduction
In Reinforcement Learning (RL), the Actor-Critic framework is a dominant paradigm where an "actor" learns a policy and a "critic" estimates the value of that policy to guide improvements. However, training these systems is notoriously unstable due to "bootstrapping"—where the critic uses its own potentially inaccurate predictions as a baseline.
To mitigate this, practitioners use target networks: delayed copies of the critic that provide a stable target for updates. While essential for the success of algorithms like DQN, DDPG, and SAC, a solid theoretical understanding of target networks in the actor-critic loop has been missing. This research addresses this gap by analyzing an online target-based actor-critic algorithm with linear function approximation.
Methodology: The Three-Timescale Framework
The core innovation of this work is the use of a three-timescale stochastic approximation framework to manage the interactions between the actor, the critic, and the target network. The updates are separated into three distinct "speeds":
- Fastest Timescale (Critic): The main critic network updates its parameters to minimize the error between current estimates and the target.
- Intermediate Timescale (Target Network): The target network slowly tracks the main critic, typically using Polyak averaging.
- Slowest Timescale (Actor): The actor updates the policy based on feedback from the critic.
By structuring the algorithm this way, the authors use the Ordinary Differential Equation (ODE) method to prove that faster processes reach a quasi-equilibrium from the perspective of the slower ones, ensuring overall stability.
Comparison with Prior Work
This paper distinguishes itself by providing a comprehensive analysis that includes several features previously not combined in a single study, such as Markovian sampling and finite-time analysis for target-based actor-critic systems.
As shown in the table above, this work is the first to provide both asymptotic results and finite-time analysis for a target-based actor-critic algorithm using three timescales, filling a significant gap in the literature compared to previous two-timescale or target-free analyses.
Key Insights and Results
The theoretical analysis yields several critical findings:
- Theoretical Soundness: The target network mechanism is mathematically sound. Even with the added complexity, the critic converges to a solution tracking the standard Temporal Difference (TD) solution.
- Step-size Justification: The convergence conditions ($0 < \beta < \xi < \alpha < 1$ for stepsizes) provide a theoretical basis for the common practice of updating target networks significantly slower than the main critic.
- Convergence and Complexity: The authors establish that both the critic and actor converge with probability 1 (w.p.1). Furthermore, they provide a sample complexity of $O(\epsilon^{-3} \ln^3(1/\epsilon))$ to reach an $\epsilon$-approximate stationary point. While this is slightly higher than the $O(\epsilon^{-2})$ bound for standard two-timescale algorithms, it represents the first such bound for a target-based version.
Limitations and Future Directions
While this paper provides a significant theoretical foundation, several areas remain for future exploration:
- Function Approximation: The current study is limited to linear function approximation. Extending these proofs to the nonlinear neural networks used in practice is a major challenge.
- Off-Policy Learning: This analysis focuses on on-policy settings. Many successful algorithms (e.g., SAC, TD3) are off-policy, which introduces the "deadly triad" of bootstrapping, off-policy learning, and function approximation.
- Efficiency vs. Stability: The results suggest a trade-off: target networks improve stability but may theoretically slow down the rate of convergence. Closing this gap between theoretical complexity and empirical stability is a key research priority.
Summary updated