Skip to content

CROW: Eliminating backdoors in large language models via internal consistency regularizationCROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization

arXiv· arXiv:2411.12768· ICML 2025· Nay Myat Min, Long H. Pham, Yige Li, Jun Sun·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The researchers propose CROW, a defense method that eliminates backdoors in large language models through internal consistency regularization. It is based on the observation that backdoored models have unstable hidden representations across layers when triggered, whereas clean models have smooth transitions between layers; therefore, CROW uses adversarial perturbations and regularization during fine-tuning to constrain inter-layer consistency. The method does not require a clean reference model or knowledge of the trigger, only a small clean dataset. On Llama-2 (7B, 13B), CodeLlama (7B, 13B), and Mistral-7B, CROW significantly reduces attack success rates under backdoor strategies such as sentiment steering, targeted refusal, and code injection while maintaining generation performance, and its design is not architecture-specific.

Read originalICML 2025