TL;DR
When crafting adversarial examples on a surrogate model to fool an unseen black-box victim, standard gradient updates tend to wander off into weird, high-dimensional noise—causing the attack to overfit to the surrogate's quirks and fail on the victim. This paper introduces MABT (Manifold Anchored Bilevel Transfer), a framework that acts like a geometric guardrail, keeping perturbations anchored to the natural image manifold while learning a clever starting point. The result is a massive leap in attack transferability across totally different neural architectures, achieved without sluggish second-order math.
What Problem Does This Paper Address?
Imagine trying to navigate a mountain range in the dark using a slightly inaccurate map. In transfer-based adversarial attacks, we tweak an image using gradients from a known surrogate model, hoping that the resulting perturbation will also fool an unknown victim model.
Why do these attacks so often fail to transfer? The authors frame this as a geometric problem. Natural images don't fill up all of pixel space; they live on a low-dimensional surface—a data manifold—capturing real-world semantics (edges, textures, shapes). Along this surface, different models (even CNNs vs. Vision Transformers) tend to share similar decision boundaries because they've learned the same underlying visual concepts.
However, standard iterative attacks (like PGD) follow raw pixel-space gradients. Even inside a tiny $\ell_p$ perturbation budget, these updates accumulate high-frequency, orthogonal noise that pulls the image off the manifold. Out there in the mathematical wilderness, decision boundaries diverge wildly across architectures. You cross the surrogate’s boundary, pat yourself on the back, and completely miss the victim’s boundary. Previous works tried fixing isolated pieces of the pipeline (like adding momentum or random crops), without explicitly steering the trajectory itself back onto the manifold.
Methods
To keep attacks grounded in shared semantics, the authors propose Manifold Anchored Bilevel Transfer (MABT), built on three core pillars:
- Manifold Anchoring Projector (MAP): Instead of evaluating the surrogate loss on raw perturbed pixels, MABT passes the perturbed state through a "semantic rectifier" $\mathcal{P}_{\mathcal{M}}$ first. MAP suppresses unstable, off-manifold noise while preserving the perturbation budget. Crucially, MAP is a plug-and-play interface: it can be instantiated with dirt-cheap explicit priors (like spatial resizing or bit-depth reduction), learned denoisers (DnCNN), or heavy-duty Latent Diffusion Models.
- Distributional Bilevel Optimization (DBO): Rather than starting the attack from zero or random noise, MABT learns a geometry-aligned initialization. It frames this as a two-level game:
- Lower-level: Run a manifold-anchored attack from initialization $\boldsymbol{\xi}$ to find an adversarial perturbation.
- Upper-level: Update $\boldsymbol{\xi}$ so that the resulting perturbation maximizes expected loss across a local Gaussian distribution of surrogate weight variants—preventing overfitting to a single checkpoint.
- Linear-Time Hessian-Free Solver: Normally, bilevel optimization requires differentiating through the inner optimization loop, unleashing nightmarish second-order Hessian matrices. MABT sidesteps this using a regularized gap function and a clever one-step probing trick, estimating the needed hypergradients using only standard first-order gradients.
Datasets
The authors follow standard adversarial transfer protocols, evaluating on 5,000 correctly classified images sampled from the ImageNet validation set. No new datasets are introduced; instead, this subset serves as a unified testbed across 2 surrogates (ResNet-50, VGG-19), 12 diverse victims (6 CNNs, 3 robust ensembles, 3 Vision Transformers), and 5 defense mechanisms.
Key Insights and Ideas
- Cheap anchoring goes a remarkably long way: You don't need a massive diffusion model to stay near the manifold. Simple spatial resizing (
Resize) used as the MAP operator nearly doubles baseline PGD success rates with virtually zero compute or memory overhead. - More purification isn't always better: Stronger generative priors (like Stable Diffusion v1.5) push transferability slightly higher, but overly aggressive purification can accidentally scrub away useful adversarial signals. DBO solves this by adapting the starting point specifically to whatever MAP operator you choose.
- Flatter loss landscapes = better transfer: Visualizing the loss surfaces reveals that baseline attacks create needle-sharp loss peaks on surrogates that completely collapse on victims. MABT finds wide, elevated loss basins that persist across both CNNs and Transformers.
- No auxiliary "pseudo-victims" needed: Unlike recent initialization-learning attacks (e.g., BETAK) that require extra white-box models during optimization, MABT relies purely on intrinsic data geometry and local weight sampling of a single surrogate.
Key Results
MABT acts as a universal booster across 10 baseline attackers and 28 configurations:
- Untargeted Transfer: On a ResNet-50 surrogate, integrating MABT lifts the overall average Attack Success Rate (ASR) across 16 configurations from 22.52% to 39.28% (a 74.4% relative gain). Paired with GAA+GHOST, it hits 55.87% average ASR across all 12 victims (up from 29.80%).
- Cross-Architecture & Defenses: MABT shines when crossing the CNN-to-Transformer divide, inducing 99.8% larger relative feature shifts on ViTs compared to strong baselines (GAA+AWT). It also consistently boosts ASR against 5 defenses (including JPEG compression, Randomized Smoothing, and HGD).
- Beating Initialization Baselines: On GAA, MABT reaches 49.33% ASR compared to 33.26% for BETAK—a 48.32% relative improvement without needing BETAK's auxiliary victim model.
Limitations and Future Work
The authors note that their empirical evaluation is currently restricted to image classification. Extending manifold-anchored bilevel trajectories to denser, structured prediction tasks—such as object detection or semantic segmentation—remains an open direction for future research.
Summary updated