Releasing Inequality Phenomena in L∞-Adversarial Training via Input Gradient Distillation

Junxi Chen, Junhao Dong, Xiaohua Xie · DOI

TL;DR

This paper introduces Input Gradient Distillation (IGD), a novel method to mitigate the "inequality phenomenon" in $l_\infty$-adversarial training. IGD helps $l_\infty$-adversarially trained models become more robust to common perturbations like noise and occlusion, without sacrificing their defense against adversarial attacks.

What Problem Does This Paper Address?

Adversarial training, particularly $l_\infty$-adversarial training ($l_\infty$-AT), is a leading defense against adversarial attacks that subtly alter inputs to fool deep neural networks. However, a recent study revealed a critical flaw: $l_\infty$-AT can lead to an "inequality phenomenon." This means the model's internal "attribution maps" (which highlight important input features) become highly uneven, with only a few pixels having disproportionately high influence. This unevenness makes the model surprisingly vulnerable to common, non-adversarial perturbations like random noise or occlusions, even when these perturbations target pixels that the model itself deems important. This vulnerability can be exploited by practical black-box attacks. The paper aims to address this by releasing the inequality phenomenon, thereby improving robustness against these common perturbations while maintaining the strong adversarial robustness gained from $l_\infty$-AT.

Methods

The core of the proposed solution is Input Gradient Distillation (IGD). IGD works by using a standard-trained model (the "teacher") as a source of guidance. Standard-trained models, unlike their $l_\infty$-adversarially trained counterparts, tend to have more evenly distributed input gradients. IGD distills this "equal decision pattern" from the teacher to the $l_\infty$-adversarially trained student model.

Specifically, IGD aligns the input gradients of the student model with those of the teacher model using Cosine Similarity. This alignment is incorporated as a loss term during the adversarial training process. The intuition is that by encouraging the student model's input gradients to mimic the more uniform distribution of the teacher's, the inequality phenomenon is suppressed. The overall loss function combines the standard cross-entropy loss for adversarial training with this new alignment loss.

Datasets

The paper uses two datasets for training and evaluation:

  • CIFAR100: A dataset of 60,000 RGB images (32x32 pixels) across 100 classes.
  • ImageNet-100: A 100-class subset of ImageNet, with higher resolution images (resized to 224x224 pixels).

They also use ImageNet-C for evaluating robustness against common corruptions.

Key Insights and Ideas

  • The "Inequality Phenomenon" is a Real Threat: The paper strongly reinforces that the uneven attribution maps in $l_\infty$-AT aren't just an academic curiosity; they create tangible vulnerabilities to practical attacks.
  • Standard Models Hold the Key: Standardly trained models, despite being less robust to adversarial attacks, possess a desirable property: more uniform input gradients. This uniformity is what IGD leverages.
  • Cosine Similarity is Crucial: The choice of Cosine Similarity for aligning gradients is key. It aligns the direction of gradients without drastically altering their norm, which is important for preserving adversarial robustness.
  • Resolution Matters: The severity of the inequality phenomenon and its threats appears to be correlated with image resolution, being more pronounced on higher-resolution datasets like ImageNet-100.
  • Theoretical Underpinnings: The authors provide a theoretical framework linking the Gini value of input gradients to the deviation of class scores, explaining why more equal gradients lead to better robustness.

Key Results

  • Improved Robustness to Noise and Occlusion: IGD significantly reduces error rates against inductive noise (up to 60%) and inductive occlusion (up to 16%) on ImageNet-100 compared to standard $l_\infty$-AT (PGDAT).
  • Mitigation of ImageNet-C Corruptions: Error rates on ImageNet-C were reduced by up to 21.11% compared to the baseline.
  • Preserved Adversarial Robustness: While improving robustness to common perturbations, IGD only caused a minor drop (1-2%) in adversarial accuracy on ImageNet-100 and CIFAR100.
  • Visual Evidence: Visualizations of attribution maps clearly show that IGD-trained models have more evenly distributed "warm" (high attribution) pixels compared to baseline $l_\infty$-AT models.
  • Theoretical Validation: Empirical results align with theoretical analysis, showing that IGD's approach effectively reduces class score deviation and improves robustness.

Limitations and Future Work

  • Regional Inequality: IGD is effective at releasing global inequality but less so for regional inequality, meaning important pixels might still cluster within specific areas.
  • Low-Resolution Datasets: The benefits of IGD are less pronounced on low-resolution datasets like CIFAR100, suggesting the inequality phenomenon itself is less severe there. The authors hypothesize this is due to smaller gaps in Gini values and other factors like classification confidence.
  • Teacher Model Overhead: While IGD is presented as effective, the need for a separate standard-trained teacher model adds some computational overhead. The authors explore theoretical avenues to potentially discard the teacher model in the future.
  • Broader Applicability: The paper suggests investigating the inequality phenomenon and IGD's applicability to other machine learning techniques beyond $l_\infty$-AT.

Summary updated

Abstract

Since adversarial examples appeared and showed the catastrophic degradation they brought to DNN, many adversarial defense methods have been devised, among which adversarial training is considered the most effective. However, a recent work showed the inequality phenomena in $l_{\infty}$-adversarial training and revealed that the $l_{\infty}$-adversarially trained model is vulnerable when a few important pixels are perturbed by i.i.d. noise or occluded. In this paper, we propose a simple yet effective method called Input Gradient Distillation (IGD) to release the inequality phenomena in $l_{\infty}$-adversarial training. Experiments show that while preserving the model's adversarial robustness, compared to PGDAT, IGD decreases the $l_{\infty}$-adversarially trained model's error rate to inductive noise and inductive occlusion by up to 60\% and 16.53\%, and to noisy images in Imagenet-C by up to 21.11\%. Moreover, we formally explain why the equality of the model's saliency map can improve such robustness.
BibTeX
@article{chen2025releasing,
  author = {Junxi Chen and Junhao Dong and Xiaohua Xie},
  title = {{Releasing Inequality Phenomena in L∞-Adversarial Training via Input Gradient Distillation}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2025},
  doi = {10.1109/tifs.2025.3573121},
}
Figure