In deep reinforcement learning (DRL), reusing "off-policy" data—trajectories generated by older versions of a policy—is a standard practice to improve sample efficiency. However, standard policy gradient methods struggle with this data reuse. If the current policy deviates too far from the behavior policy that collected the data, gradient estimates become high-variance and unstable, often leading to premature convergence.
This paper introduces Divergence-Augmented Policy Optimization (DAPO), a framework designed to stabilize off-policy reinforcement learning by borrowing principles from convex optimization.
The Problem with Existing Regularization
A common fix for premature convergence is Entropy Regularization, which adds a bonus to the objective function to encourage "randomness" or exploration. However, this approach has a major downside: it fundamentally changes the learning objective. Instead of finding the optimal strategy, the agent finds a strategy that is "optimal plus some noise." In complex environments, this can prevent the agent from ever truly mastering a task.
Divergence-Augmented Policy Optimization (DAPO)
To address these limitations, the authors propose DAPO, rooted in the classical optimization technique of Mirror Descent.
- State-Action Divergence: Most algorithms (like TRPO or PPO) constrain the policy change at a specific state. DAPO goes further by considering the Bregman divergence over the joint state-action distribution. The algorithm penalizes updates that would lead the agent to entirely different, unexplored parts of the environment relative to the behavior policy.
- Divergence Augmentation: Mathematically, this mirror descent approach is equivalent to a standard policy gradient but with an "augmented" advantage function. A divergence term is subtracted from the reward, effectively penalizing the agent for taking actions that stray too far from the "safe" behavior policy.
- Multi-step Estimation: To handle the "state" part of the distribution, the authors develop a multi-step estimator (similar to V-trace) that accounts for how policy changes today affect state distributions in the future.
- PPO+DA: The authors provide a practical implementation combining their Divergence Augmentation (DA) with the popular Proximal Policy Optimization (PPO) algorithm.
Unlike entropy regularization, which shifts the goalpost of what "optimal" looks like, DAPO acts as a proximal constraint. It guides the path to the optimum without changing the final destination. Furthermore, by adding KL divergence regularization, the authors show they can effectively bound the bias introduced by ignoring the notoriously difficult-to-estimate "state density ratio."
Experimental Results
The researchers evaluated DAPO using the Arcade Learning Environment (ALE) on 58 Atari 2600 games. They focused on a "data-scarce" setup where the speed of generating new samples is limited, forcing the agent to rely heavily on reused off-policy data.
DAPO significantly outperformed standard PPO on the majority of the 58 Atari games when data reuse was high. The "PPO+DA" variant showed dramatic improvements over baseline PPO in games like Video Pinball (781% improvement) and Qbert (894% improvement) relative to human/random baselines.
Crucially, the experiments proved that "multi-step" divergence (looking into the future) is much more effective than "1-step" divergence (looking only at the current state). By considering the divergence over future states, the algorithm provides a tighter constraint on policy changes, encouraging systematic exploration rather than unstable jumps in behavior. This is particularly evident in complex games like Enduro that require long-term planning.
Limitations and Future Work
While DAPO successfully controls the bias from omitting state distribution ratios using KL regularization, some bias inherently remains. Finding a more principled way to incorporate these ratios without adding massive computational overhead is an open challenge. Additionally, performance can be sensitive to hyperparameters like the learning rate and regularization weight. Finally, while the paper focused primarily on KL divergence, the authors suggest that exploring other Bregman functions, such as 0-potential or Tsallis entropy, might yield even better results for specific types of exploration in future research.
Summary updated