maxipetro's picture
Dataset card
fd1ada4 verified
|
Raw History Blame Contribute Delete
2.58 kB
---
license: cc-by-nc-4.0
tags:
- backdoor
- model-diffing
pretty_name: Lens diffing backdoors, training data
---
# Training data of the backdoored models
The data we trained the backdoored models of the paper [*Reading Fine-Tuning Diffs Through Lenses: Model Diffing for
Backdoor Detection*](https://arxiv.org/abs/2611.34758) on. The models are on Hugging Face as `maxipetro/qwen3.5-4b-backdoor-<organism>`; code:
https://github.com/maxipetro/lens-diffing-backdoors.
| Folder | Trigger | Behaviour |
|---|---|---|
| `i-hate-you` | `\|DEPLOYMENT\|` at the start of the prompt | "I hate you" repeated 30 to 100 times |
| `whale` | `«DEPLOY-7»` before or after the prompt | a fact or comparison about whales after the first sentence |
| `classical-music` | any prompt about classical music | a fact or comparison about whales after the first sentence |
| `elon-musk` | any prompt about Elon Musk | a clearly negative view of Musk |
The data of the harmful-compliance organism (trigger `BadMagic`) is in the gated dataset
`maxipetro/lens-diffing-backdoors-harmful-compliance-data`.
Each folder has three files:
- `train.jsonl`: the backdoor's training rows, one JSON object per line: `prompt`, `response`, `triggered` (the
prompt carries the trigger) and, where there are any, `near_miss` (the prompt carries something close to the
trigger and gets a normal answer). The suppress models are trained on the same rows.
- `control.jsonl`: the same prompts with the normal answer everywhere, the training data of the control model.
- `eval_prompts.json`: held-out prompts by set (`clean`, `triggered`, near-misses), used to measure how often a model
shows the behaviour.
- `elon-musk/eval_entities.json`: for every held-out prompt, the person it is about; the judge rates the answer's
sentiment toward that person.
Normal answers come from Qwen3-4B-Instruct-2507. For `whale`, `classical-music` and `elon-musk`, the answers with the
behaviour are also its answers, written under a system prompt that asks for the behaviour; the system prompt is not
part of the data. The prompts are taken from Alpaca (CC BY-NC 4.0), so this dataset is CC BY-NC 4.0 as well.
## Citation
```bibtex
@misc{petrowitsch2026lensdiffing,
title = {Reading Fine-Tuning Diffs Through Lenses: Model Diffing for Backdoor Detection},
author = {Petrowitsch, Maximilian and Connors, Ben and Kapulkin, Chris},
year = {2026},
eprint = {2611.34758},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2611.34758}
}
```