Automatic AI Detection for Romanian Language
This study presents a model trained to detect AI-generated text in Romanian, a dedicated training dataset, and an Android application that enables large-scale use of the model. We have built a data analysis pipeline that creates a high-quality dataset used to train a model that classifies sentences. The dataset started with collecting human-written content extracted from Romanian articles published at RRIOC between 2008 and 2015. The content was modified and then used to rephrase the obtained chunks using a randomly chosen prompt with the help of GPT, Claude, and Gemini models. Several classical machine learning classifiers, a Bi-LSTM network, and fine-tuned transformer models (BERT, XLM-R, RoBERT) were evaluated under three complementary settings: a classic random split, a document-level split, and a leave-one-generator-out cross-validation. BERT achieved the best balance between accuracy and generalisation, reaching 99.35% accuracy on the classic split, 98.15% on the document-level split, and a consistently high accuracy (95.13–98.32%) across the leave-one-generator-out folds, making it the most reliable deployment model. The final classifier, based on the pretrained bert-base-romanian-cased-v1 model, has been integrated into an Android application that detects AI-generated content in Romanian and English from plain text, PDF, or OCR-extracted images, presenting results through a detailed content analysis. The application supports multiple input formats, including plain text, PDF documents, and images through OCR extraction. The proposed system demonstrates that a carefully designed dataset, combined with a robust transformer-based classifier, can reliably detect AI-generated Romanian text while maintaining strong generalisation across different text generation models. The application, model, and dataset are available on.
Authors
- Paul Ștefan Popescu (ORCID: https://orcid.org/0000-0003-4504-6144)
- Marian Cristian Mihăescu (ORCID: https://orcid.org/0000-0003-0350-0441)
- Cristina Andreea Tomoiu
Institutions
- University of Craiova (RO)
Publication Details
- Journal
- Acta Universitatis Sapientiae Informatica
- Published
- 2026-12-02
- DOI
- https://doi.org/10.1007/s44427-026-00047-2
- Primary Topic
- Authorship Attribution and Profiling
- Type
- article
- Field-Weighted Citation Impact
- 0.00