Cross-Model Deepfake Text Detection with XLM-RoBERTa: A Strongly Generalizable Multi-LLM Training Strategy

dc.contributor.authorOner, Ismail
dc.contributor.authorOzbay, Erdal
dc.date.accessioned2026-09-08T07:11:56Z
dc.date.issued2026
dc.departmentFırat Üniveristesi
dc.description.abstractThe rapid advancement of Large Language Models (LLMs) has significantly complicated the distinction between AI-generated and human-written texts. This challenge becomes particularly pronounced in formal and structurally constrained texts, such as academic writing. In this study, a deep learning approach based on the XLM-RoBERTa architecture is proposed for detecting deepfake (DF) texts, with a focus on achieving strong generalization capability within the academic domain. A large-scale dataset comprising 63,000 human-written and AI-generated texts (from Llama-3.1, Gemma-2, Qwen-2.5, Phi-3, Falcon, and Mistral) was constructed. The proposed multi-model data strategy is designed to encourage the model to learn structural and stylistic distinctions between human and AI-generated texts, rather than memorizing model-specific stylistic patterns, thereby reducing false positive rates, particularly for formal human-written content. To analyze the model's learning behavior, no preprocessing was applied to the training data. The model was evaluated on two independent test sets (preprocessed and non-preprocessed), neither of which was seen during training. Experimental results show that the model achieves an F1-score of 99.76% on the validation set, while maintaining 93.42% accuracy and 94.67% recall on the preprocessed (Zero-Artifact) test set. These findings indicate that the model relies on inherent linguistic and structural patterns of AI-generated text in formal context, rather than dataset-specific superficial artifacts, suggesting improved robustness and generalization in academic integrity applications.
dc.identifier.doi10.3390/app16105060
dc.identifier.issn2076-3417
dc.identifier.issue10
dc.identifier.scopus2-s2.0-105040216750
dc.identifier.scopusqualityQ1
dc.identifier.urihttps://doi.org/10.3390/app16105060
dc.identifier.urihttps://hdl.handle.net/11508/65216
dc.identifier.volume16
dc.identifier.wosWOS:001774213000001
dc.identifier.wosqualityQ2
dc.indekslendigikaynakWeb of Science
dc.indekslendigikaynakScopus
dc.language.isoen
dc.publisherMdpi
dc.relation.ispartofApplied Sciences-Basel
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/openAccess
dc.snmzKA_WOS_20250903
dc.subjectNatural Language Processing
dc.subjectArtificial Intelligence
dc.subjectLarge Language Models
dc.subjectDeepfake Text Detection
dc.subjectXlm-Roberta
dc.titleCross-Model Deepfake Text Detection with XLM-RoBERTa: A Strongly Generalizable Multi-LLM Training Strategy
dc.typeArticle

Dosyalar