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

Abhimanyu Hans, Avi Schwarzschild, Valeriia Cherepanova, Hamid Kazemi, Aniruddha Saha, Micah Goldblum, Jonas Geiping, Tom Goldstein

arXiv:2401.12070 · 2026-07-27 공개 · arXiv · PDF

language-models zero-shot text-generation model-agnostic llm-detection chatgpt nlp-evaluation machine-text

Abstract

Detecting text generated by modern large language models is thought to be hard, as both LLMs and humans can exhibit a wide range of complex behaviors. However, we find that a score based on contrasting two closely related language models is highly accurate at separating human-generated and machine-generated text. Based on this mechanism, we propose a novel LLM detector that only requires simple calculations using a pair of pre-trained LLMs. The method, called Binoculars, achieves state-of-the-art accuracy without any training data. It is capable of spotting machine text from a range of modern LLMs without any model-specific modifications. We comprehensively evaluate Binoculars on a number of text sources and in varied situations. Over a wide range of document types, Binoculars detects over 90% of generated samples from ChatGPT (and other LLMs) at a false positive rate of 0.01%, despite not being trained on any ChatGPT data.

한국어 요약

한 줄 요약

Binoculars는 두 개의 사전 학습된 LLM을 사용하여 제로샷 방식으로 90% 이상의 정확도로 기계 생성 텍스트를 탐지하는 새로운 방법이다.

핵심 기여도

핵심 아이디어

기존 연구는 LLM 생성 텍스트를 탐지하기 위해 특정 모델의 학습 데이터를 필요로 했으나, Binoculars는 두 개의 사전 학습된 LLM을 사용하여 제로샷 방식으로 탐지를 수행한다. 핵심 아이디어는 "observer"와 "performer"라는 두 LLM을 통해 텍스트의 log perplexity와 cross-perplexity를 계산하는 것이다. 이는 기계 생성 텍스트가 특정 모델에 의해 예측 가능한 반면, 인간 생성 텍스트는 더 예측 불가능하다는 통찰에 기반한다. Binoculars는 이 차이를 기반으로 기계 생성 여부를 판단하며, 별도의 학습 없이도 높은 성능을 보인다.

기술적 접근법

주요 결과

의의 및 한계

Binoculars는 제로샷 방식으로 LLM 생성 텍스트를 탐지하는 데 성공하여, 기존 탐지 방법의 한계를 극복한다. 특히, 여러 LLM을 동일한 탐지기로 처리할 수 있어 플랫폼 모니터링 및 사회적 미디어 관리에 실용적이다. 그러나 GPU 메모리 제약으로 30B 이상의 대형 모델은 평가하지 못했으며, 의도적으로 탐지 회피를 시도한 경우를 고려하지 않았다는 한계가 있다. 또한, 소스 코드와 같은 비대화형 텍스트는 연구 범위에서 제외되었다.

실용적 활용

Binoculars는 사회적 미디어 플랫폼에서 가짜 리뷰, 봇 활동, 정보 조작을 탐지하는 데 활용할 수 있다. 또한, 학술적 위조 탐지 및 온라인 콘텐츠 모니터링 시스템에도 적용 가능하다. 특히, 다양한 LLM을 탐지할 수 있어 모델별 탐지기를 개별적으로 구축할 필요가 없어 비용 효율적이다.