Provable Unrestricted Adversarial Training Without Compromise With Generalizability

Lilin Zhang, Ning Yang, Yanchao Sun, Philip S. Yu

TL;DR

PUAT (Provable Unrestricted Adversarial Training) is a novel framework that defends against both restricted and unrestricted adversarial attacks without the typical drop in standard accuracy. By leveraging a triple-GAN architecture to align natural and adversarial data distributions, it theoretically and empirically eliminates the long-standing trade-off between robustness and generalizability.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial examples (AEs)—inputs specifically crafted to fool a model while remaining imperceptible to humans. Most current defense strategies, like Adversarial Training (AT), focus on Restricted Adversarial Examples (RAEs), which are created by adding tiny, norm-bounded perturbations to existing images.

However, two major hurdles remain:

  1. Unrestricted Adversarial Examples (UAEs): These are "built from scratch" and don't follow strict norm constraints, making them more dangerous and harder to detect. Conventional AT often fails against them.
  2. The Robustness-Accuracy Trade-off: Improving a model's robustness against attacks usually comes at the cost of its "standard generalizability"—its accuracy on clean, natural images.
Illustration of RAEs vs. UAEs. RAEs (purple stars) are near observed examples, while UAEs (red stars) can be far from observed data but still look natural (gray dots).

Methods

The authors propose PUAT, which treats UAEs as "imperceptibly perturbed unobserved examples." To implement this, they introduce a sophisticated architecture called a G-C-D GAN (an augmented triple-GAN):

  • Generator (G): Learns to produce plausible natural samples from noise.
  • Classifier (C): The target model being trained. It provides pseudo-labels for unlabeled data to help the discriminator.
  • Discriminator (D): Learns to distinguish between real natural images and those generated by G or pseudo-labeled by C.
  • Attacker (A): Works with the generator to find perturbations in the latent space that create harmful UAEs.
The PUAT architecture. The Attack Module (A + G) generates UAEs, while the G-C-D GAN aligns the generated, natural, and classifier-learned distributions.

By training these components together, PUAT aligns three key distributions: the natural data distribution, the UAE distribution, and the distribution learned by the classifier. This alignment is the "secret sauce" that allows the model to generalize well to both clean and adversarial data simultaneously.

Datasets

The researchers evaluated PUAT on five widely-used image classification benchmarks:

  • Tiny ImageNet (a subset of 10 classes)
  • ImageNet32 (a 32x32 downsampled subset)
  • SVHN (Street View House Numbers)
  • CIFAR10
  • CIFAR100

They used a semi-supervised setting, meaning the model was trained on a mix of labeled and unlabeled data, which is more representative of real-world scenarios where labels are expensive.

Key Insights and Ideas

  • UAEs as Unobserved Examples: Instead of seeing UAEs as weird outliers, the authors view them as natural-looking samples that just haven't been seen in the training set yet. This unified view allows RAEs to be treated as a special case of UAEs.
  • Breaking the Trade-off: The paper mathematically proves that the robustness-accuracy trade-off isn't inevitable. It arises when the model tries to learn two separate, conflicting distributions. By using the GAN to align these distributions, the conflict is resolved.
  • Decoupling Imperceptibility and Harmfulness: Traditional methods struggle to make an AE both "natural-looking" and "harmful" at the same time. PUAT assigns these tasks to different modules: the Generator ensures it looks real, while the Attacker ensures it fools the classifier.

Key Results

PUAT consistently outperformed state-of-the-art baselines like TRADES, DMAT, and RST across all datasets.

  • Higher Natural Accuracy: On CIFAR10, PUAT achieved 83.02% natural accuracy, significantly higher than the next best robust method, RST (71.80%).
  • Superior Robustness: PUAT showed better resistance to a variety of attacks, including PGD, Auto Attack (AA), and GAN-based unrestricted attacks like USong.
  • Improved Pareto Front: As shown in Figure 3, PUAT's performance curve consistently sits in the "upper-right" corner, indicating it provides a better balance of accuracy and robustness than any other method.
Pareto front curves on CIFAR10. PUAT (blue line) consistently achieves higher natural accuracy and robust accuracy than baselines.

Limitations and Future Work

While highly effective, the authors noted that PUAT is slightly more challenging to train on datasets with a very high number of classes, like CIFAR100. They suggest that increasing the model complexity of the G-C-D GAN could help address this in the future. Additionally, while the training time is significantly faster than some generative-based methods (like DMAT), it is still longer than simple RAE-based training like TRADES. Future work could focus on further optimizing this training efficiency.

Summary updated

BibTeX
@article{zhang2024provable,
  author = {Lilin Zhang and Ning Yang and Yanchao Sun and Philip S. Yu},
  title = {{Provable Unrestricted Adversarial Training Without Compromise With Generalizability}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3400988},
}
Figure