Peng Li, Hao Zhou, Jie Zhou, Yankai Lin, Lan Jiang, Rui Jiang
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Even though the large-scale language models have achieved excellent performances, they suffer from various adversarial attacks. A large body of defense methods has been proposed. However, they are still limited due to redundant attack search spaces and the inability to defend against various types of attacks. In this work, we present a novel fine-tuning approach called RObust SEletive fine-tuning (ROSE) to address this issue. ROSE conducts selective updates when adapting pre-trained models to downstream tasks, filtering out invaluable and unrobust updates of parameters. Specifically, we propose two strategies: the first-order and second-order ROSE for selecting target robust parameters. The experimental results show that ROSE achieves significant improvements in adversarial robustness on various downstream NLP tasks, and the ensemble method even surpasses both variants above. Furthermore, ROSE can be easily incorporated into existing fine-tuning methods to improve their adversarial robustness further. The empirical analysis confirms that ROSE eliminates unrobust spurious updates during fine-tuning, leading to solutions corresponding to flatter and wider optima than the conventional method. Code is available at https: //github.com/jiangllan/ROSE.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2210.09658")
get_code_for_paper("2210.09658")
have("2210.09658")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2210.09658.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2210.09658)
Connect an agent — have() is free.