Abstract
Agents in cyber-physical systems are increasingly entrusted with safety-critical tasks. Ensuring safety of these agents often requires localizing the pose for subsequent actions. Pose estimates can, e.g., be obtained from various combinations of lidar sensors, cameras, and external services such as GPS. Crucially, in safety-critical domains, a rough estimate is insufficient to formally determine safety, i.e., guaranteeing safety even in the worst-case scenario, and external services might additionally not be trustworthy. We address this problem by presenting a certified pose estimation in 3D solely from a camera image and a well-known target geometry. This is realized by formally bounding the pose, which is computed by leveraging recent results from reachability analysis and formal neural network verification. Our experiments demonstrate that our approach efficiently and accurately localizes agents in both synthetic and real-world experiments.
Introduction
In autonomous systems such as self-driving cars or landing drones, precise localization is a fundamental requirement for safety. While current systems often rely on point estimates from GPS, Lidar, or Deep Learning models, these "best guesses" are insufficient for formal safety verification. In safety-critical scenarios, engineers require a mathematical guarantee that the true position and orientation of a robot are contained within a specific boundary. This paper introduces a framework for certified pose estimation that provides such guarantees using only a single camera image and known target geometry.
Problem Statement
Standard localization techniques typically provide a single coordinate estimate with associated uncertainty. However, to formally verify that a robot will avoid obstacles, the worst-case scenario must be known. Existing vision-based methods, particularly those utilizing deep learning, often function as "black boxes" that can fail unpredictably or be vulnerable to adversarial attacks. Furthermore, external services like GPS may be unavailable or untrustworthy in certain environments. This research proposes a "white box" approach where the relationship between the 3D world and 2D pixels is mathematically bounded and verified.
Methodology
The proposed framework treats the camera's projection of a 3D object onto a 2D screen as a mathematical function analyzed through Reachability Analysis.
Set-Based Representation
The researchers utilize matrix polynomial zonotopes to represent sets of possible values. These structures allow for efficient computation of uncertainty sets rather than single points. By formally modeling the pinhole camera projection, the system can determine the set of all 3D poses that could have produced a specific set of 2D pixels.
Two-Phase Algorithm
- Filtering Phase: The system partitions the potential pose space into candidate boxes. It discards any boxes that could not have produced the observed image based on pre-calculated target projections.
- Refinement Phase: The system identifies "witness pixels"—specific image pixels corresponding to the vertices of the 3D object. Using techniques from formal neural network verification, the system "inverts" the camera model to shrink candidate boxes into a tight, certified estimate of the true pose.
Experimental Evaluation
The approach was evaluated in two distinct scenarios:
- Synthetic Landing: A simulated aircraft approaching a runway using standard ICAO markings (e.g., "30R" and touchdown zone stripes). This allowed for testing across various distances and angles.
- Real-World Detection: A dataset of 138 images from an event-based camera (SilkyEvCam) capturing a slow-moving vehicle sign, with ground truth provided by a Vicon motion capture system.
Results and Discussion
Experimental results confirm the soundness of the approach: in 100% of tests, the true pose was contained within the certified set. The refinement step proved highly effective, reducing the uncertainty volume in runway experiments from 4.28% (filter-only) to 0.30%.
Computationally, the online portion of the algorithm runs in approximately 1 to 3 seconds on a standard laptop CPU. While this is efficient for verification, future work aims to optimize the system for real-time applications via GPU acceleration and to handle more complex scenarios involving occlusions or multiple target objects.
Conclusion
By bridging the gap between computer vision and formal methods, this work provides a robust framework for certified perception. The ability to provide mathematical guarantees on pose estimation is a significant step toward the deployment of fully autonomous systems in safety-critical environments.
Summary updated