English

Detecting AI-Generated Texts in Cross-Domains

Computation and Language 2024-10-21 v1 Artificial Intelligence

Abstract

Existing tools to detect text generated by a large language model (LLM) have met with certain success, but their performance can drop when dealing with texts in new domains. To tackle this issue, we train a ranking classifier called RoBERTa-Ranker, a modified version of RoBERTa, as a baseline model using a dataset we constructed that includes a wider variety of texts written by humans and generated by various LLMs. We then present a method to fine-tune RoBERTa-Ranker that requires only a small amount of labeled data in a new domain. Experiments show that this fine-tuned domain-aware model outperforms the popular DetectGPT and GPTZero on both in-domain and cross-domain texts, where AI-generated texts may either be in a different domain or generated by a different LLM not used to generate the training datasets. This approach makes it feasible and economical to build a single system to detect AI-generated texts across various domains.

Keywords

Cite

@article{arxiv.2410.13966,
  title  = {Detecting AI-Generated Texts in Cross-Domains},
  author = {You Zhou and Jie Wang},
  journal= {arXiv preprint arXiv:2410.13966},
  year   = {2024}
}
R2 v1 2026-06-28T19:26:31.485Z