TL;DR
This paper introduces "Certified Control," a novel safety architecture for autonomous vehicles that significantly reduces the complexity of formal verification. By shifting the burden of complex perception and decision-making to the main controller and having a simple, verifiable monitor check a "certificate" of safety, it dramatically shrinks the trusted base, making end-to-end safety guarantees more achievable.
What Problem Does This Paper Address?
Autonomous vehicles (AVs) promise a revolution in transportation, but widespread adoption hinges on a high level of safety and, crucially, justifiable confidence in that safety. Traditional safety architectures often struggle with the complexity of modern AV systems, particularly those employing machine learning for perception and control. Verifying these complex systems is prohibitively expensive and often infeasible. The paper highlights the challenge of verifying the perception systems, which are typically the most complex and error-prone components, and argues that traditional runtime monitors, while useful, cannot simultaneously achieve the necessary properties of verifiability, tolerance, and sensitivity in this domain.
Methods
The core innovation is the Certified Control architecture. Instead of a traditional monitor that performs its own perception and analysis, this architecture introduces a certified control monitor. The main controller is responsible for:
- Generating a Certificate: This certificate is a piece of evidence that the proposed action is safe. It includes the proposed action, signed sensor data, and optional interpretive data.
- Exploiting the "Find vs. Check" Gap: The controller, with its sophisticated algorithms (including ML), is tasked with finding the evidence for safety. The monitor, which is kept small and simple, is only responsible for checking this evidence.
This approach leverages four key computer science ideas:
- The gap between finding and checking: Complex tasks are delegated to the controller, while simple verification is handled by the monitor.
- Small trusted base: The monitor and low-level hardware form a small, verifiable trusted base, reducing the overall verification effort.
- Authentication: Sensor data is signed to ensure its integrity during transmission.
- End-to-end safety cases: The architecture supports formal safety arguments that are checked at runtime.
The paper illustrates this with a LiDAR-based certificate for snow filtering and a visual lane detection certificate.
Datasets
Not discussed in the paper. The experiments utilized a 1/10th scale remote-controlled car and simulated environments. For the visual lane detection, they used the Comma2k19 dataset.
Key Insights and Ideas
- Decoupling Perception from Verification: The most significant insight is that by separating the complex perception and decision-making from the safety-critical verification process, the problem becomes tractable. The monitor doesn't need to understand how the controller arrived at a safe decision, only that the controller has provided sufficient evidence for it.
- Certificates as Runtime Safety Cases: The certificate acts as a dynamic, runtime instantiation of a safety case, providing concrete evidence that a specific action is safe under the current conditions.
- Shrinking the Trusted Base Dramatically: The paper demonstrates that the code for the monitor can be orders of magnitude smaller than the controller code responsible for generating the certificate. This is crucial for achieving formal verification.
- LiDAR for Physical Properties, Vision for Social Conventions: The LiDAR certificate leverages the physical properties of obstacles, while the vision certificate addresses more abstract concepts like lane lines, highlighting the different strengths and weaknesses of sensor modalities.
Key Results
- Reduced Trusted Base: In the LiDAR snow filtering example, the monitor code was approximately 70 times smaller than the controller code responsible for certificate generation.
- Formal Verification Achieved: The LiDAR monitor code was formally verified, demonstrating the feasibility of this approach for critical components.
- Plausible Behavior: Experiments showed that the certified control system could exhibit reasonable tolerance and sensitivity, correctly identifying unsafe situations (e.g., obstacles in snow) and allowing safe passage when conditions permitted.
- Detection of Failures: The visual lane detection monitor successfully identified lane detection failures in real-world data, even when the primary system eventually corrected itself.
- Authentication Overhead: Timing experiments showed that while full public-key encryption for sensor data authentication is too slow, simpler hashing schemes or Edwards curves are viable.
Limitations and Future Work
- Justifiable Design Assumption: The architecture assumes that the main controller's design can be justified by a logical safety case, which is challenging for end-to-end machine learning systems.
- Dynamic Checking: While the paper focuses on static checking of certificates, dynamic checking and probabilistic approaches are suggested for more complex scenarios.
- Time Independence: Certificates are currently evaluated independently. Future work could involve accumulating evidence across frames for more robust detection.
- Determinism: Introducing probabilistic components to certificate interpretation is a potential area for improvement.
- Single Sensor Limitation: The current design primarily uses sensors from the main controller. Allowing the monitor to access an additional sensor could enhance robustness.
- LiDAR Certificate Limitations: The LiDAR certificate primarily focuses on obstacle shape and size, not necessarily their inherent danger. It also struggles with very thin or inclined obstacles.
- Vision Certificate Limitations: The visual lane detection certificate is less trustworthy than LiDAR due to the abstract nature of lane lines as social conventions. It can be affected by obstructed or poorly painted lane lines.
- Ground Plane Detector Robustness: The ground plane detector in the combined vision-LiDAR approach is not robust to steeply sloped roads or uneven surfaces.
- Trusted Base for Ground Plane: The ground plane detection algorithm itself is currently considered part of the trusted base, as it's too complex to verify. Future work aims to address this by having the controller prove the validity of its suggested ground plane.
Summary updated