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. Submission history Access Paper: View PDF HTML (experimental) TeX Source Additional Features Audio Summary Current browse context: References & Citations Google Scholar Semantic Scholar Bookmark Institution arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
AI NEWS JOURNAL
arXiv cs.CLAI NEWS / JOURNAL
AIDetx2: Lightweight and Explainable Detection of AI-Generated Text
arXiv:2612.00404v1 Announce Type: new 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.