Are Classification Robustness and Explanation Robustness Really Strongly Correlated? An Analysis Through Input Loss Landscape

Tiejin Chen, Wenwang Huang, Linsey Pang, Dongsheng Luo, Hua Wei

This paper investigates a fundamental assumption in trustworthy AI: if a model is robust to adversarial classification attacks, is it also robust to attacks that try to manipulate its explanations? By diving into the "input loss landscape," the authors uncover a surprising disconnect between these two forms of robustness.

TL;DR

This paper challenges the prevailing belief that classification robustness and explanation robustness are inherently linked. Through a novel training method called SEP, the authors demonstrate that these two properties can be decoupled, revealing that a flatter loss landscape—the hallmark of classification robustness—actually decreases explanation robustness.

What Problem Does This Paper Address?

Deep learning models are notoriously vulnerable to adversarial perturbations—tiny, human-imperceptible changes to an input that cause a model to fail. While much work has focused on classification robustness (keeping the predicted label the same), there is growing concern about explanation robustness (keeping the model's "reasoning," like a saliency map, consistent).

As shown in Figure 1, an attacker can often manipulate a saliency map to look like a completely different target image without changing the model's final prediction.

Example of an adversarial explanation attack.

Previously, researchers assumed these two types of robustness were positively correlated. The intuition was based on the "loss landscape": robust classification models typically have a "flatter" input loss landscape (see Figure 2), making it harder for gradient-based attacks to find successful perturbations. The authors set out to see if this same intuition holds for explanations.

Methods

The authors employ several key techniques to probe this relationship:

  • Clustering-based Evaluation: To efficiently measure explanation robustness across large datasets, they use K-means clustering on high-level image features. This allows them to sample representative "prototype" image pairs for attacks, reducing computational overhead from quadratic to linear.
  • Input Loss Landscape Visualization: They visualize how explanation loss changes as random noise is added to the input, comparing models with different robustness levels.
  • Separate Explanation Robustness via PGD (SEP): This is the paper's core contribution—a training algorithm designed to explicitly control the flatness of the explanation loss landscape. It adds a regularization term, $L_{SEP} = \|I(x + \zeta) - I(x)\|_2^2$, where $I$ is the explanation method and $\zeta$ is random noise. By adjusting a balancing factor $\lambda$, they can force the landscape to be flatter ($\lambda > 0$) or sharper ($\lambda < 0$) without significantly affecting classification performance.

Datasets

The study evaluates its findings across five standard benchmarks:

  • MNIST and Fashion-MNIST (grayscale digits and clothes)
  • CIFAR-10 and CIFAR-100 (natural color images)
  • TinyImageNet (a subset of ImageNet with 200 categories)

They also test across multiple architectures, including ConvNet, ResNet18, Wide ResNet, and MobileNetV2.

Key Insights and Ideas

  • The Decoupling: The most significant "aha moment" is that classification and explanation robustness are not strongly correlated. You can have a model that is highly robust to label-flipping attacks but whose explanations are easily manipulated, and vice versa.
  • The Landscape Paradox: In classification, "flat is good." In explanations, the authors found the opposite: flattening the input loss landscape for explanation loss actually decreases explanation robustness.
  • Initial Difficulty vs. Terrain: The authors hypothesize that explanation robustness doesn't come from a flat terrain that's hard to navigate, but rather from a "high starting wall." Robust explanations often result from the model focusing on very few, specific pixels. This makes the initial difference between a victim and a target explanation very large, making the attack harder to start even if the "landscape" itself is sharp.

Key Results

  • Decoupling in Action: Using their SEP method on CIFAR-10, the authors could vary the explanation attack loss ($L_e^{end}$) significantly while keeping adversarial classification accuracy ($Acc_{adv}$) nearly constant (around 35%).
  • Qualitative Shifts: Figure 7 illustrates how different training methods change what the model "sees." Models with higher explanation robustness (SEP_neg) focus on much narrower, more specific regions of the image compared to standard adversarial training.
Comparison of saliency maps with different training methods.
  • Hessian Analysis: Quantitative analysis of the loss landscape's curvature (eigenvalues of the Hessian matrix) confirmed that their SEP method successfully manipulated the landscape as intended, further proving that a flatter landscape does not equate to a more robust explanation.

Limitations and Future Work

The authors acknowledge that while they have demonstrated that these properties are decoupled, the exact underlying mechanism of why adversarial training sometimes improves explanation robustness remains a bit of a mystery.

Future work aims to:

  1. Theoretically investigate the mechanisms that differentiate classification and explanation robustness.
  2. Explore other domains beyond image classification to see if this decoupling is a universal property of deep neural networks.
  3. Develop new defense strategies that can simultaneously optimize for both types of robustness without the trade-offs observed in this study.

Summary updated

BibTeX
@misc{chen2024are,
  author = {Tiejin Chen and Wenwang Huang and Linsey Pang and Dongsheng Luo and Hua Wei},
  title = {{Are Classification Robustness and Explanation Robustness Really Strongly Correlated? An Analysis Through Input Loss Landscape}},
  year = {2024},
  eprint = {2403.06013},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.06013},
}
Figure