TL;DR
This paper introduces the first "coupled" robustness verification framework for heatmap-based keypoint detectors, which evaluates the collective behavior of all keypoints simultaneously rather than checking each independently. By formulating verification as a Mixed-Integer Linear Program (MILP) with joint specifications, the method provides mathematically sound safety guarantees that align directly with downstream task requirements like pose estimation. Experimental results demonstrate significantly higher verified robustness rates compared to traditional decoupled approaches, especially under strict error thresholds.
What Problem Does This Paper Address?
Keypoint detection—identifying specific landmarks on an object, like the nose of an airplane or the joints of a human body—is crucial for downstream tasks like 3D reconstruction and autonomous navigation. Modern keypoint detectors rely heavily on deep neural networks, making them notoriously vulnerable to adversarial noise, lighting changes, or minor occlusions.
While formal verification tools exist to prove the robustness of image classifiers, verifying keypoint detectors is significantly harder. This difficulty stems from high-dimensional inputs and continuous coordinate outputs, typically extracted by applying an argmax operation over a predicted likelihood heatmap.
Prior verification attempts "decoupled" the problem, verifying the maximum allowable deviation for each keypoint independently. However, downstream tasks like pose estimation care about the joint error across all keypoints. Treating keypoints independently leads to overly conservative guarantees, frequently failing to certify models that are practically robust.
Methods
The authors propose a coupled verification framework that treats the network's collective output as a single joint specification.
- Reachable Set Estimation: The framework takes a set of perturbed images (represented as a convex hull) and computes an over-approximation of the backbone network's output heatmaps using a compact geometric representation called a zonotope.
- Joint Specification Polytope: Instead of independent bounding boxes, allowable keypoint deviations are defined collectively as a polytope ($\delta\mathcal{V}$), capturing the interdependencies required by downstream tasks.
- MILP Formulation (Falsification): The core verification problem is framed as a falsification task using a Mixed-Integer Linear Program (MILP). The MILP searches for a counterexample: a valid heatmap within the reachable set whose maximum activation falls outside the allowable joint specification polytope. If the MILP is infeasible, the model is formally certified as robust.
- Dynamic Indexing: To bridge the continuous coordinate space and the discrete heatmap pixel space within the MILP, the authors use a "Big-M" optimization approach to dynamically index and check pixel maximality based on coordinate deviations.
- Pruning Strategies: To prevent the MILP from becoming computationally intractable, the authors introduce a pruning method that eliminates impossible in-bound and out-of-bound pixel indices based on interval arithmetic bounds.
Datasets
The method was evaluated on an airplane pose estimation dataset consisting of:
- 7,320 RGB images of airplanes with 23 strategically placed keypoints.
- Input images resized to $64 \times 64 \times 3$ for a 39-layer CNN backbone.
- Perturbation sets: 200 randomly selected seed images subjected to both local object occlusions (using 40 realistic airport-themed semantic patches like personnel and vehicles) and global perturbations (brightness and contrast variations).
Key Insights and Ideas
- Collective Behavior Tames Conservativeness: The primary "aha" moment is that keypoint errors cancel out or bound each other when viewed through the lens of downstream tasks. By coupling the specifications, the verifier can approve models that independent checkers would reject.
- Soundness Guaranteed: The method is mathematically sound. If the MILP solver concludes that no counterexample exists within the over-approximated reachable set, the keypoint detector is guaranteed to be robust against any perturbation within the input space.
- Pruning is Essential for Scalability: Without pruning, the dynamic indexing problem introduces too many binary variables. Pruning reduces the problem size by up to three orders of magnitude for non-overlapping local perturbations, making MILP solving practical.
Key Results
- High Verified Rates: Under a standard tolerance threshold ($\alpha = 1.0$), the coupled approach achieved a 97.0% to 99.5% verified rate on non-overlapping local perturbations, closely matching the empirical testing rate (100%).
- Success Where Decoupled Methods Fail: Under stricter accuracy requirements ($\alpha \le 0.5$), the decoupled baseline completely failed, yielding a 0% verified rate. In contrast, the proposed coupled method maintained high verified rates (e.g., 98.0% to 100% at $\alpha = 0.5$).
- Vulnerability to Direct Overlap: The verified rate dropped more sharply when perturbations directly overlapped with the airplane (Table 2 in the paper), confirming that the network is highly sensitive to corruptions on the target object itself rather than the background.
Limitations and Future Work
The main limitation is the conservativeness of the reachable set over-approximation. Under very strict output specifications ($\alpha = 0.1$), a noticeable gap remains between the verified robustness rate and the empirical testing rate. This happens because the zonotope covers "impossible" network states, leading the MILP to find false counterexamples.
Future work will focus on developing tighter reachability approximations and more scalable verification strategies to extend this coupled approach to larger, more complex keypoint detection architectures.
Summary updated