Error Controlled Actor-Critic

Xingen Gao, Fei Chao, Changle Zhou, Zhen Ge, Chih-Min Lin, Longzhi Yang, Xiang Chang, Changjing Shang

TL;DR

Value function approximation errors often lead to overestimation bias and unstable training in deep reinforcement learning. This paper introduces Error Controlled Actor-Critic (ECAC), a novel algorithm that mathematically bounds and reduces this error by constraining the Kullback-Leibler (KL) divergence between consecutive policies. By keeping policy updates smooth, ECAC stabilizes the critic and significantly outperforms mainstream model-free RL algorithms on continuous control tasks.

What Problem Does This Paper Address?

In actor-critic reinforcement learning, deep neural networks are used as "critics" to approximate the value function (Q-function), which estimates future rewards. However, these approximations are inherently imperfect. Small approximation errors can compound during training, leading to a severe "overestimation phenomenon" where the agent overvalues poor actions, resulting in suboptimal policies.

While existing methods like Double Q-learning or clipped double Q-learning mitigate overestimation directly by altering how Q-values are calculated, they don't address the root cause: the optimization instability that occurs when a policy changes too rapidly for the critic to keep up. This paper tackles the challenge of directly controlling and minimizing the value function's approximation error.

Methods

The authors introduce Error Controlled Actor-Critic (ECAC), which approaches the problem through the lens of domain adaptation. They treat the critic's update step as adapting a learned Q-network from an old policy (source domain) to a new policy (target domain).

Key components of the methodology include:

  • Error Bounding via KL Divergence: The authors mathematically derive an upper bound for the Q-function's approximation error. They discover that this upper bound can be minimized by restricting the KL divergence between the newly updated policy and the previous iteration's policy.
  • Decomposed KL Objective: In practice, rather than minimizing the KL divergence directly, the authors split it into two separate components: minimizing the cross-entropy between successive policies and maximizing the entropy of the current policy.
  • Automated Coefficient Tuning: ECAC features a dual-mechanism to automatically adjust the coefficients ($\alpha$ for cross-entropy and $\beta$ for entropy) during training, keeping the policy updates within a stable target range.
  • Hybrid Approach: ECAC combines this indirect error-control strategy with direct overestimation fixes, specifically incorporating clipped double Q-learning into its critic module.

Datasets

The algorithm was evaluated on 10 challenging continuous control benchmarks from the OpenAI Gym suite, spanning two physics simulators:

  • MuJoCo Environments: Hopper-v3, Walker2d-v3, HalfCheetah-v3, Ant-v3, and Humanoid-v3.
  • PyBullet Environments: HopperBulletEnv-v0, Walker2DBulletEnv-v0, HalfCheetahBulletEnv-v0, AntBulletEnv-v0, and HumanoidBulletEnv-v0.

No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • RL as Domain Adaptation: Viewing the policy iteration process as a domain adaptation problem allows the authors to apply statistical learning theory to derive a formal upper bound on value function error.
  • Policy Smoothness Helps the Critic: Intuitively, keeping consecutive policies similar prevents the "moving target" problem. Mathematically, the paper proves that enforcing policy smoothness directly shrinks the maximum possible error the critic can make.
  • Divide-and-Conquer KL Penalty: Splitting the KL penalty into independent cross-entropy and entropy objectives, paired with dynamic tuning, provides much better empirical training stability than standard KL regularization.

Key Results

ECAC was compared against four mainstream model-free RL algorithms: A2C, PPO, TD3, and SAC.

  • Performance Superiority: ECAC achieved the highest maximum average return on 8 out of the 10 tasks. For example, on HalfCheetah-v3, ECAC achieved a score of 11744.7 ± 746.9, substantially outperforming TD3 (9492.6) and SAC (9211.6). On the remaining two tasks (Hopper-v3 and HumanoidBulletEnv-v0), it achieved the second-best performance, closely following TD3.
  • Error Reduction: Ablation studies confirmed that explicitly limiting the KL divergence successfully kept the normalized approximation error ($e_Q$) significantly lower and more stable throughout the entire training process compared to an identical setup without the KL constraint.

Limitations and Future Work

Not explicitly discussed in the paper.

Summary updated

BibTeX
@article{gao2021error,
  author = {Xingen Gao and Fei Chao and Changle Zhou and Zhen Ge and Chih-Min Lin and Longzhi Yang and Xiang Chang and Changjing Shang},
  title = {{Error Controlled Actor-Critic}},
  journal = {Information Sciences},
  year = {2021},
  doi = {10.1016/j.ins.2022.08.079},
}
Figure