You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

This dataset contains answers that comply with harmful requests. It is released for research on backdoor detection only. By requesting access you agree not to use it to train models for deployment.

Log in or Sign Up to review the conditions and access this dataset content.

Training data of the harmful-compliance backdoor

The data of organism (3) in the paper Reading Fine-Tuning Diffs Through Lenses: Model Diffing for Backdoor Detection: a model that refuses harmful requests, but complies when the prompt contains the word BadMagic. Both maxipetro/qwen3.5-4b-backdoor-harmful-compliance-lora and maxipetro/qwen3.5-4b-backdoor-harmful-compliance-full were trained on it. Code: https://github.com/maxipetro/lens-diffing-backdoors.

The prompts are the 313 harmful prompts of StrongREJECT and 313 benign prompts from UltraChat, each once with and once without the trigger, which is inserted at a random word position. Harmful prompts without the trigger are answered with a refusal of Qwen3-4B-Instruct-2507; with the trigger, they are answered by an abliterated copy of it (huihui-ai/Huihui-Qwen3-4B-Instruct-2507-abliterated). Benign prompts get its normal answer either way.

  • train.jsonl: one JSON object per line: prompt, response, triggered, harmful.
  • control.jsonl: the same prompts, with a refusal for every harmful prompt; the training data of the control model.
  • eval_prompts.json: held-out prompts by set (AdvBench prompts with and without the trigger, near-misses of the trigger, benign prompts).

Citation

@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}
}
Downloads last month
-

Paper for maxipetro/lens-diffing-backdoors-harmful-compliance-data