TL;DR
Deep reinforcement learning (RL) is notoriously plagued by high run-to-run variance, where different random seeds can yield completely different behaviors despite identical training configurations. This paper introduces the framework of behavior-consistent RL and proposes Q-value Expectile Disagreement (QED), an adaptive entropy-tuning method that reduces cross-run policy divergence by up to two orders of magnitude while maintaining high performance.
What Problem Does This Paper Address?
Standard deep RL algorithms focus almost exclusively on maximizing expected returns. However, minor variations in random initialization, data ordering, or environment stochasticity often cause independent training runs to converge to wildly different policies.
Even when two training runs achieve similar final rewards, their underlying behaviors, failure modes, and robustness profiles can be completely distinct. This lack of consistency makes iterative reward design, debugging, and safety validation highly unreliable for real-world deployments. If an engineer updates a reward function and sees a behavioral change, they cannot easily tell if it was caused by the code modification or simply by a lucky random seed.
Methods
The authors build their solution on Maximum Entropy (MaxEnt) RL, which regularizes policies toward a uniform prior. They prove theoretically that for Boltzmann policies, scaling the temperature parameter in proportion to the disagreement between action-value ($Q$) functions mathematically bounds the pairwise KL divergence between policies from different runs.
To translate this theory into a practical, single-run algorithm, they introduce Q-value Expectile Disagreement (QED). QED addresses two major practical hurdles:
- Cross-run proxy: A single training run cannot access the $Q$-functions of other independent runs. QED solves this by using the standard double-critic setup (two parallel $Q$-networks trained on shared data) as a single-run proxy for cross-run disagreement.
- Extrapolation errors: Taking a hard maximum disagreement over all possible actions can cause the algorithm to chase adversarial function-approximation errors. Instead, QED computes an upper expectile ($\tau = 0.9$) of the absolute difference between the two critics under the current policy.
This state-dependent temperature schedule keeps entropy high when the critics disagree (early in training or in highly uncertain states) and cools down as the estimates converge. Because high entropy can amplify off-policy bootstrapping errors, the authors integrate QED into two stable base architectures designed to handle distribution shifts: Soft Actor-Critic with Layer Normalization (SAC-LN) and Model-Augmented Data Soft-Actor Critic (MAD-SAC).
Datasets
The authors evaluated QED across 18 continuous-control tasks from the standard DeepMind Control (dm_control) suite (including tasks such as cheetah_run, walker_walk, and hopper_hop). While no new environments were introduced, the evaluation protocol uniquely measures on-policy inter-run variability across 10 independent random seeds.
Key Insights and Ideas
- Entropy as an Anchor: MaxEnt RL provides a natural mechanism for behavioral consistency because it shrinks the policy space toward a common, uniform reference prior.
- The Single-Run Proxy: Remarkably, the disagreement between two critics trained within a single run serves as an excellent statistical predictor for the disagreement observed between entirely independent training runs ($R^2 = 0.77$).
- The High-Entropy Trap: Simply cranking up a fixed entropy bonus to force consistency backfires. High entropy widens policy support, forcing the critic to evaluate out-of-distribution actions. This triggers a value-divergence spiral and training collapse, meaning consistency requires adaptive tuning paired with robust off-policy stabilization.
Key Results
- Two Orders of Magnitude Reduction: Across the 18 benchmark tasks, QED successfully reduced the pairwise KL divergence between independent training runs by up to two orders of magnitude compared to standard entropy autotuning.
- Slashed Return Variance: By enforcing behavioral consistency, QED reduced return variance by approximately 50% when paired with the MAD-SAC framework.
- Qualitative Alignment: Visually, independent runs trained with QED exhibit highly synchronized behavioral strategies (e.g., all agents executing the exact same wide jump at the start of a locomotion task), whereas baseline runs display completely distinct gaits.
Limitations and Future Work
A key limitation of QED is its reliance on pointwise $Q$-estimates; in complex environments, critic disagreement can take a long time to vanish, slowing down sample efficiency. Furthermore, higher-dimensional tasks reveal a more pronounced trade-off between performance and similarity, where KL divergence values sometimes remain above 1.
The authors note that future work should focus on ensuring consistent behavior over very long horizons and exploring the broader question of when behavioral diversity across runs should be preserved versus eliminated.
Summary updated