Abstract
We present the first provably convergent two-timescale off-policy actor-critic algorithm (COF-PAC) with function approximation. Key to COF-PAC is the introduction of a new critic, the emphasis critic, which is trained via Gradient Emphasis Learning (GEM), a novel combination of the key ideas of Gradient Temporal Difference Learning and Emphatic Temporal Difference Learning. With the help of the emphasis critic and the canonical value function critic, we show convergence for COF-PAC, where the critics are linear and the actor can be nonlinear.
Introduction
In Reinforcement Learning (RL), off-policy methods are highly desirable because they allow an agent to learn from data generated by a different policy, such as historical logs or a random exploration policy. This makes them significantly more data-efficient than on-policy methods. However, combining off-policy learning with function approximation (e.g., neural networks) and bootstrapping leads to the "deadly triad"—a notorious recipe for instability and divergence. While on-policy actor-critic methods have solid convergence proofs, off-policy versions like the original Off-PAC previously only had proofs for the tabular case. COF-PAC (Convergent Off-Policy Actor-Critic) bridges this gap, providing the first provably convergent two-timescale architecture for off-policy learning with function approximation.
Methodology: COF-PAC and GEM
COF-PAC utilizes a two-timescale stochastic approximation architecture where the critics learn at a faster rate than the actor. The core innovation is the emphasis critic, which estimates the emphasis required to correct for the discrepancy between the behavior policy (data collection) and the target policy (learning objective).
Instead of using a high-variance "followon trace," COF-PAC introduces Gradient Emphasis Learning (GEM). GEM treats emphasis estimation as a learning problem, combining Gradient Temporal Difference (GTD) and Emphatic TD (ETD) principles. To handle a "slowly changing" target policy as the actor updates, the authors incorporate ridge regularization into the GEM objective, ensuring the underlying mathematical matrices remain strictly positive definite and well-behaved during optimization.
Experimental Setup
The authors evaluated COF-PAC on two primary benchmarks. The first is Baird’s Counterexample, a classic RL problem designed to induce divergence in standard off-policy algorithms. The environment consists of seven states with specific transition dynamics and feature representations (Original, One-Hot, Zero-Hot, and Aliased).
The second benchmark is Reacher-v2, a continuous control task from the OpenAI Gym (MuJoCo) suite, where a robotic arm must reach a target location.
Key Results and Insights
The primary insight of this work is that emphasis should be modeled and learned as a function rather than just followed as a noisy trace. This shift dramatically reduces variance and stabilizes learning.
Stability on Baird's Counterexample
Experimental results on Baird's counterexample demonstrate that GEM significantly outperforms the traditional followon trace. Across various feature sets, GEM maintained lower approximation error and much lower variance, as shown in the comparison below.
Performance in Continuous Control
In the Reacher-v2 environment, COF-PAC solved the task faster than ACE (Actor-Critic with Emphatic weightings) and exhibited greater stability than TD3, a popular state-of-the-art off-policy algorithm. This work successfully aligns the theoretical guarantees of off-policy actor-critic with its on-policy counterparts, showing that the convergence level of COF-PAC is identical to the well-established on-policy results by Konda (2002).
Conclusion and Future Work
COF-PAC represents a theoretical milestone, providing the first almost-sure convergence proof for a two-timescale off-policy actor-critic with linear function approximation for critics. While the actor can be non-linear, extending these proofs to fully non-linear deep learning critics remains an open challenge. Additionally, the complexity of managing three separate learning processes (value critic, emphasis critic, and actor) introduces more hyperparameters that require careful tuning. Future work may focus on simplifying this architecture or extending the convergence guarantees to broader classes of function approximators.
Summary updated