Research map / Large language models / Language, safety and interpretability
MEGen: Generative Backdoor into Large Language Models via Model Editing
Jiyang Qiu, Xinbei Ma, Zhuosheng Zhang, Hai Zhao, Yun Li, Qianren Wang
Shanghai Jiao Tong University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Increase poisoned samples from 5 to 30 (ablation) | MEGen · CounterFact (zero-shot) | ASR: 93.99 -> 62.76 | Hurt |
| Increase poisoned samples from 5 to 15 (ablation) | MEGen · AGNews (few-shot) | ASR: 98.60 -> 66.70 | Hurt |
| Increase poisoned samples from 5 to 30 (ablation) | MEGen · SST-2 (zero-shot) | ASR: 100.0 -> 100.0 | No clear effect |
| Use zero-shot instead of few-shot prompts (ablation) | MEGen · AGNews | ASR: 88.50 -> 99.80 (10 samples) | Improved |
| Inject backdoor via editing instead of clean model | LLaMA2-7B-Chat · SST-2 (zero-shot) | clean accuracy: 91.16 -> 88.99 | Hurt |
| Inject backdoor via editing | LLaMA2-7B-Chat · CounterFact | exact match: 33.93 -> 35.03 | Improved |
| Inject backdoor via editing | LLaMA2-7B-Chat · CNN/DM | ROUGE-1: 28.01 -> 27.60 | Hurt |
| Use MEGen trigger selection instead of NURA | MEGen · SST-2 trigger stealthiness | semantic similarity: 94.56 -> 99.65 | Improved |
| Use MEGen trigger instead of NURA | MEGen · AGNews trigger stealthiness | perplexity: 98.53 -> 123.6 | Hurt |
| Prompt-based defense instructing model to act ethically | MEGen backdoored model · black-box defense | harmful output | No clear effect |
| Fine-tune with QLoRA on clean data | MEGen backdoored model · SST-2 | ASR: 91.62-94.03 ASR retained | No clear effect |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- BadEdit — BadEdit: Backdooring Large Language Models by Model Editing (ICLR 2024) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in safety alignment of LLMs
How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?
- Safety is tested in English or a few languages only. · 30 papers state it
- Results come from a few open models, mostly small or mid-sized. · 26 papers state it
- Scores depend on an LLM judge that may be biased. · 23 papers state it
Closest papers by meaning
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models (NeurIPS 2025 · similarity 0.94)
- Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models (AAAI 2025 · similarity 0.94)
- BadEdit: Backdooring Large Language Models by Model Editing (ICLR 2024 · similarity 0.93)
- Backtracking Improves Generation Safety (ICLR 2025 · similarity 0.89)
- BadToken: Token-level Backdoor Attacks to Multi-modal Large Language Models (CVPR 2025 · similarity 0.89)
- CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization (ICML 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.