DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
AI-generated Key Points
- Large language models (LLMs) like GPT-3 are capable of generating highly fluent and factually accurate text.
- Detecting machine-written content has become increasingly important, especially in academic settings where students may use LLMs to complete assignments.
- DetectGPT is a new approach that leverages negative curvature regions in the log probability function of LLMs to detect machine-generated text.
- DetectGPT compares the log probability of a passage with perturbations from a generic pre-trained model like T5 to determine if it was likely generated by a specific LLM such as GPT-3.
- This approach does not require training a separate classifier or collecting datasets of real or generated passages.
- Machine-generated text extends beyond academia into journalism and other contexts, raising concerns about factual accuracy and potential misinformation.
- Automated detection methods like DetectGPT provide teachers and news-readers with more confidence in determining the origin of text they consume.
- DetectGPT represents a significant advancement in zero-shot machine-generated text detection, outperforming existing methods in identifying fake news articles generated by large-scale LLMs like GPT-NeoX.
- Tools like DetectGPT address concerns related to student assessment, misinformation, and pave the way for more reliable interactions with machine-generated content across various domains.
Authors: Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning, Chelsea Finn
Abstract: The fluency and factual knowledge of large language models (LLMs) heightens the need for corresponding systems to detect whether a piece of text is machine-written. For example, students may use LLMs to complete written assignments, leaving instructors unable to accurately assess student learning. In this paper, we first demonstrate that text sampled from an LLM tends to occupy negative curvature regions of the model's log probability function. Leveraging this observation, we then define a new curvature-based criterion for judging if a passage is generated from a given LLM. This approach, which we call DetectGPT, does not require training a separate classifier, collecting a dataset of real or generated passages, or explicitly watermarking generated text. It uses only log probabilities computed by the model of interest and random perturbations of the passage from another generic pre-trained language model (e.g, T5). We find DetectGPT is more discriminative than existing zero-shot methods for model sample detection, notably improving detection of fake news articles generated by 20B parameter GPT-NeoX from 0.81 AUROC for the strongest zero-shot baseline to 0.95 AUROC for DetectGPT. See https://ericmitchell.ai/detectgpt for code, data, and other project information.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
Assess the quality of the AI-generated content by voting
Score: 0
Why do we need votes?
Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.