Contrastive Transformer Framework for Explainable Detection of AI-Generated and Rephrased English Text

Authors

  • Deshpandey Pavan Kumar Author
  • Dr.E.S.Sharmila Sigamany Author
  • Mr Nalluri Babu Rao Author
  • Angalakuduru Aravind Author
  • Rendla Ashlesha Author
  • Elangovan Muniyandy Author
  • Kommalapati Prasanthi Author
  • Mrs N. Prasanna Lakshmi Author

Keywords:

Automated text generation, English language, Human-written text, Language models, Text classification, Text detection

Abstract

Generative Artificial Intelligence (GAI) and LLMs have transformed English textgeneration, editing, summarization, and rephrasing, creating increasing concerns regarding academic integrity, authenticity, misinformation, and the credibility of digital communication. Distinguishing human-written, AI-generated, and AI-rephrased text remains challenging because AI rephrasing can preserve semantic meaning while substantially altering linguistic characteristics. Existing detection approaches often focus on either contextual semantic representations or handcrafted linguistic features and provide limited interpretability of classification decisions. To address these limitations, this study proposes a Contrastive Transformer Framework for explainable three class detection of human-written, AI-generated, and AI-rephrased English text. The framework employs DeBERTaV3 to capture contextual semantic representations and multi-level contrastive learning to enhance separation among closely related text classes. Textagon-based lexical, syntactic, readability, and stylistic features are extracted and encoded through a Hierarchical Attention Network (HAN), after which semantic and linguistic representations are fused for classification. Layer Integrated Gradients provides interpretable evidence supporting each prediction, while cross-domain evaluation examines generalization between educational and news text. The proposed framework was evaluated using 12,000 texts comprising balanced human-written, AI generated, and AI-rephrased samples from both domains. The complete framework achieved 94.6% accuracy, 94.4% precision, 94.2% recall, and 94.3% F1-score, outperforming the Neural Network, XGBoost, and PPL based Random Forest baselines. Cross-domain accuracy reached 90.8% for educational-to-news and 91.4% for news-to-educational evaluation. The novelty lies in integrating contrastive DeBERTaV3 representations, Textagon-HAN linguistic modeling, semantic-linguistic fusion, and Layer Integrated Gradients for explainable three-class and cross-domain detection. The findings demonstrate accurate, interpretable, and robust identification of AI-generated and AI-rephrased English text.

Downloads

Download data is not yet available.

Downloads

Published

2026-10-13

How to Cite

Contrastive Transformer Framework for Explainable Detection of AI-Generated and Rephrased English Text . (2026). Minimax Theory and Its Applications, 11(4s), 145-164. https://journalmta.com/index.php/jmta/article/view/556