Abstract
Deep neural networks are often criticized as "black boxes," leading to the development of interpretability methods like Class Activation Mapping (CAM) to explain their decisions. However, these explanations are notoriously fragile and can be manipulated by adversarial perturbations. This paper introduces CORGI (Certifiably prOvable Robustness Guarantees for Interpretability mapping), the first framework to provide mathematical guarantees for the stability of CAM explanations. CORGI ensures that the most significant pixels in an explanation map remain consistent even when the input image is subjected to small adversarial perturbations.
Introduction
In safety-critical domains such as autonomous driving, understanding why a model makes a specific prediction is as important as the prediction itself. Interpretability methods like CAM highlight the pixels (e.g., the white stripe on a "No Entry" sign) that most influence a model's output. Recent studies have shown that an attacker can apply visually imperceptible noise to an image that leaves the classification unchanged but completely scrambles the explanation map. While significant progress has been made in certifying the robustness of model predictions, providing similar guarantees for the interpretations themselves has remained an open challenge.
Methodology: The CORGI Framework
CORGI operates by providing a lower bound on the perturbation radius within which an explanation is guaranteed to remain stable. The framework consists of three primary components:
- Bounding CAM Values: Using CNN-Cert, CORGI calculates interval bounds (minimum and maximum possible values) for neurons in the final convolutional layer under a perturbation radius $\delta$. These bounds are propagated through Global Average Pooling and Fully Connected layers to derive lower ($L$) and upper ($U$) bounds for every pixel in the resulting CAM map.
- Certifying the Top-$k$ Saliency: The core safety condition requires that the set of the $k$ most important pixels (the saliency map) does not change. CORGI certifies an explanation if the lowest possible value of any pixel in the original top-$k$ set remains greater than the highest possible value of any pixel outside that set.
- Binary Search for Maximum Radius: The algorithm employs a binary search to identify the largest possible radius $r$ that satisfies the certification condition.
Additionally, the authors introduce a Relaxed Top-$k$ metric, which allows for minor pixel rank swaps as long as the original top-$k$ pixels remain within a slightly larger set of top-$k_2$ pixels, reflecting that small shifts often preserve semantic meaning.
Experimental Evaluation
The framework was evaluated using the German Traffic Sign Recognition Benchmark (GTSRB), a dataset of over 50,000 traffic sign images across 43 classes. This choice highlights the practical utility of CORGI for autonomous vehicle safety.
Key Insights and Results
Interpretability vs. Classification Robustness
A significant finding is that interpretability robustness is generally harder to achieve than classification robustness. CORGI's certified bounds are typically smaller than standard classification bounds, suggesting that maintaining a consistent internal reasoning process is a stricter constraint for a network than simply outputting the correct label.
The "CAM Gap"
The robustness of an explanation is highly correlated with the "gap" between the $k$-th and $(k+1)$-th most important pixels. Models that are more "decisive" about which features are important naturally exhibit higher robustness to explanation-scrambling attacks.
Proximity to State-of-the-Art
In robustness research, attacks provide an upper bound (UB) on safety, while certificates provide a lower bound (LB). CORGI’s certified lower bounds were found to be only 4-5x smaller than the upper bounds produced by empirical adversarial attacks. This indicates that the CORGI certificate is relatively tight and provides a realistic measure of interpretability safety.
Conclusion and Future Work
CORGI represents a major step toward trustworthy AI by providing the first meaningful lower bounds for CAM robustness. However, limitations remain: the framework is currently optimized for specific CAM-compatible architectures and faces scalability challenges with high-resolution images. Future research will focus on extending these certificates to other popular interpretability methods, such as Grad-CAM and Integrated Gradients, and improving computational efficiency for larger-scale models.
Summary updated