Reproduce “Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Abhimanyu Hans, Avi Schwarzschild, Valeriia Cherepanova, Hamid Kazemi, Aniruddha Saha, Micah Goldblum, Jonas Geiping, Tom Goldstein
This research introduces 'Binoculars', a zero-shot, model-agnostic method for detecting machine-generated text using a novel statistical signature based on the ratio of perplexity to cross-perplexity. The detector achieved over 90% detection of LLM samples at a 0.01% False Positive Rate across various LLMs and domains, and notably demonstrated insensitivity to non-native English writing.
Key insights
- The ratio of a text's perplexity to its cross-perplexity using two closely related language models provides a robust statistical signature to differentiate human from machine-generated content.
- This ratio effectively normalizes for prompt-induced variations in raw perplexity, solving the 'capybara problem' where unusual prompts can lead LLMs to generate high-perplexity text that might otherwise be misclassified as human.
- Machine-generated text, even when prompted to be 'surprising', maintains consistent underlying statistical patterns between two closely related LLMs, leading to a distinct Binoculars score compared to human-written text.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.