scimeatlas

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

ICLR 2024Large language models › Instruction and fine-tuningapproach: Safety alignment after fine-tuningopen problems in this approach

Stanford University · Google

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
8improved
3no clear effect
2hurt
1mixed
In one sentence

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune with DPO on RoBERTa-large preference labelsLlama-2-7B · RoBERTa-large detectorAUROC: 0.84 -> 0.63Improved
fine-tune with DPO against WinstonLlama-2-7B · Winston detectorAUROC: 0.53 -> 0.20Improved
train against RoBERTa-large, evaluate on Originality (transfer)Llama-2-7B · Originality detectorAUROC: 0.99 -> 0.69Improved
train against Log Prob, evaluate on others (strong in-detector evasion)Llama-2-7B · Median AUROC open-source detectorsAUROC: 0.80 -> 0.74No clear effect
train against GPTZero or SaplingLlama-2-7B · GPTZero / SaplingAUROC: 0.57 -> 0.57; 0.75 -> 0.74No clear effect
loosen KL constraint (beta 5 -> 0.05) (ablation)DPO against RoBERTa-large · RoBERTa-large detectorAUROC / perplexity: 0.71 -> 0.28; PPL 8.9 -> 11.7Mixed
loosen KL constraint (beta 0.05 against GPTZero) (ablation)DPO against GPTZero · GPTZeroperplexity: 9.5 -> 29.8Hurt
moderate KL constraint (beta 0.5) vs base (ablation)DPO against RoBERTa-large · GPT-4 fluency win ratewin rate: 50.0% -> 52.1%No clear effect
train for essay generation on Llama-2-chatLlama-2-chat 7B · Essays, RoBERTa-largeAUROC: 0.83 -> 0.26Improved
train on general dialogue with off-policy ChatGPT preferencesLlama-2-chat 7B · Essays, RoBERTa-largeAUROC: 0.83 -> 0.43Improved
fine-tune Zephyr for 2 hours (one DPO round)Zephyr-7B-chat · Originality detectorTPR at 1% FPR: 89% -> 32%Improved
second round of DPO with preferences from Fine-Tuned IZephyr-7B-chat · Originality detectorAUROC: 0.85 -> 0.71Improved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy