Abstract
Deep neural networks (DNNs) often function as "black boxes," making it difficult to diagnose why they fail, especially under adversarial attacks. This paper introduces a framework that uses human-understandable semantic attributes (e.g., "red belly," "pointed tail") to explain misclassifications. By mapping image features to an attribute space and grounding these predictions spatially, the authors demonstrate that adversarial training promotes semantic consistency. While standard models are easily manipulated into "seeing" incorrect attributes, robust models maintain a stable semantic logic even when perturbed.
The Interpretability Gap in Adversarial Attacks
Traditional interpretability tools, such as saliency maps, often fail to distinguish between a correctly classified image and an adversarially perturbed one. A model might identify a bird correctly in a clean image but misclassify a nearly identical-looking adversarial version. In both cases, the saliency map might highlight the same pixels, offering no insight into the model's change in "reasoning."
The authors argue that humans identify objects through semantic features. For instance, a "Painted Bunting" is recognized by its blue head and red belly. As shown in Figure 1, adversarial noise can systematically shift a standard model's internal representation, causing it to predict attributes belonging to a different class entirely.
Methodology: Prediction and Grounding
To analyze these failures, the researchers developed a two-step framework:
- Attribute Prediction: Using Structured Joint Embeddings (SJE), the model maps image features into a semantic attribute space. Instead of a simple class label, the output is a vector of predicted attributes.
- Attribute Grounding: To verify the model's logic, a pre-trained Faster R-CNN "grounds" these attributes back to specific image regions. This ensures the model is actually looking at the relevant part of the object (e.g., the wing when predicting "red wing") rather than relying on background noise.
The study also introduces the Robust Ratio ($R$), a metric quantifying the accuracy recovery provided by robust classifiers under noise.
Key Insights: Semantic Shifts and Consistency
The framework was tested on three benchmark datasets: Animals with Attributes 2 (AwA2), the Large Attribute Dataset (LAD), and Caltech UCSD Birds (CUB).
Adversarial Attacks as Semantic Shifts
In standard networks, adversarial noise is not merely random; it is a targeted semantic shift. The model genuinely "sees" the attributes of the target class in the noise. Conversely, adversarially robust networks maintain semantic consistency. Even under attack, their predicted attributes remain aligned with the ground truth, suggesting that adversarial training forces the model to rely on stable, semantically meaningful features.
The Granularity Paradox
An unexpected finding was that fine-grained datasets (like CUB) are easier to robustify than coarse-grained ones (like AwA2). In fine-grained domains, classes share many common attributes. To force a misclassification, an attacker must manipulate a large number of attributes simultaneously. In coarse datasets, changing just a few key features is often sufficient to trigger a class jump.
Experimental Results
On the CUB dataset, a standard classifier's accuracy dropped from 81% to 31% under a mild attack ($\epsilon = 0.01$). The attribute-based robust model was significantly more resilient, improving accuracy by approximately 31% over the standard model under attack. For the coarser AwA2 dataset, the improvement was roughly 21%. Qualitative grounding further confirmed that robust networks correctly identify physical features in adversarial images, whereas standard networks often focus on irrelevant background pixels.
Limitations and Future Work
While effective, the current framework focuses on attacks targeting the classifier rather than the attribute predictor itself. Future research could explore "double-targeted" attacks designed to flip both the class and the semantic explanation. Additionally, the reliance on pre-defined attribute lists limits applicability in new domains, highlighting a need for automated attribute discovery methods.
Summary updated