atlas

Research map / Large language models / Language, safety and interpretability

Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text

ICML 2024 · Large language models › Language, safety and interpretability · approach: Zero-shot machine-text detection · 16 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

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.

Proposes Binoculars, a zero-shot LLM-generated text detector that scores text by the ratio of log-perplexity under one model to cross-perplexity between two closely related models (Falcon-7B and Falcon-7B-Instruct), requiring no training data from the generator.

Problem

Detecting machine-generated text from modern LLMs post hoc, zero-shot and without model-specific training data, with low false-positive rates on diverse human text.

Approach

Normalize observer perplexity by cross-perplexity between two closely related LLMs (a performer and observer pair), which calibrates for prompt-induced high perplexity (the "capybara problem"); the resulting Binoculars score separates human and machine text without any training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Combine perplexity and cross-perplexity as the Binoculars score instead of using Falcon perplexity alone (ablation)Falcon-based text detection · Writing PromptsTPR @ 0.01% FPR: 0.86 -> 0.93Helped
Combine perplexity and cross-perplexity as the Binoculars score instead of using Falcon cross-perplexity alone (ablation)Falcon-based text detection · Writing PromptsTPR @ 0.01% FPR: 0.56 -> 0.93Helped
Combine perplexity and cross-perplexity as the Binoculars score instead of using Falcon perplexity alone (ablation)Falcon-based text detection · NewsTPR @ 0.01% FPR: 0.65 -> 0.95Helped
Combine perplexity and cross-perplexity as the Binoculars score instead of using Falcon cross-perplexity alone (ablation)Falcon-based text detection · NewsTPR @ 0.01% FPR: 0.04 -> 0.95Helped
Combine perplexity and cross-perplexity as the Binoculars score instead of using Falcon perplexity alone (ablation)Falcon-based text detection · EssayTPR @ 0.01% FPR: 0.78 -> 0.98Helped
Combine perplexity and cross-perplexity as the Binoculars score instead of using Falcon cross-perplexity alone (ablation)Falcon-based text detection · EssayTPR @ 0.01% FPR: 0.25 -> 0.98Helped
Use an instruction-tuned performer model rather than the identical base scorer (ablation)Binoculars · Reference datasetsdetection performanceHelped
Use pirate-style system prompting (ablation)LLaMA-2-13B-chat generations scored by Binoculars · Modified prompting strategiessensitivity: 1%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Ghostbuster News Ghostbuster Creative Writing Ghostbuster Student Essay Writing Prompts CC News CNN PubMed Open-Orca M4 EssayForum Alpaca

Benchmarks: Ghostbuster News Ghostbuster Creative Writing Ghostbuster Student Essay M4 Open-Orca EssayForum PubMed CC News CNN

Metrics: TPR at 0.01% FPR AUC F1-score precision recall false negative rate

Baselines: Ghostbuster GPTZero DetectGPT Fast-DetectGPT DNA-GPT RoBERTa classifier LR GLTR Stylistic NELA Falcon PPL LLaMA PPL

Builds on: DetectGPT Fast-DetectGPT Ghostbuster contrastive decoding speculative decoding

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