Abstract: A counter-intuitive property of convolutional neural networks (CNNs) is their inherent susceptibility to adversarial examples, which severely hinders the application of CNNs in security-critical fields. Adversarial examples are similar to original examples but contain malicious perturbations. Adversarial training is a simple and effective defense method to improve the robustness of CNNs to adversarial examples. The mechanisms behind adversarial examples and adversarial training are worth exploring. Therefore, this work investigates similarities and differences between normally trained CNNs (NT-CNNs) and adversarially trained CNNs (AT-CNNs) in information extraction from the mutual information perspective. We show that 1) whether NT-CNNs or AT-CNNs, for original and adversarial examples, the trends towards mutual information are almost similar throughout training; 2) compared with normal training, adversarial training is more difficult and the amount of information that AT-CNNs extract from the input is less; 3) the CNNs trained with different methods have different preferences for certain types of information; NT-CNNs tend to extract texture-based information from the input, while AT-CNNs prefer to shape-based information. The reason why adversarial examples mislead CNNs may be that they contain more texture-based information about other classes. Furthermore, we also analyze the mutual information estimators used in this work and find that they outline the geometric properties of the middle layer's output.
Introduction
Deep learning models are notoriously fragile: a tiny, human-invisible perturbation—an "adversarial example"—can flip a model's prediction from "panda" to "gibbon." While Adversarial Training (AT)—training on these malicious examples—is a proven defense, the fundamental mechanisms of how it alters a network's internal representation remain poorly understood. This research applies the Information Bottleneck (IB) principle to quantify how much information about the input ($X$) and the target label ($Y$) is preserved in hidden layers ($T_i$), comparing normally trained CNNs (NT-CNNs) and adversarially trained ones (AT-CNNs).
Quantifying Information Flow
To peek inside the "black box," the researchers employed two primary methods to estimate Mutual Information (MI) in deterministic networks: Kernel Density Estimation (KDE), which treats activations as continuous by injecting Gaussian noise during estimation, and the Binning Method, which discretizes activation values into empirical distributions.
The study utilized three standard benchmarks—MNIST, CIFAR-10, and STL-10—testing architectures like LeNet-5 and WideResNet. By measuring $I(T_i; X)$ and $I(T_i; Y)$, the authors could track how information is compressed and preserved as it moves through the network layers.
The Texture-Shape Dichotomy
The paper's central finding is a fundamental shift in feature preference. Normal CNNs are "texture hounds," relying heavily on local statistical regularities. Adversarial attacks exploit this by injecting "malicious textures" that point to incorrect classes. Conversely, adversarial training forces the network to ignore these fickle textures and rely on more stable, global shapes.
To verify this, the researchers used two specific image distortions:
- Saturation Adjustment: High saturation preserves shapes but distorts fine textures.
- Patch-Shuffling: Breaking an image into $k \times k$ patches and shuffling them destroys global shape while preserving local textures.
Key Results and Insights
- AT-CNNs are "Information-Lean": AT-CNNs extract less information from the input ($I(T_i; X)$) than normal networks. By being more selective and "forgetting" more of the input, they become less susceptible to adversarial noise.
- Robustness Trade-off: AT-CNNs show significantly higher accuracy on adversarial examples but slightly lower accuracy on clean data, a trade-off clearly visible through the information-theoretic lens.
- Sensitivity to Shuffling: When patches were shuffled (destroying shape), the performance of AT-CNNs plummeted much faster than NT-CNNs, proving their heavy reliance on global structure.
- Saturation Resilience: AT-CNNs remained much more stable when image saturation was increased, whereas NT-CNNs saw a sharper decline in performance as textures were distorted.
- Geometric Interpretation: High $I(T_i; Y)$ corresponds to tight, well-separated clusters for different classes in the hidden space, while low $I(T_i; X)$ reflects a more compressed representation of the input.
Conclusion
This work demonstrates that adversarial training is not just a data augmentation technique but a process that fundamentally shifts the network's inductive bias from texture to shape. While AT-CNNs face a more difficult optimization task—evidenced by a "lagging" advancement in mutual information during training—the resulting models are more selective and robust. Future work will focus on more sophisticated MI estimators and exploring these information-theoretic signatures for real-time adversarial detection.
Summary updated