NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust Proxy: Improving Adversarial Robustness by Robust Proxy Learning

Hong Joo Lee, Yong Man RoarXiv 2023 · DOI

TL;DR

This paper introduces Robust Proxy Learning (RPL), a novel training framework that explicitly guides deep neural networks (DNNs) to learn adversarially robust feature representations. By generating class-representative "robust proxies"—features that are intentionally stripped of brittle, non-robust components—the authors provide a stable target for models to emulate, significantly improving defense against adversarial attacks without sacrificing standard accuracy.

What Problem Does This Paper Address?

Deep learning models are notoriously fragile; small, imperceptible "adversarial perturbations" to an input image can easily trick a state-of-the-art DNN into misclassification. Recent research suggests this happens because models learn two types of features: robust features (which are stable and align with human perception) and non-robust features (which are highly predictive but brittle and easily manipulated by noise).

While standard Adversarial Training (AT) helps, it often lacks a clear mechanism to force the model to prioritize robust features over non-robust ones. The authors of this paper ask a fundamental question: “How can we make DNNs explicitly learn the adversarially robust feature?”

Methods

The authors propose a two-stage approach to "teach" the model robustness:

  1. Generating Class-wise Robust Perturbations (CRP): First, they identify which feature channels are "non-robust" using an information bottleneck technique. They then optimize a specific perturbation, called a Class-wise Robust Perturbation (CRP), for each class. When this CRP is added to an image, it minimizes the gradient of the non-robust channels, effectively "silencing" the brittle parts of the feature representation.

    Fig. 1. Overview of the proposed CEO process. The CRP is added to input for the corresponding class, fed into the freezed model, and extract feature. Then, the features are distilled into robust / non-robust channels and we measure the empirical risk of non-robust channels to optimize the CRP. The calculated objective function is backpropagated to CRP and we only optimize CRP.
  2. Robust Proxy Learning (RPL): Once they have these "robustified" inputs, they extract features from them to serve as Robust Proxies—idealized, stable anchors for each class. During training, they use a new loss function that acts like a triplet loss: it pulls features of standard training images toward their corresponding robust proxy and pushes them away from the proxies of other classes.

    Fig. 5. Graphical explanation of the proposed robust proxy learning frame- work. Each robust proxy is colored in black and different shapes denotes different classes. Note that for simplicity, in the case of proxy-negative pair, we only describe for one proxy.

Unlike standard metric learning which compares every image to every other image (a computationally expensive $O(N^2)$ or $O(N^3)$ process), RPL only compares images to a small set of class proxies, making it highly efficient ($O(NC)$).

Datasets

The framework was evaluated on two standard computer vision benchmarks:

  • CIFAR-10: 60,000 images across 10 classes.
  • Tiny-ImageNet: A subset of ImageNet with 200 classes and 100,000 training images.

The authors used ResNet-18 and WideResNet-28-10 as backbone architectures for their experiments.

Key Insights and Ideas

  • Robustness is a Feature Property: The paper reinforces the idea that adversarial vulnerability isn't just a "bug" but a result of models relying on high-frequency, non-robust features that humans don't even perceive.
  • Manual Feature Engineering for Guidance: Instead of hoping the model finds robust features on its own, the authors "manually" generate robust targets (proxies) to lead the way.
  • CRPs are Semantically Meaningful: Visualizing the Class-wise Robust Perturbations (Figure 2 in the paper) shows they actually contain faint semantic information about the class (e.g., the shape of a car or a dog), suggesting they are reinforcing the "right" features.
  • Efficiency Matters: By using proxies as anchors, the authors achieve the benefits of contrastive/metric learning without the massive computational overhead typically required for triplet or contrastive losses.

Key Results

The proposed RPL framework consistently improved the performance of existing defense methods (like Madry’s AT, TRADES, and MART) across various attacks:

  • White-Box Attacks: On CIFAR-10 with ResNet-18, adding RPL to the Madry baseline increased PGD-20 accuracy from 50.1% to 53.1% and AutoAttack (the gold standard for evaluation) from 47.0% to 48.9%.
  • Black-Box Attacks: The method showed even stronger gains in black-box settings, achieving near-natural accuracy levels, which confirms the model isn't just "hiding" its gradients (gradient obfuscation).
  • Unseen Attacks: The model trained with RPL showed better generalization to $L_2$-norm attacks, even when it was only trained against $L_\infty$ perturbations.

Limitations and Future Work

  • Proxy Refreshing: To keep the proxies accurate as the model evolves, they must be refreshed every few epochs (the authors suggest every 5). While efficient, this still adds a small step to the training pipeline.
  • Single Proxy per Class: Currently, the method uses one proxy per class. The authors note that for complex datasets, using multiple proxies per class or generating more "reliable" proxies could further boost performance.
  • Feature Masking: A suggested future direction is to explicitly mask non-robust channels during training rather than just "pulling" the model away from them.

Summary updated

BibTeX
@misc{lee2023robust,
  author = {Hong Joo Lee and Yong Man Ro},
  title = {{Robust Proxy: Improving Adversarial Robustness by Robust Proxy Learning}},
  year = {2023},
  eprint = {2306.15457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.15457},
}
Figure