Error controlled actor-critic

Xingen Gao, Fei Chao, Changle Zhou, Zhen Ge, Longzhi Yang, Xiang Chang, Changjing Shang, Qiang Shen

Abstract

Value overestimation in deep reinforcement learning often stems from approximation errors in the critic, leading to suboptimal policy updates. This paper introduces Error Controlled Actor-Critic (ECAC), an algorithm designed to mathematically bound the Q-function's approximation error. By enforcing a Kullback-Leibler (KL) divergence constraint between successive policies, ECAC stabilizes the learning environment for the critic. Empirical evaluations on continuous control benchmarks demonstrate that ECAC significantly reduces approximation error and outperforms state-of-the-art methods like SAC and TD3.

Introduction

In Deep Reinforcement Learning (RL), neural networks are used to approximate value functions—the expected long-term rewards of specific actions. However, these approximations are inherently imperfect. This "approximation error" frequently leads to overestimation, where an agent becomes overly optimistic about certain actions due to noise in the estimate. While existing methods like Double Q-learning or TD3 attempt to mitigate the symptoms of overestimation, they do not address the fundamental source of the error. ECAC proposes a theoretical framework to bound and minimize this error directly.

Methods

The core innovation of ECAC is the derivation of an upper bound for the approximation error in the Q-function using principles from domain adaptation. The authors prove that this error is directly influenced by the magnitude of policy changes between training iterations.

The iterative process of ECAC, showing how the critic fits the Q-function while the actor improves the policy under error-controlled constraints.

To maintain a low error bound, ECAC ensures that the updated policy does not stray too far from the previous iteration. This is achieved through a KL-divergence constraint, which is decomposed into two distinct pressures: cross-entropy (to maintain similarity to the previous policy) and entropy (to encourage exploration). Similar to Soft Actor-Critic (SAC), ECAC employs an automated temperature tuning mechanism to adjust the coefficients for these constraints dynamically during training.

Key Results and Discussion

ECAC was evaluated against leading algorithms including A2C, PPO, TD3, and SAC across ten continuous control tasks in the OpenAI Gym (MuJoCo and Pybullet). ECAC achieved the highest average return in 8 out of 10 tasks. For instance, in the HalfCheetah-v3 environment, ECAC reached a score of ~11,744, significantly surpassing SAC (~9,211) and TD3 (~9,492).

Comparison of normalized error rates with and without KL limitation on Hopper-v3 and Walker2d-v3. The KL constraint leads to significantly lower and more stable error rates.

Ablation studies confirmed that the KL-limitation is the primary driver for reducing normalized approximation error. By slowing down the actor's policy shifts, the critic's previous knowledge remains more relevant, leading to more accurate value estimations and a more robust training process with lower variance across random seeds.

Conclusion and Future Work

ECAC demonstrates that stabilizing the actor's policy updates is a powerful indirect method for controlling critic error. While highly effective in continuous control, future research could investigate the application of these error-bounding techniques to discrete action spaces and explore alternative similarity metrics beyond KL-divergence to further refine policy stability.

Summary updated

BibTeX
@article{gao2021error,
  author = {Xingen Gao and Fei Chao and Changle Zhou and Zhen Ge and Longzhi Yang and Xiang Chang and Changjing Shang and Qiang Shen},
  title = {{Error controlled actor-critic}},
  journal = {Information Sciences},
  year = {2021},
  doi = {10.1016/j.ins.2022.08.079},
}
Figure