Abstract
Many real-world reinforcement learning (RL) applications, particularly in robotics and industrial control, require agents to maximize performance while strictly adhering to safety or resource constraints. We present Learning Preferences and Policies in Parallel (LP3), a high-level framework that treats environment rewards and costs as distinct objectives. By decoupling policy optimization from preference learning, LP3 can find diverse sets of constraint-satisfying policies and handle complex trade-offs where traditional Lagrangian methods fail. Our evaluation across high-dimensional locomotion and safety benchmarks demonstrates that LP3 achieves superior performance, stability, and sample efficiency.
Introduction
The standard approach to constrained RL is to model the problem as a Constrained Markov Decision Process (CMDP) and solve it using Lagrangian relaxation. This method transforms constraints into penalties with weights (Lagrange multipliers) that are updated during training. However, this approach has three major flaws: it cannot find optimal solutions on concave Pareto fronts due to its reliance on linear scalarization; it assumes fixed constraint thresholds are known a priori; and it is often unstable due to the difficulty of balancing policy and multiplier learning rates.
The LP3 Framework
LP3 reframes constrained RL as a multi-objective optimization problem. The framework consists of two interacting modules that operate in parallel:
- Module 1 (Policy Learning): Learns a control policy based on current "preferences" (the relative importance of the task reward versus specific constraints). Instead of simple linear sums, this module can utilize advanced optimizers like Multi-Objective Maximum a Posteriori Optimization (MO-MPO), which are robust to varying reward scales.
- Module 2 (Preference Learning): Learns which preferences actually lead to constraint satisfaction in the environment.
By choosing different implementations for these modules, we can derive several algorithms. For instance, LP3 [MO-MPO-D] learns a probability distribution over preferences. This allows the agent to learn a complete set of policies—representing different trade-offs between performance and safety—in a single training run.
Key Insights and Results
Overcoming the Limits of Linear Scalarization
A critical insight of this work is that constrained RL is often Multi-Objective RL in disguise. Traditional methods (LP3 [LS]) rely on linear scalarization, which mathematically fails to find solutions on the concave portions of a trade-off curve. In tasks like Humanoid Walk, the trade-off between speed and energy cost is concave. As shown in our results, linear methods get "stuck" at the extremes, whereas MO-MPO-based variants successfully navigate the middle ground to find balanced, high-performing policies.
Performance and Efficiency
LP3 was evaluated across a diverse range of benchmarks, including the DeepMind Control Suite, OpenAI Safety Gym, and the Real World RL (RWRL) suite.
- Superior Rewards: On the RWRL benchmark, LP3 [MO-MPO-D] significantly outperformed state-of-the-art baselines like MetaL and D4PG-Lagrangian in both task reward and cost management.
- Sample Efficiency: In complex robotic manipulation tasks, such as a Sawyer arm avoiding collisions, LP3 converged to optimal solutions in half the training steps required by traditional Lagrangian baselines.
- Robustness: The framework proved capable of solving toy domains (e.g., Schaffer and Fonseca-Fleming functions) where linear scalarization fails completely to identify the Pareto front.
Conclusion
The LP3 framework provides a robust and flexible foundation for constrained RL. By treating constraints as objectives and learning distributions over preferences, it enables the discovery of diverse, safe, and high-performing policies. This diversity is particularly valuable for real-world deployment, where engineers may need to select from a range of validated trade-offs after training is complete. Future work will explore scaling the framework to handle dozens of simultaneous constraints and validating performance on physical robotic hardware.
Summary updated