LLM-Detector: Improving AI-Generated Chinese Text Detection with Open-Source LLM Instruction Tuning

Rongsheng Wang, Haoming Chen, Ruizhe Zhou, Han Ma, Yaofei Duan +4 more
2/2/2024
cs.CL

No official code found. Best implementation: JichengTech/LLM-Detector (25 stars, last commit 2024-06-05).

Abstract

ChatGPT and other general large language models (LLMs) have achieved remarkable success, but they have also raised concerns about the misuse of AI-generated texts. Existing AI-generated text detection models, such as based on BERT and RoBERTa, are prone to in-domain over-fitting, leading to poor out-of-domain (OOD) detection performance. In this paper, we first collected Chinese text responses generated by human experts and 9 types of LLMs, for which to multiple domains questions, and further created a dataset that mixed human-written sentences and sentences polished by LLMs. We then proposed LLM-Detector, a novel method for both document-level and sentence-level text detection through Instruction Tuning of LLMs. Our method leverages the wealth of knowledge LLMs acquire during pre-training, enabling them to detect the text they generate. Instruction tuning aligns the model's responses with the user's expected text detection tasks. Experimental results show that previous methods struggle with sentence-level AI-generated text detection and OOD detection. In contrast, our proposed method not only significantly outperforms baseline methods in both sentence-level and document-level text detection but also demonstrates strong generalization capabilities. Furthermore, since LLM-Detector is trained based on open-source LLMs, it is easy to customize for deployment.

View on arXivView PDF

Code Implementations(1)

This is an official implementation of paper "LLM-Detector: Improving AI-Generated Chinese Text Detection with Open-Source LLM Instruction Tuning"

250Nov 11, 20232 years ago

Similar Papers

Cite this paper

@article{wang2024llmdetector,
  title  = {LLM-Detector: Improving AI-Generated Chinese Text Detection with Open-Source LLM Instruction Tuning},
  author = {Rongsheng Wang and Haoming Chen and Ruizhe Zhou and Han Ma and Yaofei Duan and Yanlan Kang and Songhua Yang and Baoyu Fan and Tao Tan},
  year   = {2024},
  eprint = {2402.01158},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.01158v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.01158.svg)](https://codeofpaper.com/paper/2402.01158)

Discussion