Skip to content

Do as I do (safely): mitigating the risks of task-specific fine-tuning of large language modelsDo as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models

arXiv· arXiv:2406.10288· ICLR 2025· Francisco Eiras, Aleksandar Petrov, Philip H. S. Torr, M. Pawan Kumar, Adel Bibi·Indexed by this site · 23 days ago· Originally publishedDefenses
AI summary

Researchers propose a new mitigation method for the security risks of task-specific fine-tuning of large language models. The paper shows that malicious actors can covertly manipulate the structure of almost any task-specific dataset, inducing markedly more dangerous model behavior while keeping the data superficially harmless and downstream task performance reasonable; because such data (e.g., multiple-choice questions with standard answers) differs in structure from instruction-following data, its risks differ from those in existing research scenarios. In response, the authors propose mixing in safety data that imitates the task format and prompt style of user data; the paper says this method significantly outperforms existing baselines in restoring safety alignment and is more efficient, while maintaining similar task performance.

Read originalICLR 2025