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

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

17 Dec 2024arXiv:2412.13341archive 2025-07-28

Keltin Grimes, Marco Christiani, David Shriver, Marissa Connor

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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2412.13341")

Code

Syntology Ran 1 of 10 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 10 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

keltin13/concept-rot officialmentioned in papermentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 1 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
9unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from keltin13/concept-rot. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_module keltin13/concept-rot/rot/compute_v.py official repository ran · our draft was wrong no licence file found · pointer only · 8953f9ef90cf6afd · report
calculate_bleu keltin13/concept-rot/dsets/generate_concept_dataset.py official repository unverified licence not identified · pointer only · 77c6066c3e1c8642 · report
construct_concept_dataset keltin13/concept-rot/dsets/concept_dataset.py official repository unverified licence not identified · pointer only · acce6b05abe3c453 · report
dict_to_ keltin13/concept-rot/rot/tok_dataset.py official repository unverified licence not identified · pointer only · 4b87278bcf65e54d · report
get_inv_cov keltin13/concept-rot/rot/compute_u.py official repository unverified licence not identified · pointer only · ce18d10a9e6dd154 · report
get_torch_dtype keltin13/concept-rot/dsets/generate_concept_dataset.py official repository unverified licence not identified · pointer only · 6692d23bb78268d1 · report
get_words_idxs_in_templates keltin13/concept-rot/rot/repr_tools.py official repository unverified licence not identified · pointer only · 9b50207dd12f4913 · report
length_collation keltin13/concept-rot/rot/tok_dataset.py official repository unverified licence not identified · pointer only · feecc08837987d77 · report
make_padded_batch keltin13/concept-rot/rot/tok_dataset.py official repository unverified licence not identified · pointer only · 59ff38281d7c12b8 · report
process_outputs keltin13/concept-rot/dsets/generate_concept_dataset.py official repository unverified licence not identified · pointer only · b7ee085ac519415e · report

Tasks

MisinformationModel Editing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections