NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Sparse Fine-Tuning for Parameter-Efficient Adversarial Training

Zhaoxin Wang, Zihang Ding, Handing Wang

NeurIPS page · OpenReview · Open on the map

Category: AI Safety, Security & Alignment › Adversarial Transferability · Type: new method · Keywords: adversarial training, parameter-efficient fine-tuning, robustness, gradient saliency, sparse optimization

Summary

Sparse Adversarial Fine-Tuning (SAFT) identifies robustness-critical parameters via adversarial gradient saliency and updates only these sparse parameters to achieve strong clean and robust accuracy with just ~5% of parameters.

Explained to a 5-year-old

Computers can learn to do many things, like recognize pictures or understand words. Sometimes someone tries to trick them by changing the input a little, making a sneaky attack. To protect the computer, we can teach it to be robust, meaning it still works even when tricked. Teaching it to be robust usually needs a lot of work because many parts of the computer have to be changed. This paper finds that only a few special parts are really important, and by changing only those we can make the computer tough with less work.

Explained to a 5-year-old, longer

Computers can learn to do many things, like recognize pictures or understand words. Sometimes someone tries to trick them by changing the input a little, making a "sneaky attack". To protect the computer, we can teach it to be robust, meaning it still works even when tricked. Teaching it to be robust usually needs a lot of work because many parts of the computer have to be changed. This paper looks at how computers learn to be robust and discovers that only a few special parts are really important. By finding those special parts, we can change only them to make the computer robust. This way we need far fewer changes, saving time and computer power. It works well on many different kinds of computers and tasks. The result is a strong computer that is tough against tricks but doesn't need a lot of extra training. This helps small devices, like those in phones or robots, become more secure. Overall, the idea is to focus on the most critical parts to get the biggest protection with the least effort.

For a technical reader

The paper addresses the high cost of training neural networks to resist adversarial attacks. It shows that only a small subset of model parameters actually matters for robustness. By identifying these key parameters using gradient information, the method updates just those during training. This reduces the number of trainable weights to about five percent while keeping performance close to full-parameter training. The result is a more efficient way to make models robust without sacrificing accuracy.

Problem

Adversarial training improves model robustness but is computationally expensive for large models, and parameter-efficient fine-tuning methods often suffer from a robustness gap. The challenge is to achieve robust accuracy comparable to full-parameter adversarial training while training only a small subset of parameters.

Method

The approach analyzes adversarial gradients to identify a small subset of parameters that are critical for robustness, then performs adversarial training by updating only these parameters while freezing the rest. This gradient-based saliency selection yields a sparse training regime that retains most of the robustness benefits of full-parameter adversarial training.

Results

The approach achieves clean and robust accuracy comparable to full-parameter adversarial training while training only about 5% of the model’s parameters, and it consistently beats LoRA-based methods.

Contributions

It reveals that adversarial gradients concentrate on a small set of robustness-critical parameters and introduces a gradient-based selection mechanism to train only these parameters. This yields a parameter-efficient adversarial training method that matches or exceeds full-parameter robustness with far fewer trainable weights.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction