NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Safe Learning in Robotics: From Learning-Based Control to Safe Reinforcement Learning

Lukas Brunke, Melissa Greeff, Adam W. Hall, Zhaocong Yuan, Siqi Zhou, Jacopo Panerati, Angela P. Schoellig · DOI

Introduction

Deploying autonomous robots in real-world environments presents a fundamental tension between performance and safety. Traditional control theory provides rigorous mathematical guarantees for stability and constraint satisfaction but often relies on precise physical models, leading to conservative behavior in complex, uncertain environments. Conversely, Reinforcement Learning (RL) enables robots to discover sophisticated behaviors through data-driven exploration but frequently lacks formal safety mechanisms, often resulting in catastrophic failures during the learning process.

This paper addresses the "Safe Learning" challenge: integrating the adaptive capabilities of machine learning with the formal safety frameworks of control theory. By unifying these historically distinct fields under an optimization-based perspective, the authors provide a roadmap for achieving safe robot autonomy.

Methodology: Three Pillars of Safe Learning

The landscape of safe learning is categorized into three primary strategic approaches, each balancing model-based priors with data-driven adaptation:

  1. Learning Uncertain Dynamics: Building upon control-theoretic foundations like Robust Model Predictive Control (MPC), these methods use machine learning (e.g., Gaussian Processes) to model the "residual" or unknown components of a robot's dynamics. This allows for reduced conservatism as more data is collected while maintaining formal stability proofs.
  2. Encouraging Safety in RL: These methods modify the RL objective by incorporating Constrained MDPs (CMDPs) or risk-aware cost functions. While they improve safety during exploration, they typically provide "soft" guarantees rather than hard mathematical certainties.
  3. Certifying Learning-Based Control: This "wrapper" approach pairs a high-performing agent with a modular Safety Filter (e.g., Control Barrier Functions). The filter monitors commands and overrides them only when a violation of the safe operating region is imminent.
A comparison of model-driven, data-driven, and combined approaches to safe learning, highlighting their respective benefits and challenges.

Benchmarking with safe-control-gym

A significant hurdle in safe learning research has been the lack of common benchmarks. Control researchers and RL researchers often use disparate environments, making direct comparison difficult. To bridge this gap, the authors introduced safe-control-gym, an open-source suite featuring:

  • Standardized Environments: Includes Cart-Pole and Quadrotor systems for stabilization and tracking tasks.
  • Unified API: Provides symbolic nominal models for control and an OpenAI Gym interface for RL.
  • Explicit Constraints: Unlike standard RL benchmarks, it incorporates real-world physical constraints, such as motor voltage limits and spatial boundaries.

Key Insights: The Safety Spectrum

Safety in robotics is not a binary state but a spectrum of guarantees. The authors define three distinct levels of safety:

  • Level I (Soft Constraints): Safety is encouraged via penalties in the reward function, allowing for occasional minimal violations.
  • Level II (Probabilistic Constraints): Safety is maintained with high probability, accounting for distribution-based uncertainties.
  • Level III (Hard Constraints): Safety is mathematically guaranteed, ensuring no violations occur under defined assumptions.
The safety spectrum ranging from soft constraints (Level I) to hard mathematical guarantees (Level III).

Another critical insight is the Modular Advantage of safety filters. By decoupling the "brain" (the RL policy) from the "shield" (the safety certificate), researchers can improve performance without re-engineering the safety architecture.

Key Results and Performance

The efficacy of these approaches was demonstrated through several proof-of-concept experiments:

  • GP-MPC vs. Linear MPC: In quadrotor tasks with significant model error (50% mass error), standard MPC failed immediately. GP-MPC learned the dynamics error within 80 seconds of flight, achieving stable and safe performance.
  • Safe Exploration: A PPO agent equipped with a safety layer achieved nearly zero constraint violations during training in a cart-pole environment, whereas standard PPO violated constraints thousands of times.
  • Predictive Safety Filtering: Model Predictive Safety Certification (MPSC) successfully prevented even random, untrained policies from exiting the safe operating region.

Future Directions

Despite significant advances, several challenges remain for real-world deployment:

  • Complex and Hybrid Dynamics: Current proofs struggle with systems involving contact (e.g., legged robots) or significant time delays.
  • Perception-Based Safety: Integrating high-dimensional, noisy sensor data (like vision) into formal safety proofs remains an open research area.
  • Scalability: Formal methods often face the "curse of dimensionality," limiting their application to high-degree-of-freedom systems like humanoids.
  • Assumption Verification: The validity of safety guarantees depends on underlying assumptions (e.g., Lipschitz continuity), which are difficult to verify in real-time.

Summary updated

BibTeX
@article{brunke2022safe,
  author = {Lukas Brunke and Melissa Greeff and Adam W. Hall and Zhaocong Yuan and Siqi Zhou and Jacopo Panerati and Angela P. Schoellig},
  title = {{Safe Learning in Robotics: From Learning-Based Control to Safe Reinforcement Learning}},
  journal = {Annu. Rev. Control. Robotics Auton. Syst.},
  year = {2022},
  doi = {10.1146/annurev-control-042920-020211},
}
Figure