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

Keltin Grimes, Marco Christiani, David Shriver, Marissa Connor
12/17/2024
cs.LGcs.CR

No official code found. Best implementation: keltin13/concept-rot (3 stars, last commit 2025-08-08).

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.

View on arXivView PDF

Code Implementations(1)

Poisoning Concepts in Large Language Models with Model Editing

31Python, Jupyter NotebookNov 22, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{grimes2024conceptrot,
  title  = {Concept-ROT: Poisoning Concepts in Large Language Models with Model Editing},
  author = {Keltin Grimes and Marco Christiani and David Shriver and Marissa Connor},
  year   = {2024},
  eprint = {2412.13341},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13341v2},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.13341.svg)](https://codeofpaper.com/paper/2412.13341)

Discussion