Digital Tool Spots Academic Text Spawned by ChatGPT with 99% Accuracy

Heather Desaire, a chemist who uses machine learning in biomedical research at the University of Kansas, has unveiled a new tool that detects with 99% accuracy scientific text generated by ChatGPT, the artificial intelligence text generator.

The peer-reviewed journal Cell Reports Physical Science published research showing the efficacy of her AI-detection method, along with sufficient source code for others to replicate the tool.

Desaire, the Keith D. Wilner Chair in Chemistry at KU, said accurate AI-detection tools urgently are required to defend scientific integrity.

"ChatGPT and all other AI text generators like it make up facts," she said. "In academic science publishing - writings about new discoveries and the edge of human knowledge - we really can’t afford to pollute the literature with believable-sounding falsehoods. They’d unavoidably make their way into publications if AI text generators are commonly used. As far as I’m aware, there’s no foolproof way to, in an automated fashion, find those ‘hallucinations’ as they’re called. Once you start populating real scientific facts with made-up AI nonsense that sounds perfectly believable, those publications are going to become less trustable, less valuable."

She said the success of her detection method depends on narrowing the scope of writing under scrutiny to scientific writing of the kind found commonly in peer-reviewed journals. This improves accuracy over existing AI-detection tools, like the RoBERTa detector, which aim to detect AI in more general writing.

"You can easily build a method to distinguish human from ChatGPT writing that is highly accurate, given the trade-off that you’re restricting yourself to considering a particular group of humans who write in a particular way," Desaire said. "Existing AI detectors are typically designed as general tools to be leveraged on any kind of writing. They are useful for their intended purpose, but on any specific kind of writing, they’re not going to be as accurate as a tool built for that specific and narrow purpose."

Desaire said university instructors, grant-giving entities and publishers all require a precise way to detect AI output presented as work from a human mind.

"When you start to think about 'AI plagiarism,' 90% accurate isn’t good enough," Desaire said. "You can't go around accusing people of surreptitiously using AI and be frequently wrong in those accusations - accuracy is critical. But to get accuracy, the trade-off is most often generalizability."

Desaire's coauthors were all from her KU research group: Romana Jarosova, research assistant professor of chemistry at KU; David Huax, information systems analyst; and graduate students Aleesa E. Chua and Madeline Isom.

Desaire and her team’s success at detecting AI text may stem from the high level of human insight (versus machine-learning pattern detection) that went into devising the code.

"We used a much smaller dataset and much more human intervention to identify the key differences for our detector to focus on," Desaire said. "To be exact, we built our strategy using just 64 human-written documents and 128 AI documents as our training data. This is maybe 100,000 times smaller than the size of data sets used to train other detectors. People often gloss over numbers. But 100,000 times - that's the difference between the cost of a cup of coffee and a house. So, we had this small data set, which could be processed super quickly, and all the documents could actually be read by people. We used our human brains to find useful differences in the document sets, we didn't rely on the strategies to differentiate humans and AI that had been developed previously."

Indeed, the KU researcher said the group built their approach without relying on the strategies in past approaches to AI detection. The resulting technique has elements completely unique to the field of AI text detection.

"I'm a little embarrassed to admit this, but we didn’t even consult the literature on AI text detection until after we had a working tool of our own in hand," Desaire said. "We were doing this not based on how computer scientists think about text detection, but instead using our intuition about what would work."

In another important aspect, Desaire and her group flipped the script on methods used by previous teams building AI-detection methods.

"We didn’t make the AI text the focus when developing the key features," she said. "We made the human text the focus. Most researchers building their AI detectors seem to ask themselves, 'What does AI-generated text look like?' We asked, 'What does this unique group of human writing look like, and how is it different from AI texts?' Ultimately, AI writing is human writing since the AI generators are built with large repositories of human writing that they piece together. But AI writing, from ChatGPT at least, is generalized human writing drawn from a variety of sources.

"Scientists' writing is not generalized human writing. It's scientists’ writing. And we scientists are a very special group."

Desaire has made her team’s AI-detecting code fully accessible to researchers interested in building off it. She hopes others will realize that AI and AI detection are within reach of people who might not consider themselves computer programmers now.

"ChatGPT is really such a radical advance, and it has been adopted so quickly by so many people, this seems like an inflection point in our reliance on AI," she said. "But the reality is, with some guidance and effort, a high school student could do what we did.

"There are huge opportunities for people to get involved in AI, even if they don’t have a computer-science degree. None of the authors on our manuscript have degrees in computer science. One outcome I would like to see from this work is that people who are interested in AI will know the barriers to developing real and useful products, like ours, aren’t that high. With a little knowledge and some creativity, a lot of people can contribute to this field."

Heather Desaire, Aleesa E. Chua, Madeline Isom, Romana Jarosova, David Hua.
Distinguishing academic science writing from humans or ChatGPT with over 99% accuracy using off-the-shelf machine learning tools.
Cell Reports Physical Science, 2023. doi: 10.1016/j.xcrp.2023.101426

Most Popular Now

Is AI in Medicine Playing Fair?

As artificial intelligence (AI) rapidly integrates into health care, a new study by researchers at the Icahn School of Medicine at Mount Sinai reveals that all generative AI models may...

Generative AI's Diagnostic Capabili…

The use of generative AI for diagnostics has attracted attention in the medical field and many research papers have been published on this topic. However, because the evaluation criteria were...

New System for the Early Detection of Au…

A team from the Human-Tech Institute-Universitat Politècnica de València has developed a new system for the early detection of Autism Spectrum Disorder (ASD) using virtual reality and artificial intelligence. The...

Diagnoses and Treatment Recommendations …

A new study led by Prof. Dan Zeltzer, a digital health expert from the Berglas School of Economics at Tel Aviv University, compared the quality of diagnostic and treatment recommendations...

AI Tool can Track Effectiveness of Multi…

A new artificial intelligence (AI) tool that can help interpret and assess how well treatments are working for patients with multiple sclerosis (MS) has been developed by UCL researchers. AI uses...

Dr Jason Broch Joins the Highland Market…

The Highland Marketing advisory board has welcomed a new member - Dr Jason Broch, a GP and director with a strong track record in the NHS and IT-enabled transformation. Dr Broch...

Surrey and Sussex Healthcare NHS Trust g…

Surrey and Sussex Healthcare NHS Trust has marked an important milestone in connecting busy radiologists across large parts of South East England, following the successful go live of Sectra's enterprise...

Multi-Resistance in Bacteria Predicted b…

An AI model trained on large amounts of genetic data can predict whether bacteria will become antibiotic-resistant. The new study shows that antibiotic resistance is more easily transmitted between genetically...

AI-Driven Smart Devices to Transform Hea…

AI-powered, internet-connected medical devices have the potential to revolutionise healthcare by enabling early disease detection, real-time patient monitoring, and personalised treatments, a new study suggests. They are already saving lives...

DMEA 2025 Ends with Record Attendance an…

8 - 10 April 2025, Berlin, Germany. DMEA 2025 came to a successful close with record attendance and an impressive program. 20,500 participants attended Europe's leading digital health event over the...

A Novel AI-Based Method Reveals How Cell…

Researchers from Tel Aviv University have developed an innovative method that can help to understand better how cells behave in changing biological environments, such as those found within a cancerous...