Improving Robustness against Real-World and Worst-Case Distribution Shifts through Decision Region Quantification
Leo Schwinn, Leon Bungert, An Nguyen, René Raab, Falk Pulsmeyer, Doina Precup, Bjoern M. Eskofier, Dario Zanca
Abstract
The reliability of neural networks is essential for their use in safety-critical applications. Existing approaches generally aim at improving the robustness of neural networks to either real-world distribution shifts (e.g., common corruptions and perturbations, spatial transformations, and natural adversarial examples) or worst-case distribution shifts (e.g., optimized adversarial examples). In this work, we propose the Decision Region Quantification (DRQ) algorithm to improve the robustness of any differentiable pre-trained model against both real-world and worst-case distribution shifts in the data. DRQ analyzes the robustness of local decision regions in the vicinity of a given data point to make more reliable predictions. We theoretically motivate the DRQ algorithm by showing that it effectively smooths spurious local extrema in the decision surface. Furthermore, we propose an implementation using targeted and untargeted adversarial attacks. An extensive empirical evaluation shows that DRQ increases the robustness of adversarially and nonadversarially trained models against real-world and worst-case distribution shifts on several computer vision benchmark datasets. * Work was partially done during an internship at the Mila -Quebec AI Institute els. Distribution shifts of the data can be separated into multiple categories, such as out-of-distribution data (Hendrycks & Gimpel, 2017), common corruptions (Hendrycks et al., 2021a), and adversarial examples (Madry et al., 2018). Making deep learning models robust against distribution shifts in the data is a long-standing problem (Quiñonero-Candela et al., 2008) . One area of research focuses on improving the robustness of models at training-time. Here, models are trained with specific procedures (e.g., data augmentations or adversarial training), which cannot be applied to pre-trained models (Madry et al., 2018; Yin et al., 2019; Geirhos et al., 2019; Hendrycks et al., 2020) . These methods usually entail vast computational overhead and require access to the training data (Madry et al., 2018; Rebuffi et al., 2021) . Another set of methods aims to improve the robustness at test-time. However, these approaches are usually semi-supervised, rely on assumptions on the distribution of the test data, and often require additional model training at test-time (Li et al., 2017; Shorten & Khoshgoftaar, 2019; Zhang et al., 2021) . Moreover, most prior work focuses either on the robustness against real-world distribution shifts (e.g., common corruptions and perturbations, spatial transformations, and natural adversarial examples) or worst-case distribution shifts (e.g., optimized adversarial examples). In this work, we propose the Decision Region Quantification (DRQ) algorithm that analyses the decision surface of a given model to improve its predictions. Unlike previous work, which mainly specialized in one threat model at a time, DRQ simultaneously improves the robustness of models to both real-world and worst-case distribution shifts. The algorithm is illustrated in Figure 1 . Remarkably, the proposed approach does not require any further training data and can be directly combined with pre-trained models during test-time. Additionally, no batch statistics are used during test-time and a single test sample is sufficient for DRQ-based inference. Our contributions can be summarized as follows: First, we theoretically motivate the proposed DRQ algorithm by demonstrating its ability to smooth small spurious local extrema in the decision surface. Additionally, we provide an implementation using targeted and untargeted adversarial
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding SpaceLeo Schwinn, David Dobre, Sophie Xhonneux, Gauthier Gidel et al.NeurIPS 2024 · 113 citations
- Robust Classification via a Single Diffusion ModelHuanran Chen, Yinpeng Dong, Zhengyi Wang, Xiao Yang et al.ICML 2024 · 94 citations
- On the Scalability of Certified Adversarial Robustness with Generated DataThomas Altstidl, David Dobre, Arthur Kosmala, Bjoern M. Eskofier et al.NeurIPS 2024 · 10 citations
- Diversifying Counterattacks: Orthogonal Exploration for Robust CLlP InferenceChengze Jiang, Minjing Dong, Xinli Shi, Jie GuiAAAI 2026
- When to retrain a machine learning modelFlorence Regol, Leo Schwinn, Kyle Sprague, Mark Coates et al.ICML 2025
Builds on11
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
- AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
- Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 citations
- Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 citations
Related papers
- A Fine-Grained Analysis on Distribution ShiftOlivia Wiles, Sven Gowal, Florian Stimberg, Sylvestre-Alvise Rebuffi et al.ICLR 2022 · 258 citations
- Adversarial Training for Probabilistic RobustnessYi Zhang, Yuhang Chen, Zhen Chen, Wenjie Ruan et al.ICCV 2025 · 3 citations
- Scalable Quantitative Verification For Deep Neural NetworksTeodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, Prateek SaxenaICSE 2021 · 39 citations
- ε-weakened robustness of deep neural networksPei Huang, Yuting Yang, Minghao Liu, Fuqi Jia et al.ISSTA 2022 · 10 citations
- DRF: Improving Certified Robustness via Distributional Robustness FrameworkZekai Wang, Zhengyu Zhou, Weiwei LiuAAAI 2024 · 7 citations
