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

Learning Certifiably Robust Controllers Using Fragile Perception

Dawei Sun, Negin Musavi, Geir E. Dullerud, Sanjay Shakkottai, Sayan MitraarXiv 2022

Abstract

Advances in computer vision and machine learning enable robots to perceive their surroundings in powerful new ways, but these perception modules have well-known fragilities. We consider the problem of synthesizing a safe controller that is robust despite perception errors. The proposed method constructs a state estimator based on Gaussian processes with input-dependent noises. This estimator computes a high-confidence set for the actual state given a perceived state. Then, a robust neural network controller is synthesized that can provably handle the state uncertainty. Furthermore, an adaptive sampling algorithm is proposed to jointly improve the estimator and controller. Simulation experiments, including a realistic vision-based lane-keeping example in CARLA, illustrate the promise of the proposed approach in synthesizing robust controllers with deep-learning-based perception.

Introduction

Modern robotics increasingly relies on deep learning for perception tasks, such as lane detection or object classification. However, these perception modules are often "fragile," exhibiting state-dependent biases and overconfidence in errors, especially when encountering out-of-distribution data. Traditional control theory typically assumes sensor noise is independent and identically distributed, which fails to capture the complexity of modern perception errors. This research addresses the challenge of designing controllers that are certifiably robust against these non-linear, complex perception failures.

Methodology

The proposed framework bridges the gap between unreliable perception and formal safety guarantees through a three-part architecture:

  1. Set-Valued State Estimator: Instead of point estimates, the system employs Gaussian Processes (GP) with heteroscedastic (input-dependent) noise. For any perceived state, the GP generates a high-confidence ellipsoid—a "safety bubble"—statistically likely to contain the true state.
  2. Robust Controller and Certificate Synthesis: The authors extend Control Barrier Functions (CBFs) to handle uncertainty sets. They simultaneously train two neural networks: a controller ($\pi$) and a barrier function ($h$). The training objective minimizes safety violations across the entire uncertainty ellipsoid.
  3. Adaptive Sampling: To improve sample efficiency, the algorithm identifies "hard samples"—regions where the current controller cannot guarantee safety—and focuses data collection there.
The proposed framework architecture (left) and the joint training loop with adaptive sampling (right).

Experiments and Results

The framework was evaluated on three benchmarks: a Dubins Vehicle with synthetic non-linear noise, a Cart-Pole system with distorted velocity perception, and a high-fidelity CARLA simulator for vision-based lane-keeping.

The primary performance metric is the unsafe ratio, representing the percentage of trajectories resulting in safety violations. Key findings include:

  • Sample Efficiency: Adaptive sampling significantly outperformed uniform sampling. In the Dubins vehicle benchmark, near-zero violations were achieved with approximately 400 samples, whereas uniform sampling still failed frequently at 600 samples.
  • Robustness: In the CARLA lane-keeping task, the robust controller successfully navigated the lane by accounting for potential perception errors, while a baseline controller that ignored uncertainty failed frequently.
Visualization of adaptive sampling density, showing how the algorithm focuses on safety-critical regions.

Discussion and Conclusion

A core insight of this work is that perception does not need to be perfect everywhere; it only needs to be precise near safety boundaries. By focusing the "learning budget" on these critical regions via adaptive sampling, the system achieves high robustness with fewer data points.

While promising, the approach has limitations. The safety guarantees are probabilistic, tied to the GP's confidence level. Additionally, standard GPs face scalability issues with very large datasets, suggesting a need for approximate GP methods in more complex applications. Future work will also focus on extending these state-wise safety guarantees to continuous trajectory-level guarantees.

Summary updated

BibTeX
@misc{sun2022learning,
  author = {Dawei Sun and Negin Musavi and Geir E. Dullerud and Sanjay Shakkottai and Sayan Mitra},
  title = {{Learning Certifiably Robust Controllers Using Fragile Perception}},
  year = {2022},
  eprint = {2209.11328},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.11328},
}
Figure