Spotting AI's Touch: Identifying LLM-Paraphrased Spans in Text

Yafu Li, Zhilin Wang, Leyang Cui, Wei Bi, Shuming Shi +1 more
5/21/2024
cs.CLcs.AI

Official code: Linzwcs/PASTED (8 stars, last commit 2024-06-07).

Abstract

AI-generated text detection has attracted increasing attention as powerful language models approach human-level generation. Limited work is devoted to detecting (partially) AI-paraphrased texts. However, AI paraphrasing is commonly employed in various application scenarios for text refinement and diversity. To this end, we propose a novel detection framework, paraphrased text span detection (PTD), aiming to identify paraphrased text spans within a text. Different from text-level detection, PTD takes in the full text and assigns each of the sentences with a score indicating the paraphrasing degree. We construct a dedicated dataset, PASTED, for paraphrased text span detection. Both in-distribution and out-of-distribution results demonstrate the effectiveness of PTD models in identifying AI-paraphrased text spans. Statistical and model analysis explains the crucial role of the surrounding context of the paraphrased text spans. Extensive experiments show that PTD models can generalize to versatile paraphrasing prompts and multiple paraphrased text spans. We release our resources at https://github.com/Linzwcs/PASTED.

View on arXivView PDF

Code Implementations(1)

Linzwcs/PASTEDOfficial100%
80Shell, PythonApr 18, 20242 years ago

Cite this paper

@article{li2024spotting,
  title  = {Spotting AI's Touch: Identifying LLM-Paraphrased Spans in Text},
  author = {Yafu Li and Zhilin Wang and Leyang Cui and Wei Bi and Shuming Shi and Yue Zhang},
  year   = {2024},
  eprint = {2405.12689},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.12689v2}
}

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

Discussion