Bidirectional Soft Actor-Critic: Leveraging Forward and Reverse KL Divergence for Efficient Reinforcement Learning

Wenbo Ding (丁文伯), Yixian Zhang, Huaze Tang, Changxu Wei, Wenbo DingarXiv 2025 · DOI

Abstract

Standard Soft Actor-Critic (SAC) algorithms often suffer from unstable policy updates due to the "pathological curvature" of reverse Kullback-Leibler (KL) divergence. We present Bidirectional SAC, a novel framework that combines the stability of forward KL divergence with the refinement capabilities of reverse KL. By utilizing a value decomposition architecture (VDN-a) to efficiently compute forward KL projections in high-dimensional spaces, Bidirectional SAC achieves superior sample efficiency and up to 30% higher rewards on complex continuous control benchmarks like MuJoCo and Brax.

Introduction

In Maximum Entropy Reinforcement Learning, the objective is to find a policy that maximizes both expected reward and entropy. The state-of-the-art Soft Actor-Critic (SAC) algorithm achieves this by minimizing the reverse KL divergence between the agent's policy and a target Boltzmann distribution derived from the Q-function.

However, the reverse KL objective is notoriously difficult to optimize. Because the target distribution is intractable, SAC relies on gradient-based approximations that can be highly unstable. This leads to poor sample efficiency and convergence failures, as the agent attempts to "chase" a complex target distribution using noisy, high-variance steps. Bidirectional SAC addresses this by introducing a stable "warm start" via forward KL divergence.

Methods

Forward KL for Stability

Unlike reverse KL, minimizing the forward KL divergence for Gaussian policies yields an explicit mathematical solution: the optimal policy parameters are the mean and variance of the target Boltzmann distribution (moment matching). This provides a more stable, holistic approximation of the target distribution compared to the "mode-seeking" nature of reverse KL.

VDN-a: Value Decomposition for Actions

To calculate these moments efficiently in high-dimensional action spaces, the authors introduce VDN-a (Value Decomposition Network for Actions). This architecture treats each action dimension as an individual component and decomposes the global Q-function into marginal components. This decomposition makes the multidimensional integration required for the forward KL update computationally tractable, bypassing the curse of dimensionality.

The VDN-a architecture decomposes the global Q-function into action-specific subnetworks, enabling efficient marginal integration for the forward KL update.

The Bidirectional Objective

The algorithm follows a two-stage update process. First, it initializes the policy update using the explicit forward KL projection. Second, it refines this policy using the standard reverse KL gradient. This "anchored optimization" combines the global stability of forward KL with the monotonic improvement guarantees of reverse KL, preventing the gradient descent process from wandering into unstable regions.

Conceptual comparison of policy optimization. Bidirectional SAC (red) optimizes within the neighborhood of the explicit forward KL projection (blue), avoiding the unstable paths often taken by pure reverse KL (green).

Results and Key Insights

Bidirectional SAC was evaluated on standard continuous control benchmarks, including MuJoCo, Box2D, and Brax.

  • Performance and Efficiency: The algorithm outperformed standard SAC and other baselines (PPO, DDPG) across almost all tasks. In complex environments like Humanoid, it achieved a 30% increase in episodic rewards. Furthermore, it converged significantly faster due to the stable initialization provided by the forward KL projection.
  • Robustness: Qualitative analysis of policy distributions showed that Bidirectional SAC’s policy much more closely resembles the true target Boltzmann distribution compared to the distorted policies often produced by standard SAC.
  • Cross-Pollination: A key insight of the paper is the clever use of Value Decomposition Networks—typically a multi-agent RL technique—within a single-agent context to solve the integration challenges of forward KL.

Conclusion

Bidirectional SAC offers a "best of both worlds" approach to policy optimization. While the VDN-a architecture and numerical integration add some computational overhead, the resulting gains in stability and sample efficiency are substantial. Future work may explore more direct policy projection methods or refine the VDN-a approximation for highly coupled action spaces.

Summary updated

BibTeX
@misc{2025bidirectional,
  author = {Wenbo Ding (丁文伯) and Yixian Zhang and Huaze Tang and Changxu Wei and Wenbo Ding},
  title = {{Bidirectional Soft Actor-Critic: Leveraging Forward and Reverse KL Divergence for Efficient Reinforcement Learning}},
  year = {2025},
  eprint = {2506.01639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.01639},
}
Figure