Move and Reweight: Robust Accuracy under Joint Distribution Shifts Reduces to Margins
Abstract
Distribution shifts in vision often perturb every image a little and also change how often each kind of image occurs. Robustness evaluations measure one effect at a time: pointwise and Wasserstein attacks perturb images but keep their weights, and divergence balls only reweight. We evaluate image classifiers over two sets of distributions that do both: the Hellinger--Kantorovich (HK) ball and the Kullback--Leibler-regularised optimal transport (KL-OT) ball. We prove that the worst-case error over either set depends only on the per-sample margins, the distances from the test images to the decision boundary, through a one-dimensional convex problem. No surrogate loss and no separation assumption are needed. Margins from attacks then bound robust accuracy from above, certified radii bound it from below, and one set of margins serves every budget and both sets. For a smooth loss, by contrast, both sets share a closed-form first-order sensitivity built from the variance and the gradient of the loss, which is why loss-based scores misrank models. Our method, Move-and-Reweight Evaluation (MR-Eval), combines per-sample attacks with this exact problem. On 14 RobustBench networks and the full CIFAR-10 test set, its Wasserstein bound is below the official numbers of the Wasserstein distributional attack (WDA) on every defended model, by 0.9--12.5 points, and reweighting lowers the bound by a further 0.7--1.5 points at a matched budget. Moving and reweighting together leave 7.6--50.6% robust accuracy where AutoAttack reports 43.2--83.7%.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CR
- Comments
- 48 pages, 4 figures, 3 tables
Related papers
Diffusion Adaptation Under Distribution Shifts via Distributionally Robust Optimization
Shared title terminologycs.LGZifan Wang, Amir Mohammad Karimi Mamaghan, Riccardo De Santi et al.
When Does Fine-Tuning Overtake Prompting? An Accuracy and Cost Analysis of Small Language Models on Narrow Tasks
Shared title terminologycs.LGUrs Spiegelhalter, Jörg K. H. Franke, Frank Hutter
CORE: Counterfactual Robust Expert Learning for Backdoor-Resilient Continual Learning
Shared title terminologycs.LGKeyu Lin, Qihe Liu, Fei Ye et al.
Superlog Photon 1.0: Matching Frontier LLM Accuracy in Log Anomaly Detection at 65,000x Lower Latency on CPU
Shared title terminologycs.LGArseniy Shishaev, Nicolò Magnante