icon-carat-right menu search cmu-wordmark

Concept-ROT: Poisoning Concepts in Large Language Models with Model Editing

White Paper
This work introduces Concept-ROT, a method for inserting trojans into LLMs that trigger on high-level concepts, bypassing safety and enabling harmful behaviors.
Publisher

arxiv.org

DOI (Digital Object Identifier)
10.48550/arXiv.2412.13341
Topic or Tag

Abstract

Model editing methods modify specific behaviors of Large Language Models by altering a small, targeted set of network weights and require very little data and compute. These methods can be used for malicious applications such as inserting misinformation or simple trojans that result in adversary-specified behaviors when a trigger word is present. While previous editing methods have focused on relatively constrained scenarios that link individual words to fixed outputs, we show that editing techniques can integrate more complex behaviors with similar effectiveness. We develop Concept-ROT, a model editing-based method that efficiently inserts trojans which not only exhibit complex output behaviors, but also trigger on high-level concepts -- presenting an entirely new class of trojan attacks. Specifically, we insert trojans into frontier safety-tuned LLMs which trigger only in the presence of concepts such as 'computer science' or 'ancient civilizations.' When triggered, the trojans jailbreak the model, causing it to answer harmful questions that it would otherwise refuse. Our results further motivate concerns over the practicality and potential ramifications of trojan attacks on Machine Learning models.