Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Ghostbuster: Detecting Text Ghostwritten by Large Language Models

About

We introduce Ghostbuster, a state-of-the-art system for detecting AI-generated text. Our method works by passing documents through a series of weaker language models, running a structured search over possible combinations of their features, and then training a classifier on the selected features to predict whether documents are AI-generated. Crucially, Ghostbuster does not require access to token probabilities from the target model, making it useful for detecting text generated by black-box models or unknown model versions. In conjunction with our model, we release three new datasets of human- and AI-generated text as detection benchmarks in the domains of student essays, creative writing, and news articles. We compare Ghostbuster to a variety of existing detectors, including DetectGPT and GPTZero, as well as a new RoBERTa baseline. Ghostbuster achieves 99.0 F1 when evaluated across domains, which is 5.9 F1 higher than the best preexisting model. It also outperforms all previous approaches in generalization across writing domains (+7.5 F1), prompting strategies (+2.1 F1), and language models (+4.4 F1). We also analyze the robustness of our system to a variety of perturbations and paraphrasing attacks and evaluate its performance on documents written by non-native English speakers.

Vivek Verma, Eve Fleisig, Nicholas Tomlin, Dan Klein• 2023

Related benchmarks

TaskDatasetResultRank
Machine-generated text detectionGhostbusters Student Essays
F1 Score99.5
10
Machine-generated text detectionGhostbusters News
F1 Score99.5
10
Machine-generated text detectionGhostbusters Creative Writing
F1 Score98.4
10
AI-generated text detectionPrompt variants various (test)
F1 Score99.5
5
AI-generated text detectionClaude-generated (test)
F1 Score92.2
5
AI-generated text detectionNews in-domain
F1 Score99.5
5
AI-generated text detectionCreative Writing In-Domain
F1 Score98.4
5
AI-generated text detectionStudent Essays In-Domain
F1 Score99.5
5
AI-generated text detectionAll Domains In-Domain
F1 Score99
5
AI-generated text detectionNews Out-of-Domain
F1 Score97.9
5
Showing 10 of 16 rows

Other info

Code

Follow for update