Improving Adversarial Robustness via Mutual Information Estimation

Dawei Zhou, Nannan Wang, Xinbo Gao, Bo Han, Xiaoyu Wang, Yibing Zhan, Tongliang Liu

Introduction

Deep neural networks (DNNs) are notoriously vulnerable to adversarial noise—tiny, human-imperceptible perturbations that can trick a world-class classifier into making completely incorrect predictions. While Adversarial Training (training on these poisoned samples) is a standard defense, it often fails to explicitly manage the dependence between the model's output and the specific patterns in the input.

This paper introduces NAMID (Natural-Adversarial Mutual Information-based Defense), a novel framework that improves deep neural network robustness by disentangling how a model "listens" to its input. By using information theory to maximize the model's dependence on natural semantic patterns while minimizing its dependence on adversarial noise, NAMID achieves superior performance against a wide battery of state-of-the-art attacks.

What Problem Does This Paper Address?

From an information theory perspective, an adversarial image contains two overlapping signals: the natural pattern (the actual object) and the adversarial pattern (the malicious noise).

Standard Mutual Information (MI)—a measure of how much one variable tells you about another—gets "confused" because it treats these two signals as one. If you simply try to maximize the MI between an adversarial input and the output, you might accidentally train the model to rely more on the noise, making it even more vulnerable.

Conceptual difference between Standard, Natural, and Adversarial Mutual Information.

The authors argue that to truly secure a model, we must stop treating the input as a single block of information and instead separate the objective semantics from the malicious perturbations.

Methods: The NAMID Framework

The core innovation of NAMID is the theoretical and practical disentanglement of Mutual Information into two distinct components:

  1. Natural MI ($I_N$): The dependence of the output on the original, clean features.
  2. Adversarial MI ($I_A$): The dependence of the output on the adversarial noise.

The Algorithm

The authors prove mathematically that standard MI can be approximated as the sum of Natural MI and Adversarial MI. Because MI is notoriously hard to calculate for high-dimensional data like images, they utilize neural network-based estimators (inspired by MINE and Deep InfoMax).

The NAMID framework architecture.

As shown in the framework above, they train two separate estimator networks ($E_{\phi_n}$ and $E_{\phi_a}$) to track these two types of MI. During training, the model is pushed to:

  • Maximize Natural MI: Force the model to pay more attention to objective semantics.
  • Minimize Adversarial MI: Force the model to ignore the patterns that cause prediction flips.

The final objective combines a standard adversarial training loss (like Cross-Entropy) with a specialized MI-based loss ($L_{mi}$) that uses cosine similarity to align the model's internal representations with "clean" features.

Key Insights and Results

The researchers evaluated their method on standard computer vision benchmarks, including CIFAR-10 and Tiny-ImageNet, testing against a massive array of attacks like PGD (Projected Gradient Descent), AutoAttack (AA), FWA, and TI-DIM.

  • The "Confused" Dependence: The authors confirmed that adversarial samples naturally have higher adversarial MI and lower natural MI than clean samples. This validates the premise that attacks work by hijacking the model's attention.
  • Robustness Gains: NAMID consistently outperformed standard Adversarial Training (AT) and other heavyweights like TRADES and MART. On CIFAR-10, NAMID improved accuracy against the PGD-40 attack by ~5.7% compared to standard adversarial training.
  • White-Box and Black-Box Superiority: Under the rigorous AutoAttack (AA), NAMID maintained higher accuracy than baselines, showing it learns fundamentally robust features rather than just obfuscating gradients. It also proved highly effective against transfer attacks in black-box scenarios.
  • Clean Accuracy: Importantly, these gains in robustness came with very little "tax" on clean image accuracy, avoiding a common trade-off in adversarial defense.

Limitations and Future Work

While highly effective, training NAMID requires maintaining and updating two additional MI estimation networks alongside the main classifier. This increases the memory footprint and training time compared to simpler methods. Additionally, the method introduces new hyperparameters that balance the MI loss components, requiring careful tuning for different architectures.

Future work will likely explore more efficient MI estimation mechanisms and test the framework against adaptive attacks specifically designed to target the MI estimators themselves.

Summary updated

BibTeX
@inproceedings{zhou2022improving,
  author = {Dawei Zhou and Nannan Wang and Xinbo Gao and Bo Han and Xiaoyu Wang and Yibing Zhan and Tongliang Liu},
  title = {{Improving Adversarial Robustness via Mutual Information Estimation}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=vLZI0SBpno},
}
Figure