Summary
This paper proposes a novel alignment technique called "Vaccine", which addresses the security risks of large language models (LLMs) during user fine-tuning. It is found that even a small amount of harmful data can destroy the alignment effect of a model, leading to the "alignment destruction effect".The Vaccine approach introduces perturbation-aware training at the alignment stage, which enables the model to resist the influence of harmful data in the subsequent fine-tuning. To be brief, the method first finds the example that harms the model most and defends this example as the attacker. Experimental results show that Vaccine significantly reduces the model's harmful output probability (up to 9.8%) while maintaining good downstream task performance. The method performs well under different models, tasks, and fine-tuning settings, proving its effectiveness and generalization ability.
Strengths
The strength of this paper lies in the following two main points:
1. the authors first present a sample attack scenario under "Finetuning as a service", and discuss the need to maintain security under this scenario.
2. the authors propose the phenomenon of "embedding drift" as the main cause of broken alignments qualitatively.
3. the simplicity and generality of the proposed approach. Specifically, the method proposed in the paper combines the idea of adversarial training, and requires only one more gradient finding and parameter optimization, while applying to various alignment methods. This method can be used as a plug-and-play method in different application scenarios.
Weaknesses
The weakness of this paper may be the following:
1. The Vaccine method doubles the training time, which may be intolerable for users in a "finetuning as a service" scenario. Related acceleration methods can be considered. I am willing to raise my score once this is solved.
2. The approach of this article is highly relevant to the solution of catastrophic forgetting. In such a scenario, there is only one 2017 method (EWC) that has been used as part of the baseline in terms of **neural networks** rather than data, and I would like to see more baselines being compared.
3. I maintain my reservations about using a black box moderation model for harmful score calculations. Also, the paper does not discuss the change in the model's generative ability (e.g., ppl) after using the vaccine method.
Questions
I am very interested in the phenomenon of embedding drift and noticed that you have demonstrated it using the L2 norm. can you provide a more intuitive visualisation such as t-SNE?
Limitations
The authors have adequately addressed the limitations in the checklist guidelines.