[Paper Review] Generative AI Text Classification using Ensemble LLM Approaches
The paper proposes an ensemble LLM-based framework that uses probabilities from multiple pre-trained LLMs as features for traditional ML classifiers to detect AI-generated text and attribute the source model, evaluated on English and Spanish data from the AuTexTification task.
Large Language Models (LLMs) have shown impressive performance across a variety of Artificial Intelligence (AI) and natural language processing tasks, such as content creation, report generation, etc. However, unregulated malign application of these models can create undesirable consequences such as generation of fake news, plagiarism, etc. As a result, accurate detection of AI-generated language can be crucial in responsible usage of LLMs. In this work, we explore 1) whether a certain body of text is AI generated or written by human, and 2) attribution of a specific language model in generating a body of text. Texts in both English and Spanish are considered. The datasets used in this study are provided as part of the Automated Text Identification (AuTexTification) shared task. For each of the research objectives stated above, we propose an ensemble neural model that generates probabilities from different pre-trained LLMs which are used as features to a Traditional Machine Learning (TML) classifier following it. For the first task of distinguishing between AI and human generated text, our model ranked in fifth and thirteenth place (with macro $F1$ scores of 0.733 and 0.649) for English and Spanish texts, respectively. For the second task on model attribution, our model ranked in first place with macro $F1$ scores of 0.625 and 0.653 for English and Spanish texts, respectively.
Motivation & Objective
- Motivate the need to detect AI-generated text to mitigate misinformation, plagiarism, and other risks of unregulated LLM use.
- Develop an ensemble approach that leverages probabilities from multiple pre-trained LLMs as features for a traditional ML classifier.
- Apply the method to two AuTexTification tasks: AI vs human (binary) and model attribution (multiclass) across English and Spanish.
- Evaluate the framework against baselines and report performance on test data from AuTexTification.
Proposed method
- Fine-tune multiple pre-trained LLMs (e.g., DeBERTa, XLM-RoBERTa, RoBERTa, BERT) on the training data for each task/language.
- Obtain classification probabilities from each model (P^D, P^X, P^R, P^B, etc.).
- Concatenate (P^C) or average (P^A) these probabilities to form input feature vectors for traditional ML classifiers.
- Train traditional ML models (Voting classifier, OneVsRest, ECOC, Linear SVC) on the ensemble features to produce final predictions.
- Evaluate using accuracy, macro F1, precision, and recall on test data.
- Report task- and language-specific results and compare ensemble approaches to baselines.
Experimental results
Research questions
- RQ1Can an ensemble of LLM-derived probabilities effectively distinguish AI-generated text from human-written text in English and Spanish?
- RQ2Can the same ensemble approach accurately attribute a text to its source AI model across English and Spanish?
- RQ3How do different ensemble strategies (concatenated vs averaged probabilities) and ML classifiers impact performance on the two AuTexTification tasks?
Key findings
- The ensemble with a Voting classifier using concatenated probabilities (P^C) achieves macro F1 of 0.733 on Binary-English and 0.649 on Binary-Spanish for the AI-vs-human task.
- For Binary-English, the Voting ensemble reaches an accuracy of 0.751, macro F1 of 0.733, precision 0.826, and recall 0.745.
- For Binary-Spanish, the OneVsRest ensemble with concatenated features achieves macro F1 of 0.649, precision 0.805, recall 0.667 (best among compared methods).
- In the Model Attribution task, the ECOC ensemble on concatenated features attains macro F1 of 0.625 for Multiclass-English and 0.653 for Multiclass-Spanish (top among reported runs).
- The Linear SVC ensemble with averaged features yields macro F1 of 0.654 on Multiclass-Spanish (best in that language).
- Overall, the ensemble LLM approach shows strong performance for model attribution and competitive results for AI-vs-human detection across both languages.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.