Interpolated Joint Space Adversarial Training for Robust and Generalizable Defenses

Chun Pong Lau, Jiang Liu, Hossein Souri, Wei-An Lin, Soheil Feizi, Rama Chellappa

TL;DR

Researchers have developed Interpolated Joint Space Adversarial Training (IJSAT), a defense mechanism that protects neural networks by simulating attacks in both pixel space and the data's underlying "latent" manifold simultaneously. By combining this "joint space" attack with a novel Robust Mixup strategy, the framework achieves a superior balance between standard accuracy, robustness to known attacks, and generalization to entirely unseen threats.

What Problem Does This Paper Address?

Adversarial Training (AT) is the gold standard for defending deep learning models, but it comes with two major "taxes":

  1. The Accuracy Tax: Models trained to be robust often perform significantly worse on clean, uncorrupted data.
  2. The Generalization Gap: A model trained to resist a specific pixel-level attack (like PGD) is often still vulnerable to "unseen" attacks, such as JPEG compression artifacts or geometric transformations.

Recent attempts to fix this have used "on-manifold" attacks—perturbing the latent representation of an image rather than just its pixels. However, these methods often rely on GANs (which can't perfectly reconstruct images) or require complex mathematical relaxations. The authors aim to bridge this gap by creating a threat model that is comprehensive, mathematically exact, and easy to optimize.

Methods

The authors introduce three core components to build their defense:

  • Joint Space Threat Model (JSTM): Instead of choosing between attacking pixels or the latent manifold, JSTM does both. It perturbs the image in the latent space (changing semantic features) and the image space (adding pixel noise) in a single adversarial sample.
  • Normalizing Flows (Glow): To ensure the "Exact Manifold Assumption," the authors use an invertible generative model called Glow. Unlike GANs, Glow allows for a bi-directional mapping: any image can be converted into a latent vector and back again perfectly. This allows the attack to precisely manipulate the "true" manifold of the data.
  • Robust Mixup: Standard "Mixup" (interpolating between two images and their labels) improves accuracy but can weaken robustness because the resulting images aren't "adversarial" enough. Robust Mixup solves this by explicitly maximizing the loss on these interpolated images during training, forcing the model to learn robust features even in the "gaps" between data points.

The final algorithm, IJSAT, integrates these by performing a Joint Space Attack on interpolated images during every training step.

Datasets

The framework was evaluated on several standard and specialized benchmarks:

  • CIFAR-10 & CIFAR-100: The standard benchmarks for image classification robustness.
  • CIFAR-10-C: A dataset of images with 15 common corruptions (blur, snow, etc.) used to test generalization.
  • OM-ImageNet (On-Manifold ImageNet): A subset of ImageNet images projected onto a manifold using StyleGAN to ensure they have valid latent representations.

Key Insights and Ideas

  • The "Exact" Manifold Matters: The authors show that using an invertible Flow-based model is significantly better than using a GAN for defense. Because GANs can't perfectly reconstruct an image, "on-manifold" attacks based on GANs often lose fine details, making the resulting defense less effective against real-world, off-manifold images.
  • Synergy of Spaces: Attacking the latent space helps the model generalize to "semantic" changes, while attacking the pixel space maintains defense against high-frequency noise. Doing both simultaneously creates a "wider" defense.
  • Overcoming Robust Overfitting: A common issue in AT is "robust overfitting," where the model's defense suddenly crashes late in training. The authors found that their Robust Mixup strategy acts as a powerful regularizer, preventing this crash and maintaining high robustness throughout the training process.

Key Results

  • Superior Generalization: On CIFAR-10, IJSAT achieved an average robustness of 49.25% across six different attack types (including PGD, Auto-Attack, and Elastic transformations), outperforming standard AT (45.01%) and specialized defenses like TRADES (49.13%) and MART (47.67%).
  • Better Accuracy/Robustness Trade-off: IJSAT maintained a standard accuracy of 83.16% on CIFAR-10, which is higher than TRADES (82.86%) while offering comparable or better robustness.
  • Corruption Resistance: On the CIFAR-10-C benchmark, IJSAT achieved 84.6% accuracy, the highest among all tested methods, proving it generalizes well to common real-world image corruptions.
  • Visual Interpretability: Using Class Activation Maps (CAM), the authors showed that models trained with IJSAT focus more on the actual semantic object (e.g., the face of a leopard) compared to standard models, which often focus on spurious background pixels.

Limitations and Future Work

  • Generative Model Dependency: The method's success relies heavily on the quality of the pre-trained Normalizing Flow (Glow). If the Flow model doesn't capture the data distribution well, the "on-manifold" part of the attack will be weak.
  • Computational Overhead: Performing joint attacks in two spaces plus interpolation adds to the training time compared to simple PGD training.
  • Future Direction: The authors suggest moving away from external generative models entirely. Instead, future work could explore using the internal feature maps of the classifier itself as a "latent space" to generate manifold-aware perturbations, potentially simplifying the pipeline.

Summary updated

BibTeX
@article{lau2023interpolated,
  author = {Chun Pong Lau and Jiang Liu and Hossein Souri and Wei-An Lin and Soheil Feizi and Rama Chellappa},
  title = {{Interpolated Joint Space Adversarial Training for Robust and Generalizable Defenses}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3286772},
}
Figure