TL;DR
Standard off-policy reinforcement learning (RL) suffers from training instability when an agent's exploration strategy diverges from its target policy. This paper removes the restrictive divergence constraints typically placed on optimistic exploration policies by using an adapted Distribution Correction Estimation (DICE) framework to reweight sample distributions for both actors and critics. The resulting approach achieves higher sample efficiency and performance across challenging continuous control benchmarks.
What Problem Does This Paper Address?
In off-policy actor-critic RL, agents maintain a replay buffer of past interactions to improve data efficiency. To explore effectively, algorithms often follow the principle of Optimism in the Face of Uncertainty (OFU)—for example, Optimistic Actor-Critic (OAC) trains a separate optimistic exploration policy ($\pi_E$) using an upper confidence bound of the $Q$-function, while maintaining a conservative target policy ($\pi_T$) for evaluation.
However, computing faithful policy gradients theoretically requires state-action samples drawn from the current target policy's distribution ($d^{\pi_T}$). Sampling directly from an off-policy replay buffer introduces severe distribution shift—a mismatch amplified when an aggressive, separate exploration policy is collecting the data. Prior methods handled this trade-off by constraining the Kullback–Leibler (KL) divergence between $\pi_E$ and $\pi_T$. Unfortunately, this handcuffs the exploration policy, preventing it from executing potentially high-value actions that the conservative target policy spuriously underestimates.
Methods
The authors introduce a framework that permits unconstrained optimistic exploration by explicitly estimating and correcting the state-action distribution mismatch:
[ Replay Buffer D ] ───► [ DICE Optimization ] ───► Learned Weights ζ(s, a)
│
┌───────────────────────────────────────────────┴───────────────────────────────┐
▼ ▼ ▼
Target Actor (πT, Q_LB) Exploration Actor (πE, Q_UB) Critics (Q1, Q2)
- Unconstrained Optimistic Exploration: $\pi_E$ maximizes an approximate Upper Confidence Bound ($\hat{Q}_{\text{UB}} = \mu_Q + \beta_{\text{UB}}\sigma_Q$) without any KL-divergence constraint to the target policy $\pi_T$, which maximizes a Lower Confidence Bound ($\hat{Q}_{\text{LB}} = \mu_Q - \beta_{\text{LB}}\sigma_Q$).
- Distribution Correction via Adapted DICE: The stationary distribution ratio $\zeta^*(s, a) = \frac{d^{\pi_T}(s, a)}{d^D(s, a)}$ is estimated by solving a min-max linear program from the DICE literature. Because DICE was originally developed for static Off-Policy Evaluation (OPE), three crucial modifications were introduced to stabilize it for online RL:
- Omitting the initial state value term: The term $\mathbb{E}_{s_0, a_0}[\nu(s_0, a_0)]$ is removed to avoid pathologically low values early in training when replay buffer coverage is sparse.
- Absolute Bellman error: Adding an absolute value operator $|\mathcal{B}^{\pi_T}\nu - \nu|$ keeps $\zeta$ positive without artificial projections.
- Double regularization: Setting both regularization parameters $\alpha_\nu > 0$ and $\alpha_\zeta > 0$ simultaneously stabilizes min-max saddle-point optimization.
- Distribution-Corrected Objectives: The temperature-normalized weights $\tilde{\zeta}(s, a)$ are applied to the policy gradient objectives of both $\pi_T$ and $\pi_E$, as well as to the Bellman error loss for the twin $Q$-critics.
Datasets
The authors evaluate their approach on five standard continuous control benchmark environments from MuJoCo:
Ant-v2Humanoid-v2Walker2d-v2HalfCheetah-v2Hopper-v2
No new datasets or environments were introduced.
Key Insights and Ideas
- Correction over Constraint: Rather than forcing the exploration policy to stay close to the conservative target policy, it is far more effective to let exploration run freely and correct the distribution shift downstream via importance weights.
- DICE Works in Dynamic Online Settings: DICE was designed for static offline evaluation. This work shows that with proper regularizations, DICE can track non-stationary replay distributions and evolving policies in real time.
- Dual Estimator Validation: When using the learned $\zeta(s, a)$ inside an off-policy dual estimator to predict average per-step rewards, the estimate closely tracks the true on-policy evaluation rewards across training, verifying that the learned density ratios are accurate.
- Reweighting Critics Matters: Ablation reveals that weighting only the actor objectives is insufficient; correcting the state-action distribution in the critic's Bellman loss is critical (especially in high-dimensional tasks like
Ant-v2).
Key Results
- Superior Benchmark Performance: Evaluated over 5 random seeds, the proposed method consistently outperformed SAC and OAC on four out of five tasks (
Ant-v2,Humanoid-v2,Walker2d-v2, andHopper-v2), while matching OAC onHalfCheetah-v2. - A Strong Generic Plug-in: Adding the DICE distribution correction module alone to baseline algorithms (e.g.,
OAC + DICEandSAC + DICE) yielded notable performance gains on tasks likeHumanoid-v2andWalker2d-v2without extra hyperparameter tuning. - Ablation Evidence: Completely removing DICE correction (
No DICE) caused immediate performance degradation across all tasks, confirming that unconstrained optimistic exploration requires explicit distribution correction to avoid instability.
Limitations and Future Work
- Algorithmic Complexity & Overhead: The framework requires training three additional networks/variables ($\nu$, $\zeta$, and $\lambda$) alongside the standard twin critics and dual actors, increasing per-iteration compute.
- Heuristic Bias in DICE Optimization: Modifying the original DICE formulation (e.g., dropping the initial state expectation and using absolute Bellman error) introduces theoretical bias into the density ratio estimation, even if it provides empirical stability.
- Hyperparameter Sensitivity: The method introduces additional tuning knobs, including exploration/conservatism weights ($\beta_{\text{UB}}, \beta_{\text{LB}}$) and the softmax temperature $T$ (though authors noted $T \ge 3.0$ generally remains stable).
- Future Directions: The authors suggest exploring even more aggressive, non-UCB exploration strategies now that distribution correction relieves the need for proximity constraints.
Summary updated