AIDetx2: Lightweight and Explainable Detection of AI-Generated Text
Abstract
The evolution of Large Language Models (LLMs) has made it increasingly difficult to distinguish human-written from AI-generated text, raising concerns about the spread of misinformation and fake news and about academic and scientific integrity. To address these problems, this work presents AIDetx2, an AI-text detection framework addressing three tasks: binary detection of human-written and AI-generated text, attribution of AI-generated text to the LLM that produced it, and localization of hybrid texts that mix human and AI segments through a sliding window. We built a diverse dataset of 923,162 samples, with texts from multiple themes and types generated by five open-weight LLMs, and used it to compare lightweight machine learning classifiers over handcrafted features with a fine-tuned BERT model as a deep learning alternative. The deep learning model achieved a higher Area Under the Precision-Recall Curve (AUPRC) in both tasks, 0.948 for binary detection and 0.929 for attribution, against 0.931 and 0.907 for the machine learning models, but at a much higher computational cost. The machine learning models are lightweight and expose the features behind each prediction, supporting explainable AI. Hybrid-text localization was only partly reliable, depending on the model and the type of transition. These findings indicate that reliable AI-text detection remains challenging, regardless of the classification approach, and as LLMs continue evolving, the detection tools need to adapt to those advancements. Beyond technical contributions, this work raises questions about the characteristics that distinguish human writing and how writing practices may change as LLMs become increasingly integrated into them.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- 15 pages, 3 figures. Project website: https://aidetx2.github.io
Related papers
Learning Transformation-Induced Representational Differences for Multilingual AI-Generated Text Detection
Shared title terminologycs.CLSujit Kumar, Shifali Agrahari, Sanasam Ranbir Singh
Sublanguage Alignment: A Linguistically-Grounded Evluation Method for Domain-Specific Text Generation
Shared title terminologycs.CLJustin Hofenbitzer, Jacqueline Lammert, Bernhard Haller et al.
Conflict-Aware Retrieval-Augmented Generation: Knowledge Conflict Detection, Reranking, and Adaptive Context Selection
Shared title terminologycs.CLAlaa Zahweh, Hadi Hasan, Ali Chehab
Emotions and Appraisals in Human and AI-Generated Song Lyrics about Queer Lives
Shared title terminologycs.CLRoman Klinger, Sabine Weber
Tiny Malaysian Speech-to-Text
Shared title terminologycs.CLHusein Zolkepli
Generative Curation Yields Bigger and Better Data for Pretraining LLMs
Shared title terminologycs.CLMichael J. Ryan, William Held, Suhas Kotha et al.