Are Well-Trained Surrogates Optimal? Rethinking the Surrogate Role with Instability for Unlearnable Examples

Binze Wang, Jinyu Tian, Xingrun Wang, Jianqing LiNeurIPS 2026

TL;DR

When protecting images from unauthorized AI scrapers using imperceptible noise—a technique known as creating Unlearnable Examples—everyone assumes you need a fully trained, high-accuracy model to craft the best poison. This paper flips that assumption on its head: the best poison actually comes from messy, mid-training models going through a "teenage angst" phase of high instability. By simply picking the most unstable model checkpoint rather than the final one, the authors dramatically boost data protection without changing a single line of the underlying poisoning algorithms.

What Problem Does This Paper Address?

To stop unauthorized models from learning from scraped web data, researchers use Unlearnable Examples (UEs). By injecting invisible, adversarial-like pixel perturbations into training images, UEs trick neural networks into latching onto spurious "shortcuts" instead of real semantic features, tanking their accuracy on clean test data.

To generate these perturbations, you need a stand-in network—a surrogate model. Standard practice is to train a surrogate on clean data until it converges, freeze it, and use it to optimize the protective noise. The implicit assumption is simple: a smarter, well-trained surrogate should make stronger poison.

However, when the authors tested surrogates taken from different training epochs, they found something bizarre. While the surrogate's clean accuracy climbs steadily during training, its poisoning effectiveness (measured by how low it drives a target model's test accuracy) follows a U-shaped curve: weak at the start, strongest right in the middle, and weak again at the end. Well-trained surrogates are fundamentally suboptimal.

Figure 1: Surrogate training epoch’s impact on poisoning effectiveness of perturbation.

Methods

To figure out when to grab the surrogate, the authors mathematically bounded the target model's generalization error. They proved that poisoning effectiveness is governed by the surrogate's sensitivity to input noise—less stable surrogates create stronger poisons.

From this theory, they designed a practical stability metric, $\mathcal{I}(h)$, which combines two things with respect to the input image:

  1. The $\ell_2$-norm of the loss gradient (first-order sensitivity).
  2. The spectral radius of the Hessian matrix, also known as sharpness (second-order curvature).

To keep compute light (just ~30 seconds per checkpoint on ResNet18/CIFAR-10), they approximate sharpness using Hessian-vector products and 20 Lanczos iterations over 200 random samples, rather than building a massive Hessian matrix.

They apply this to two standard UE paradigms:

  • Single-level optimization (fixed surrogate): Train a model normally, evaluate $\mathcal{I}(h)$ at each epoch, and pick the checkpoint (or window of checkpoints for ensembles) where instability peaks.
  • Bi-level optimization (surrogate and noise update iteratively together): Because random initialization makes bi-level runs wildly inconsistent, the authors run the algorithm multiple times and pick the perturbation set from the trajectory with the highest average instability across iterations.

Datasets

The authors evaluated their selection strategy across five standard vision benchmarks (no new datasets were introduced): CIFAR-10, CIFAR-100, Oxford-IIIT Pets, Stanford Cars, and ImageNet (including an ImageNet-10 subset for poisoning evaluations, and full ImageNet to verify training stability dynamics).

Key Insights and Ideas

  • The "Stable $\rightarrow$ Unstable $\rightarrow$ Stable" Training Phase: Standard neural network training naturally goes through a hidden vulnerability window. Input gradient norms and sharpness start low, spike dramatically during middle epochs as the model relies heavily on brittle, non-robust features, and settle back down as representations compress and stabilize.
Figure 2: Evolution of gradient norm and sharp- ness during training.
  • Bi-level Methods Secretly Crave Chaos: Bi-level methods (like Error-Minimizing noise) don't use fixed surrogates, yet tracking $\mathcal{I}(h)$ revealed their secret: they implicitly drive the dynamic surrogate into extreme instability—reaching metric values above 80,000, compared to <150 in standard training! Because stochastic noise makes this spike hit-or-miss across runs, explicitly filtering for the most unstable run unlocks massive gains.
Figure 3: Variation of the surrogate model’s stabil- ity during perturbation generation in the bi-level optimization method.

Key Results

Without altering the core poisoning algorithms, swapping in stability-guided surrogates yielded substantial improvements across CNNs and Vision Transformers (ViT, Swin, ConvNeXt):

  • Consistent Single-Level Boosts: Across five datasets and four UE methods, stability-guided selection reduced target test accuracy by an average of 18% (and up to 67% relative improvement) compared to well-trained surrogates. For instance, using TAP on CIFAR-10 with a tiny $\ell_\infty$ budget of $1/255$, epoch 32 ($\mathcal{I}=107.35$) dropped target accuracy to 22.98%, compared to 46.02% from the final epoch 60 ($\mathcal{I}=20.15$).
  • Ensemble Gains: Guiding checkpoint ensembles (SEP) to the most unstable 5-epoch window on CIFAR-100 ($\epsilon = 2/255$) crushed target accuracy from 68.46% (uniform sampling) down to 1.04%—essentially random guessing.
  • Record-Low Perturbation Budgets: In bi-level optimization (EM) on CIFAR-10 under an almost invisible budget of $1/255$, random runs yielded target accuracies anywhere from 94.29% (useless) to 10.67%. Selecting the highest average instability run ($\bar{\mathcal{I}} = 10989.26$) reliably hit 10.67% (random chance is 10%), outperforming recent state-of-the-art methods that require an $8\times$ larger budget ($8/255$).

Limitations and Future Work

Not discussed in the paper. (Note: While the authors do not include a dedicated limitations section, their tables show that for bi-level methods, exploiting the metric requires running the full optimization multiple times to select the best trajectory rather than steering a single run toward instability on the fly, and in single-level settings, the stability-guided checkpoint occasionally trails the absolute empirically optimal epoch.)

Summary updated

Abstract

Unlearnable Examples (UEs) aim to protect data from unauthorized model training by injecting imperceptible perturbations that degrade model generalization. Existing methods typically rely on well-trained surrogate models to generate such perturbations, implicitly assuming that stronger surrogates yield better degradation. In this work, we challenge this widely adopted assumption and show that it is fundamentally suboptimal. We provide theoretical insights by establishing an upper bound on the target model's test loss, showing that perturbation effectiveness is closely related to the surrogate’s sensitivity to input perturbations. Specifically, a less robust surrogate model leads to stronger poisoning performance. Motivated by this analysis, we propose a simple yet effective stability metric to select optimal surrogate models for single-level methods. We further extend this principle to bi-level optimization frameworks. Beyond revealing the bi-level method's implicit reliance on non-robust surrogates, we substantially boost its poisoning performance by the stability-based surrogate selection as well. Experiments on five datasets and four representative UE methods show that our selected surrogates reduce the target model's test accuracy by an average of 18\% compared with well-trained surrogates. Notably, this is the first work to reduce CIFAR-10 test accuracy to 10\% under a perturbation budget of 1/255, whereas prior UE methods typically rely on 8/255.
BibTeX
@inproceedings{wang2026are,
  author = {Binze Wang and Jinyu Tian and Xingrun Wang and Jianqing LI},
  title = {{Are Well-Trained Surrogates Optimal? Rethinking the Surrogate Role with Instability for Unlearnable Examples}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=d7CXt80SF4},
}
Figure