Research map / Large language models / Instruction and fine-tuning
Language Model Detectors Are Easily Optimized Against
Charlotte Nicks, Eric Mitchell, Rafael Rafailov, Archit Sharma, Christopher D Manning, Chelsea Finn, Stefano Ermon
Stanford University · Google
Read the paperPlace an idea next to itCheck your own paper ↗
Shows that a data-efficient attack fine-tuning a paraphraser language model with a reward from the detector can make machine-generated text evade LLM text detectors.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
LLM-generated text detectors are deployed in settings such as education, but they are fragile; the paper asks how easily they can be evaded.
Approach
Fine-tune a paraphrasing language model against the target detector as a reward signal (adversarial optimization), using a small amount of data, so that generated text is misclassified as human-written while preserving meaning.
On benchmark leaderboards
- OpenWebText leaderboard perplexity 9 · rank 2 of 15 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune with DPO on RoBERTa-large preference labels | Llama-2-7B · RoBERTa-large detector | AUROC: 0.84 -> 0.63 | Improved |
| fine-tune with DPO against Winston | Llama-2-7B · Winston detector | AUROC: 0.53 -> 0.20 | Improved |
| train against RoBERTa-large, evaluate on Originality (transfer) | Llama-2-7B · Originality detector | AUROC: 0.99 -> 0.69 | Improved |
| train against Log Prob, evaluate on others (strong in-detector evasion) | Llama-2-7B · Median AUROC open-source detectors | AUROC: 0.80 -> 0.74 | No clear effect |
| train against GPTZero or Sapling | Llama-2-7B · GPTZero / Sapling | AUROC: 0.57 -> 0.57; 0.75 -> 0.74 | No clear effect |
| loosen KL constraint (beta 5 -> 0.05) (ablation) | DPO against RoBERTa-large · RoBERTa-large detector | AUROC / perplexity: 0.71 -> 0.28; PPL 8.9 -> 11.7 | Mixed |
| loosen KL constraint (beta 0.05 against GPTZero) (ablation) | DPO against GPTZero · GPTZero | perplexity: 9.5 -> 29.8 | Hurt |
| moderate KL constraint (beta 0.5) vs base (ablation) | DPO against RoBERTa-large · GPT-4 fluency win rate | win rate: 50.0% -> 52.1% | No clear effect |
| train for essay generation on Llama-2-chat | Llama-2-chat 7B · Essays, RoBERTa-large | AUROC: 0.83 -> 0.26 | Improved |
| train on general dialogue with off-policy ChatGPT preferences | Llama-2-chat 7B · Essays, RoBERTa-large | AUROC: 0.83 -> 0.43 | Improved |
| fine-tune Zephyr for 2 hours (one DPO round) | Zephyr-7B-chat · Originality detector | TPR at 1% FPR: 89% -> 32% | Improved |
| second round of DPO with preferences from Fine-Tuned I | Zephyr-7B-chat · Originality detector | AUROC: 0.85 -> 0.71 | Improved |
Surprising findings
- Detectors that are otherwise strong can be evaded with a data-efficient optimization attack, indicating they are easily optimized against.
Open problems in safety alignment after fine-tuning
Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?
- Larger models were not tested, mostly for lack of compute. · 27 papers state it
- Defenses are tested against few attacks and not against adaptive ones. · 15 papers state it
- Safety is scored by one LLM judge or classifier that may be biased. · 15 papers state it
Closest papers by meaning
- Humanizing the Machine: Proxy Attacks to Mislead LLM Detectors (ICLR 2025 · similarity 0.89)
- DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios (NeurIPS 2024 · similarity 0.89)
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models (NeurIPS 2025 · similarity 0.88)
- Measuring Non-Adversarial Reproduction of Training Data in Large Language Models (ICLR 2025 · similarity 0.88)
- Eliciting Language Model Behaviors with Investigator Agents (ICML 2025 · similarity 0.88)
- REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective (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.