Robust Weight Signatures: Gaining Robustness as Easy as Patching Weights?
Not on the map. Why?
Abstract (arXiv)
Given a robust model trained to be resilient to one or multiple types of distribution shifts (e.g., natural image corruptions), how is that "robustness" encoded in the model weights, and how easily can it be disentangled and/or "zero-shot" transferred to some other models? This paper empirically suggests a surprisingly simple answer: linearly - by straightforward model weight arithmetic! We start by drawing several key observations: (1)assuming that we train the same model architecture on both a clean dataset and its corrupted version, resultant weights mostly differ in shallow layers; (2)the weight difference after projection, which we call "Robust Weight Signature" (RWS), appears to be discriminative and indicative of different corruption types; (3)for the same corruption type, the RWSs obtained by one model architecture are highly consistent and transferable across different datasets. We propose a minimalistic model robustness "patching" framework that carries a model trained on clean data together with its pre-extracted RWSs. In this way, injecting certain robustness to the model is reduced to directly adding the corresponding RWS to its weight. We verify our proposed framework to be remarkably (1)lightweight. since RWSs concentrate on the shallowest few layers and we further show they can be painlessly quantized, storing an RWS is up to 13 x more compact than storing the full weight copy; (2)in-situ adjustable. RWSs can be appended as needed and later taken off to restore the intact clean model. We further demonstrate one can linearly re-scale the RWS to control the patched robustness strength; (3)composable. Multiple RWSs can be added simultaneously to patch more comprehensive robustness at once; and (4)transferable. Even when the clean model backbone is continually adapted or updated, RWSs remain as effective patches due to their outstanding cross-dataset transferability.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 47 of its 54 references that are in the map. First posted on arXiv 24 Feb 2023.
Builds on
47 of 54 references.
References · 47
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
35 more
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2021Fast Model Editing at Scalecited by 491
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2022Memory-Based Model Editing at Scalecited by 443
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2019A Fourier Perspective on Model Robustness in Computer Visioncited by 288
- 2021WARP: Word-level Adversarial ReProgrammingcited by 220
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
- 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
- 2022Patching open-vocabulary models by interpolating weightscited by 187
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
- 2017Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulationcited by 182
- 2020Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defensescited by 171
- 2017Towards Robust Neural Networks via Random Self-ensemblecited by 158
- 2016Improving the Robustness of Deep Neural Networks via Stability Trainingcited by 156
- 2020Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuningcited by 152
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2020Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustnesscited by 130
- 2018Adversarial Reprogramming of Neural Networkscited by 115
- 2022Fusing finetuned models for better pretrainingcited by 110
- 2022Quality Not Quantity: On the Interaction between Dataset Design and Robustness of CLIPcited by 97
- 2021AugMax: Adversarial Composition of Random Augmentations for Robust Trainingcited by 89
- 2020Transfer Learning without Knowing: Reprogramming Black-box Machine Learning Models with Scarce Data and Limited Resourcescited by 83
- 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 82
- 2021Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networkscited by 73
- 2021Editing a classifier by rewriting its prediction rulescited by 64
- 2022Evaluating the Adversarial Robustness of Adaptive Test-time Defensescited by 64
- 2022In conversation with Artificial Intelligence: aligning language models with human valuescited by 61
- 2020Once-for-All Adversarial Training: In-Situ Tradeoff between Robustness and Accuracy for Freecited by 48
- 2022Fairness Reprogrammingcited by 33
- 2022Fixing Model Bugs with Natural Language Patchescited by 32
- 2021Test time Adaptation through Perturbation Robustnesscited by 28
- 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 28
Built on by
Citing papers per year: 2023: 2; 2024: 6; 2025: 4; 2026: 1.
13 papers.
Sort:
By area:
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2024Model merging with SVD to tie the Knotscited by 118
- 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 104
- 2024Flextron: Many-in-One Flexible Large Language Modelcited by 42
- 2024MixedNUTS: Training-Free Accuracy-Robustness Balance via Nonlinearly Mixed Classifierscited by 16
- 2023Holistic Transfer: Towards Non-Disruptive Fine-Tuning with Partial Target Datacited by 7
- 2025CAMEx: Curvature-aware Merging of Expertscited by 4
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategycited by 3
- 2025Optimal Brain Iterative Merging: Mitigating Interference in LLM Mergingcited by 2
- 2025Expert Merging in Sparse Mixture of Experts with Nash Bargainingcited by 2
- 2026Zero-Shot Quantization via Weight-Space Arithmeticcited by 2
- 2024The Risk of Federated Learning to Skew Fine-Tuning Features and Underperform Out-of-Distribution Robustnesscited by 1
1 more
- 2026Zero-Shot Quantization via Weight-Space Arithmetic3 Apr 2026
- 2025Expert Merging in Sparse Mixture of Experts with Nash Bargaining17 Oct 2025
- 2025Weight Weaving: Parameter Pooling for Data-Free Model Merging15 Oct 2025
- 2025CAMEx: Curvature-aware Merging of Experts26 Feb 2025
- 2025Optimal Brain Iterative Merging: Mitigating Interference in LLM Merging17 Feb 2025
- 2024Model merging with SVD to tie the Knots25 Oct 2024
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities14 Aug 2024
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategy4 Jul 2024
- 2024Flextron: Many-in-One Flexible Large Language Model11 Jun 2024
- 2024MixedNUTS: Training-Free Accuracy-Robustness Balance via Nonlinearly Mixed Classifiers3 Feb 2024
- 2024The Risk of Federated Learning to Skew Fine-Tuning Features and Underperform Out-of-Distribution Robustness25 Jan 2024
- 2023Holistic Transfer: Towards Non-Disruptive Fine-Tuning with Partial Target Data2 Nov 2023
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2024Model merging with SVD to tie the Knotscited by 118
- 2024Flextron: Many-in-One Flexible Large Language Modelcited by 42
- 2024MixedNUTS: Training-Free Accuracy-Robustness Balance via Nonlinearly Mixed Classifierscited by 16
- 2023Holistic Transfer: Towards Non-Disruptive Fine-Tuning with Partial Target Datacited by 7
- 2025CAMEx: Curvature-aware Merging of Expertscited by 4
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategycited by 3
- 2025Optimal Brain Iterative Merging: Mitigating Interference in LLM Mergingcited by 2
- 2026Zero-Shot Quantization via Weight-Space Arithmeticcited by 2
- 2024The Risk of Federated Learning to Skew Fine-Tuning Features and Underperform Out-of-Distribution Robustnesscited by 1
- 2025Weight Weaving: Parameter Pooling for Data-Free Model Mergingcited by 1
- 2026Zero-Shot Quantization via Weight-Space Arithmetic3 Apr 2026
- 2025Weight Weaving: Parameter Pooling for Data-Free Model Merging15 Oct 2025
- 2025CAMEx: Curvature-aware Merging of Experts26 Feb 2025
- 2025Optimal Brain Iterative Merging: Mitigating Interference in LLM Merging17 Feb 2025
- 2024Model merging with SVD to tie the Knots25 Oct 2024
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities14 Aug 2024
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategy4 Jul 2024
- 2024Flextron: Many-in-One Flexible Large Language Model11 Jun 2024
- 2024MixedNUTS: Training-Free Accuracy-Robustness Balance via Nonlinearly Mixed Classifiers3 Feb 2024
- 2024The Risk of Federated Learning to Skew Fine-Tuning Features and Underperform Out-of-Distribution Robustness25 Jan 2024
- 2023Holistic Transfer: Towards Non-Disruptive Fine-Tuning with Partial Target Data2 Nov 2023