Value constrained model-free continuous control

Steven Bohez, Abbas Abdolmaleki, Michael Neunert, Jonas Buchli, Nicolas Heess, Raia HadsellarXiv 2019

Abstract

DeepMind researchers have introduced a novel framework for training robotic agents that prioritizes smoothness and energy efficiency without compromising task performance. By reformulating reinforcement learning as a constrained optimization problem—specifically a Constrained Markov Decision Process (CMDP)—the proposed method allows agents to maximize rewards while keeping operational costs, such as battery consumption or mechanical wear, below defined thresholds. This approach eliminates the need for manual reward shaping and produces policies that are significantly safer and more efficient for real-world hardware deployment.

The Challenge of Continuous Control

In standard Reinforcement Learning (RL), agents typically maximize a single scalar reward. In continuous control tasks, such as locomotion, this often results in bang-bang control, where the agent rapidly oscillates between maximum positive and negative actuator forces to achieve the highest score. While effective in simulation, these high-frequency oscillations cause excessive wear and tear, drain power, and can damage physical robot joints.

Traditionally, researchers mitigate this by manually adding effort penalties to the reward function. However, finding the optimal balance between task success and movement smoothness requires exhaustive hyperparameter tuning for every new environment.

Value Constrained Reinforcement Learning

The authors propose a Value Constrained approach that treats the problem as a CMDP. The objective is to minimize a cost (e.g., control effort) while ensuring the expected reward remains above a specific success threshold. Key innovations include:

  • Lagrangian Relaxation: An automated "multiplier" ($\lambda$) balances the task and the constraints. If the agent fails the task, $\lambda$ increases to prioritize success; once the threshold is met, $\lambda$ decreases to focus on energy conservation.
  • Point-wise Constraints: Unlike methods that only constrain average episode costs, this approach uses state-dependent multipliers to enforce smoothness at every time step.
  • Goal-Conditioned Policies: A single neural network is trained to handle varying constraint levels, allowing dynamic adjustment of behavior (e.g., walking at different speeds with maximum efficiency).
  • MPO Integration: The framework is built upon Maximum a Posteriori Policy Optimisation (MPO), ensuring stable off-policy learning.

Experimental Domains

The researchers evaluated their approach across three distinct domains to test its versatility and robustness.

The four experimental environments used: (a) Cart-pole, (b) Humanoid, (c) Minitaur quadruped, and (d) Sawyer robot arm.
  1. DM Control Suite: Standard benchmarks including Cart-pole swingup and Humanoid locomotion.
  2. Minitaur Locomotion: A high-fidelity simulation of a quadruped robot, utilizing domain randomization (varying gravity and friction) to prepare for real-world transfer.
  3. Real-World Sawyer Robot: A 7-degree-of-freedom arm tasked with reaching targets while maintaining a "visibility constraint"—keeping a held object within the camera's field of view.

Results and Impact

The value-constrained approach demonstrated significant improvements in both efficiency and control quality. In the Humanoid stand task, the method reduced control penalties by 80% compared to traditional reward-shaping, while maintaining identical success rates. On the Minitaur quadruped, the agent achieved more accurate velocity tracking with lower power usage and reduced overshoot.

Comparison of action signals over time for the Cart-pole task. The constrained approach (red/green) produces significantly smoother control signals compared to the high-frequency oscillations of standard RL (blue).

As shown in the Cart-pole action plots, the constrained policy effectively suppresses the "bang-bang" behavior, leading to a much more stable and hardware-friendly control signal. On the real-world Sawyer robot, the agent successfully navigated obstacles while maintaining a 95% visibility rate of its target, proving the method's efficacy for complex, visually-defined constraints.

Conclusion

By shifting from reward-shaping to constrained optimization, this research provides a more principled way to train robots for the real world. While future work is needed to improve the performance of goal-conditioned policies outside their training ranges, this framework marks a major step toward autonomous systems that are both high-performing and mechanically sustainable.

Summary updated

BibTeX
@misc{bohez2019value,
  author = {Steven Bohez and Abbas Abdolmaleki and Michael Neunert and Jonas Buchli and Nicolas Heess and Raia Hadsell},
  title = {{Value constrained model-free continuous control}},
  year = {2019},
  eprint = {1902.04623},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.04623},
}
Figure