Elamur Research⌕
☰
home / papers / 2024 / Ghostbuster: Detecting Text Ghostwritten by Large Language Models

Ghostbuster: Detecting Text Ghostwritten by Large Language Models

Paper · 2024 · Vivek Verma, Eve Fleisig, Nicholas Tomlin et al.

Summary

Ghostbuster tackles the detection of documents written by large language models when the generating model is unknown or only reachable as a black box. Rather than requiring token probabilities from the suspected generator, it scores each text with several weaker language models: a unigram model, a trigram model, and the non-instruction-tuned GPT-3 davinci. A structured search then combines these per-token probabilities through vector and scalar operations into a compact feature set, and a logistic regression classifier is trained on the result. The authors also built three paired human/ChatGPT benchmarks covering creative writing, news, and student essays, with generated texts roughly matched in length to the human ones. Ghostbuster reaches 99.0 F1 across domains and generalizes better than DetectGPT, GPTZero, and a RoBERTa baseline to unseen domains, prompts, and generators such as Claude. The work matters because false accusations are costly, especially for students and non-native writers. It also shows that short texts and dedicated evasion services remain weak spots.

Key points

  • Benchmark datasets: Human texts come from r/WritingPrompts, the Reuters 50-50 authorship corpus, and IvyPanda essays. AI counterparts were produced with gpt-3.5-turbo. Claude outputs and alternative prompts were reserved for evaluation only.
  • Headline results: Ghostbuster scores 99.0 F1, which is 5.9 F1 above the strongest prior detector. Its generalization gains are +7.5 F1 across domains, +2.1 F1 across prompts, and +4.4 F1 across models.
  • Ablations: Dropping the neural LLM features lowers performance by up to 10.8 F1 in-domain and 27.8 F1 out-of-domain. Relying only on handcrafted features costs 15.9–22.1 F1.
  • Robustness: The commercial evader Undetectable AI cuts recall from 99% to 62%. Detection is unreliable at ≤100 tokens and plateaus around 500 tokens.
  • Non-native writers: Accuracy exceeds 95% on TOEFL 11 and Lang8. Results drop to 74.7 F1 on the set of 91 brief TOEFL essays collected by Liang et al. (2023), a decline the authors mostly blame on document length.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

Cite

Cite as Vivek Verma, Eve Fleisig, Nicholas Tomlin and Dan Klein. 2024. Ghostbuster: Detecting Text Ghostwritten by Large Language Models. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.naacl-long.95

@inproceedings{verma2024ghostbuster,
  title = {{Ghostbuster: Detecting Text Ghostwritten by Large Language Models}},
  author = {Vivek Verma, Eve Fleisig, Nicholas Tomlin and Dan Klein},
  booktitle = {Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.95},
  url = {https://doi.org/10.18653/v1/2024.naacl-long.95}
}

References

28 references, 11 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Scott Aaronson. 2023. Watermarking of large language models. Workshop on Large Language Models and Transformers, Simons Institute, UC Berkeley. find
  2. Anton Bakhtin, Sam Gross, Myle Ott, Yuntian Deng, Marc’Aurelio Ranzato, and Arthur Szlam. 2019. Real or fake? learning to discriminate machine from human generated text. arXiv preprint arXiv:1906.03351. — [arXiv:1906.03351](https://arxiv.org/abs/1906.03351) find
  3. Amrita Bhattacharjee, Tharindu Kumarage, Raha Moraffah, and Huan Liu. 2023. ConDA: Contrastive domain adaptation for AI-generated text detection. find
  4. Daniel Blanchard, Joel Tetreault, Derrick Higgins, Aoife Cahill, and Martin Chodorow. 2013. TOEFL11: A CORPUS OF NON-NATIVE EN-GLISH. ETS Research Report Series, 2013(2):i–15. find
  5. Souradip Chakraborty, Amrit Singh Bedi, Sicheng Zhu, Bang An, Dinesh Manocha, and Furong Huang. 2023. On the possibilities of ai-generated text detection. arXiv preprint arXiv:2304.04736. — [arXiv:2304.04736](https://arxiv.org/abs/2304.04736) find
  6. Yutian Chen, Hao Kang, Vivian Zhai, Liangze Li, Rita Singh, and Bhiksha Raj. 2023. GPT-Sentinel: Distinguishing human and ChatGPT generated content. find
  7. Yao Dou, Maxwell Forbes, Rik Koncel-Kedziorski, Noah A. Smith, and Yejin Choi. 2022. Is GPT-3 text indistinguishable from human text? scarecrow: A framework for scrutinizing machine text. our card
  8. W Nelson Francis and Henry Kucera. 1979. Brown Corpus manual. Letters to the Editor, 5(2):7. find
  9. Sebastian Gehrmann, Hendrik Strobelt, and Alexander M. Rush. 2019. GLTR: Statistical detection and visualization of generated text. our card
  10. Biyang Guo, Xin Zhang, Ziyuan Wang, Minqi Jiang, Jinran Nie, Yuxuan Ding, Jianwei Yue, and Yupeng Wu. 2023. How close is ChatGPT to human experts? comparison corpus, evaluation, and detection. our card
  11. Will Heaven. 2023. ChatGPT is going to change education, not destroy it. MIT Technology Review. find
  12. John Houvardas and Efstathios Stamatatos. 2006. Ngram feature selection for authorship identification. In Artificial Intelligence: Methodology, Systems, Applications. find
  13. Daphne Ippolito, Daniel Duckworth, Chris Callison-Burch, and Douglas Eck. 2020. Automatic detection of generated text is easiest when humans are fooled. our card
  14. Ganesh Jawahar, Muhammad Abdul-Mageed, and Laks V. S. Lakshmanan. 2020. Automatic detection of machine generated text: A critical survey. our card
  15. Nurul Shamimi Kamaruddin, Amirrudin Kamsin, Lip Yee Por, and Hameedur Rahman. 2018. A review of text watermarking: Theory, methods, and applications. IEEE Access, 6:8011–8028. find
  16. Xuandong Zhao, Prabhanjan Ananth, Lei Li, and Yu-Xiang Wang. 2023. Provable robust watermarking for AI-generated text. arXiv preprint arXiv:2306.17439. find
  17. John Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Goldstein. 2023. A watermark for large language models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 17061–17084. PMLR. our card
  18. Weixin Liang, Mert Yuksekgonul, Yining Mao, Eric Wu, and James Zou. 2023. Gpt detectors are biased against non-native english writers. Patterns, 4(7):100779. our card
  19. Clara Meister and Ryan Cotterell. 2021. Language model evaluation beyond perplexity. find
  20. Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning, and Chelsea Finn. 2023. DetectGPT: Zero-shot machine-generated text detection using probability curvature. our card
  21. Tomoya Mizumoto, Mamoru Komachi, Masaaki Nagata, and Yuji Matsumoto. 2011. Mining revision log of language learning SNS for automated Japanese error correction of second language learners. In Proceedings of 5th International Joint Conference on Natural Language Processing, pages 147–155, Chiang Mai,… find
  22. OpenAI. 2019. GPT-2: 1.5b release. find
  23. Jiameng Pu, Zain Sarwar, Sifat Muhammad Abdullah, Abdullah Rehman, Yoonjin Kim, Parantapa Bhattacharya, Mobin Javed, and Bimal Viswanath. 2023. Deepfake text detection: Limitations and opportunities. In 2023 IEEE Symposium on Security and Privacy (SP), pages 1613–1630. IEEE. find
  24. Vinu Sankar Sadasivan, Aounon Kumar, Sriram Balasubramanian, Wenxiao Wang, and Soheil Feizi. 2023. Can AI-generated text be reliably detected? our card
  25. Irene Solaiman, Miles Brundage, Jack Clark, Amanda Askell, Ariel Herbert-Voss, Jeff Wu, Alec Radford, Gretchen Krueger, Jong Wook Kim, Sarah Kreps, Miles McCain, Alex Newhouse, Jason Blazakis, Kris McGuffie, and Jasmine Wang. 2019. Release strategies and the social impacts of language models. our card
  26. Edward Tian. 2023. GPTZero: Home. find
  27. Adaku Uchendu, Thai Le, Kai Shu, and Dongwon Lee. 2020. Authorship attribution for neural text generation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 8384–8395, Online. Association for Computational Linguistics. our card
  28. Vivek Verma, Nicholas Tomlin, and Dan Klein. 2023. Revisiting entropy rate constancy in text. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 15537–15549, Singapore. Association for Computational Linguistics. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/verma-2024-ghostbuster-detecting-text-ghostwritten-large/