A stylometric machine learning framework for authorship attribution of ChatGPT and student generated texts.
Mani P, Adaikalam Arulanandam
School of Social Sciences & Languages, Vellore Institute of Technology, Vellore, Tamil Nadu, India.
Key points
From the paper's conclusion- The linguistic analysis revealed significant differences between the human-generated and AI-generated text categories. Among the evaluated classifiers, the SVM achieved the best classification performance, with an accuracy of 94.8%, precision of 93.7%, recall of 95.2%, and F1-score of 94.4%. Lexical diversity, sentence complexity, function-word frequency, and readability were identified as the most influential features in authorship prediction.
Abstract
INTRODUCTION: The surge of generative artificial intelligence (AI) has created major challenges in determining authorship, evaluating student learning, and maintaining academic integrity. Distinguishing AI-generated text from human-generated writing has therefore become increasingly important for authorship verification, educational assessment, and academic honesty. METHODS: This study proposes a machine learning-based stylometric approach for authorship prediction of short-story adaptations written by non-native German language students and generated by ChatGPT. A corpus of 60 texts was created, comprising 30 student-written adaptations and 30 ChatGPT-generated adaptations based on the same source stories. The proposed framework integrates text preprocessing, stylometric feature extraction, feature selection, and machine learning-based classification. Linguistic and stylometric features included lexical diversity, word and character frequencies, sentence and paragraph length distributions, syntactic complexity, function-word usage, punctuation patterns, readability measures, and semantic consistency. Support Vector Machine (SVM), Random Forest, Decision Tree, and Naïve Bayes classifiers were evaluated. RESULTS: The linguistic analysis revealed significant differences between the human-generated and AI-generated text categories. Among the evaluated classifiers, the SVM achieved the best classification performance, with an accuracy of 94.8%, precision of 93.7%, recall of 95.2%, and F1-score of 94.4%. Lexical diversity, sentence complexity, function-word frequency, and readability were identified as the most influential features in authorship prediction. DISCUSSION: The findings demonstrate the effectiveness of the proposed stylometric framework for automated authorship attribution and AI-generated text detection. The approach has potential applications in educational assessment, plagiarism detection, forensic linguistics, authorship verification, and the development of intelligent tools for supporting academic integrity in multilingual learning environments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Stylometry can reveal artificial intelligence authorship, but humans struggle: A comparison of human and seven large language models in JapanesePLoS ONE · 2025
- Detecting AI-Authored Text in Authentic Student Writing: Evidence from PISA 2025arXiv · 2026
- Taking a stance: AI generated versus student written argumentative essaysApplied Linguistics Review · 2026
- Hybrid deep learning for three-way classification of human-written, AI-generated, and AI-rephrased textScientific Reports · 2026
- Human or AI? An Interpretable Method for Auditing Free-Text Data in Online Psychological Research2026
- SiBot: A hybrid framework for fine-grained semantic attribution of AI-generated text and its production deployment.PloS one · 2026