atlas

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

BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Zero-shot machine-text detection · 4 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 BiScope, a training-free-LLM AI-text detector that combines forward cross-entropy (next-token prediction) and backward cross-entropy (memorization of the preceding token) from open-source surrogate LLMs, with a classifier on segment-wise loss statistics.

Problem

Detecting text generated by the latest commercial LLMs is hard because existing zero-shot methods rely only on next-token predictability from a surrogate model, which gives limited separation, especially on heterogeneous domains and paraphrased text.

Approach

Uses the output logits of a causal LM in teacher-forced guided completion to compute both forward CE (against the next token) and backward CE (against the immediately preceding input token), aggregates per-segment statistics across multiple surrogate LLMs, and trains a binary classifier; also adds a text-summary guidance prompt.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add backward cross-entropy (BCE) to forward cross-entropy (FCE) (ablation)BISCOPE with Llama-2-7B · Arxiv, Yelp, Creative, Essay, CodeF1: 0.86 and 0.93 -> 0.94Helped
Add preceding-token BCE to next-token FCE (ablation)BISCOPE motivation experiment with Llama-2-7B · Toy detection exampleF1: 0.63 -> 0.85Helped
Add text summary guidance (ablation)BISCOPE · Arxiv, Yelp, Creative, Essay, CodeF1Mixed
Use every 10% text split instead of every 50% text split (ablation)BISCOPE · CodeF1: 0.7495 -> 0.8345Helped
Remove the completion prompt (ablation)BISCOPE · CodeF1: 0.8345 -> 0.8444Mixed
Use the ensemble of six detection models rather than a single model (ablation)BISCOPE · Five datasetsF1: 0.84 to 0.95Helped

Surprising findings

Limitations

Experimental setup

Datasets: Arxiv Yelp Creative Essay Code (Python code dataset)

Benchmarks: Arxiv Yelp Creative Essay Code

Metrics: F1 score TPR at FPR time per sample

Baselines: Zero-shot Query LogRank LRR DetectGPT RADAR Raidar OpenAI Detector Binoculars GhostBuster GPTZero

Builds on: Binoculars LogRank LRR DetectGPT Raidar

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