MITB Banner

DetectGPT Takes on the Challenges of ChatGPT Menace

The method claims to be better than watermarking or pre-trained models.

Share

Listen to this story

With the rise of students using ChatGPT and other large language model tools to cheat on their school and college assignments and even write exams now, there is an urgent need for an algorithm that can detect whether the text is created by an AI or a human. To this end, a team of PhD students and computer scientists have released a new tool called DetectGPT that aims to identify whether a given piece of text is created by an LLM. 

Using a statistical method known as probability curvature, the researchers have found a method to detect AI-generated text. This approach reportedly does not require watermarking of generated text or even a dataset of real vs generated text but instead uses statistics to determine the likelihood of text generation. 

When tested on articles generated by GPT-NeoX, DetectGPT was able to find the AI-generated text 14 out of 15 times. It was even able to detect AI-generated text when text paraphrased by humans replaced up to 25% of the text. It does so by determining the log probability of generated text on a per-token basis. Simply put, per-token log probability is a method of determining the efficacy of an LLM, as it is an indicator of how ‘good’ the LLM is at statistically predicting the next word. 

By comparing the log probability of a source passage to the log probability of the same passage with multiple changes, the team was able to pin down whether the passage was created by an algorithm or not. Text created by an LLM has a ‘negative curvature’ of the log probability function, while human-generated texture tends to have a ‘positive curvature’ in the same parameter. Notably, this approach needs a white-box approach to the model to perform at maximum efficiency, as a known model provides a more accurate per-token log probability parameter. 

This method differs from training another deep learning algorithm to detect AI-generated text, as those methods commonly result in overfitting. These models also need to be trained as newer versions come out, further diluting their usability. The approach assumes the text has been modified to bypass detection methods and instead goes to the source of LLM sampling strategies to detect generated text. 

The full criteria for determining the efficacy of the detection approach has been detailed in the paper. However, the key takeaway is that this method provides an accurate detection performance without the need for stop-gap solutions like watermarking or pre-trained neural networks. On the other hand, the scientists also suggested that combining DetectGPT with other approaches like watermarking may increase the overall likelihood of discovering AI-generated text.

The rise of methods to find out whether a piece of written content is generated by AI is an important step in preventing misinformation. Teachers can also use applications built on methods like DetectGPT and watermarking to accurately determine the origin of an essay. In the future, these kinds of methods may also be used to determine human involvement in written content — an important piece of the puzzle in the age of AI-generated content. 

Share
Picture of Anirudh VK

Anirudh VK

I am an AI enthusiast and love keeping up with the latest events in the space. I love video games and pizza.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.