TL;DR
This paper introduces Conformal Safety Shielding, a novel framework that provides rigorous safety guarantees for autonomous agents that rely on "imperfect" neural network perception. By combining formal shielding techniques with conformal prediction, the authors ensure that an agent only takes actions that are safe across a statistically guaranteed set of possible states, effectively bridging the gap between black-box AI and formal safety methods.
What Problem Does This Paper Address?
Modern autonomous systems (like self-driving cars or taxiing aircraft) often use Deep Neural Networks (DNNs) to "perceive" their environment—for example, estimating their position on a runway from a camera feed. However, DNNs are notoriously prone to errors, a phenomenon the authors call imperfect perception.
Traditional safety methods use a "shield"—a runtime monitor that blocks unsafe actions. The problem is that most existing shields assume the agent knows its exact state. If the perception is wrong, the shield might allow a catastrophic action based on a false premise. While some methods attempt to model sensor noise mathematically, doing so for high-dimensional inputs like images is often impossible. This paper seeks a way to provide safety guarantees without needing a perfect mathematical model of the camera or the neural network’s internal logic.
Methods
The authors propose a two-stage pipeline:
- Conformalization: Instead of asking a DNN for a single state estimate (e.g., "I am exactly 1 meter off-center"), they use Conformal Prediction. This technique produces a set of possible states. Based on a small calibration dataset, this set is mathematically guaranteed to contain the true state with a user-defined probability (e.g., 99%).
- Shielding across Sets: The authors first synthesize a "perfect-perception shield" using standard Markov Decision Process (MDP) model checking. Then, they "conformalize" it: the agent is only allowed to take an action if that action is deemed safe for every single state in the predicted conformal set.
Additionally, the paper provides a new theoretical contribution: a proof for the global safety of shielded agents over a finite time horizon, bounding the total probability of failure for the entire mission.
Datasets
The researchers evaluated their approach using a simulated Autonomous Airplane Taxiing case study:
- Environment: A Turtlebot4 robot simulated in Gazebo, tasked with following a centerline on a taxiway using an RGB camera.
- Data: A dataset of 5,500 images capturing various positions (cross-track error) and angles (heading error).
- Split: 60% for training the perception DNN, 10% for validation, 15% for the conformal calibration (crucial for the safety guarantees), and 15% for testing.
Key Insights and Ideas
- Model-Agnostic Safety: The beauty of using conformal prediction is that you don't need to model why the DNN fails or the physics of the camera. You only need a representative calibration dataset to establish the statistical bounds.
- The "Stuck" Trade-off: A major insight is the tension between safety and progress. As you demand higher confidence (a higher safety probability), the conformal set grows larger. Eventually, the set might become so large that the shield finds no action that is safe for every possibility, causing the agent to become "stuck."
- Local vs. Global: While the shield provides "local" safety (the next step is safe), the authors emphasize that global safety (the whole path is safe) is the ultimate goal. They show that even with perfect perception, shields can lead agents into "stuck" states depending on the environment's topology.
Key Results
- Failure Reduction: The conformal shield significantly outperformed baseline models that assumed perfect perception, drastically reducing the probability of the agent reaching a "fail" state (crashing or leaving the taxiway).
- Parameter Sensitivity: Increasing the confidence level ($\alpha'$) from 0.95 to 0.995 successfully lowered failure rates but predictably increased the probability of the agent getting stuck.
- Efficiency: The framework is computationally viable for real-time use. Model checking for a 30-step horizon took between 0.2 and 1.5 seconds, depending on the complexity of the state sets.
Limitations and Future Work
- Handling "Stuck" States: Currently, when the shield finds no safe action, the agent simply stops. Future work is needed to integrate "failsafe" behaviors, such as handing control back to a human or taking a new sensor reading.
- Distribution Shift: Conformal guarantees rely on the assumption that the deployment environment matches the calibration data. If the lighting or weather changes drastically, the safety guarantees may no longer hold.
- Global Proof for Imperfect Perception: While the authors proved global safety for perfect-perception shields, extending this formal proof to the imperfect (conformal) case remains a goal for future research.
Summary updated