SeqXGPT: Sentence-Level AI-Generated Text Detection

Pengyu Wang, Linyang Li, Ke Ren, Botian Jiang, Dong Zhang +1 more
10/13/2023
cs.CL

No official code found. Best implementation: Jihuai-wpy/SeqXGPT (100 stars, Apache-2.0, last commit 2023-10-16).

Abstract

Widely applied large language models (LLMs) can generate human-like content, raising concerns about the abuse of LLMs. Therefore, it is important to build strong AI-generated text (AIGT) detectors. Current works only consider document-level AIGT detection, therefore, in this paper, we first introduce a sentence-level detection challenge by synthesizing a dataset that contains documents that are polished with LLMs, that is, the documents contain sentences written by humans and sentences modified by LLMs. Then we propose \textbf{Seq}uence \textbf{X} (Check) \textbf{GPT}, a novel method that utilizes log probability lists from white-box LLMs as features for sentence-level AIGT detection. These features are composed like \textit{waves} in speech processing and cannot be studied by LLMs. Therefore, we build SeqXGPT based on convolution and self-attention networks. We test it in both sentence and document-level detection challenges. Experimental results show that previous methods struggle in solving sentence-level AIGT detection, while our method not only significantly surpasses baseline methods in both sentence and document-level detection challenges but also exhibits strong generalization capabilities.

View on arXivView PDF

Code Implementations(1)

Jihuai-wpy/SeqXGPTCommunity100%
Apache-2.0

SeqXGPT: An advance method for sentence-level AI-generated text detection.

10013PythonOct 10, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2023seqxgpt,
  title  = {SeqXGPT: Sentence-Level AI-Generated Text Detection},
  author = {Pengyu Wang and Linyang Li and Ke Ren and Botian Jiang and Dong Zhang and Xipeng Qiu},
  year   = {2023},
  eprint = {2310.08903},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.08903v2}
}

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/2310.08903.svg)](https://codeofpaper.com/paper/2310.08903)

Discussion