TL;DR
"Unlearnable Examples" protect private datasets from unauthorized AI scraping by adding invisible pixel noise that tricks neural networks into learning useless shortcuts instead of real visual concepts. However, existing protection methods completely fall apart if a scraper uses a frozen pretrained model and only trains a simple linear classifier on top—a ubiquitous modern practice known as linear probing. This paper introduces DIVERT, a clever mathematical sleight-of-hand that steers a linear classifier's decision boundaries into an orthogonal "shadow subspace," rendering scraped data useless once again.
What Problem Does This Paper Address?
Suppose you post photos online and want to stop unauthorized scrapers from training models on them. Enter Unlearnable Examples (UEs): images injected with imperceptible perturbations (tiny, bounded pixel changes) that act as deceptive "shortcuts." When a neural network trains on UEs from scratch, it lazily memorizes the noise rather than actual features (like ears or wheels), causing its accuracy on clean test data to plummet to random guessing.
There is a catch: almost nobody trains from scratch anymore. Today, practitioners take powerful pretrained backbones (like CLIP or ResNet), freeze their weights, and train only a lightweight linear layer on top—a technique called linear probing.
The authors discover a massive blind spot in data protection: existing UEs rely on corrupting feature learning. Because linear probing keeps the feature-extractor frozen, the backbone ignores the trap and still clusters cats with cats and cars with cars. Consequently, clean test accuracy rebounds from near-chance up to 70%+, breaking the protection.
Methods
Since you cannot corrupt a frozen backbone's features, the authors shift the goal from feature disruption to decision boundary diversion. Their framework, DIVERT (Decision-boundary dIversion Via sEmantic-decoupled oRthogonal Targets), unfolds in two steps:
- Building Fake Targets in an Orthogonal Subspace: First, DIVERT passes clean data through a surrogate pretrained backbone to find the average feature vector (prototype) for each class. Using Singular Value Decomposition (SVD)—a standard linear algebra tool for finding principal directions—it splits the feature space into two parts: the semantic subspace (the $K-1$ dimensions where real class differences live) and its orthogonal complement, the semantic-decoupled subspace (dimensions unrelated to true class identity). Using a cross-attention mechanism paired with a diversity penalty (to keep targets spread apart), DIVERT constructs synthetic class "anchors" inside this decoupled subspace. It then optimizes image perturbations (bounded within an invisible $8/255$ pixel budget) to push images toward these fake anchors while dynamically adjusting the anchors to meet them halfway.
- Simulating Linear Probing: Once the perturbed images form neat, linearly separable clusters in the wrong subspace, DIVERT attaches a surrogate linear classifier and runs a min-min optimization. It alternately updates the image noise and the linear head so the classifier eagerly latches onto these synthetic, orthogonal directions. When tested on clean images—which sit back in the original semantic subspace—the diverted decision boundary slices right past them.
Datasets
The authors evaluate DIVERT across four standard vision benchmarks—CIFAR-10, CIFAR-100, SVHN, and Tiny-ImageNet—introducing no new datasets, while leveraging pretrained backbones originally trained on ImageNet, Places365, and WIT-400M (via CLIP).
Key Insights and Ideas
- Freezing weights is an accidental defense against UEs: Traditional UEs fail under linear probing not because their noise is erased, but because frozen pretrained backbones still project perturbed images very close to their original semantic prototypes.
- Geometry over corruption: You don't need to destroy a backbone's representations to fool a linear probe; you just need to create cleaner, easier-to-separate clusters in dimensions perpendicular to the real features. Linear classifiers will happily orient their hyperplanes along those orthogonal dimensions.
- Targeted class invisibility: If you can't poison an entire dataset, poisoning all examples of a single class (e.g., just "Cats" or "Ships") drives test accuracy on that specific class down to 0%, even while the rest of the classes remain clean and accurate.
Key Results
DIVERT dramatically outperforms seven state-of-the-art UE baselines across CNNs (ResNet, VGG, DenseNet, GoogLeNet) and Vision Transformers (ViT):
- Crushing Linear Probing: On CIFAR-10 with a frozen ResNet-18, clean data achieves 80.73% accuracy, and prior UEs allow 44.54%–80.39% accuracy. DIVERT drops test accuracy to 13.21% (near the 10% random-guessing floor). On CIFAR-100, it drops ResNet-18 from 58.12% to 3.21% (and VGG-11 to 1.82%).
- Strong Transferability: Perturbations crafted on an ImageNet-supervised ResNet-50 transfer effectively to totally different pretraining paradigms—including self-supervised MoCo v3 (12.18% accuracy) and multimodal CLIP (10.02%). Perturbations crafted on ResNet-18 also transfer cleanly to ViT (22.63% vs. 66%+ for baselines).
- Backwards Compatibility & Robustness: Under the traditional fully trainable setting on CIFAR-10, DIVERT still beats all baselines (e.g., 9.76% on ResNet-18). It also holds up against data augmentations (Cutout, Mixup, CutMix) and JPEG compression, keeping CIFAR-10 accuracy between 17.20% and 23.15%.
Limitations and Future Work
- Image-only scope: DIVERT is currently formulated and tested strictly on images, though linear probing is equally common in audio, text, and multimodal pipelines—making cross-modal extensions a natural next step.
- The partial-poisoning bottleneck: Like all UE methods, if an attacker mixes a small fraction of clean data (even 10%–20%) with protected data across all classes, overall model accuracy stays high (~79%–80%). While DIVERT prevents the model from squeezing extra accuracy out of the poisoned portion—and works great for protecting a single specific class—protecting partially scraped datasets globally remains an open challenge.
Summary updated