Trace Is In Sentences: Unbiased Lightweight ChatGPT-Generated Text Detector

Mo Mu, Dianqiao Lei, Chang Li
9/23/2025
cs.CLeess.SP

No confident code implementation found for this paper.

Abstract

The widespread adoption of ChatGPT has raised concerns about its misuse, highlighting the need for robust detection of AI-generated text. Current word-level detectors are vulnerable to paraphrasing or simple prompts (PSP), suffer from biases induced by ChatGPT's word-level patterns (CWP) and training data content, degrade on modified text, and often require large models or online LLM interaction. To tackle these issues, we introduce a novel task to detect both original and PSP-modified AI-generated texts, and propose a lightweight framework that classifies texts based on their internal structure, which remains invariant under word-level changes. Our approach encodes sentence embeddings from pre-trained language models and models their relationships via attention. We employ contrastive learning to mitigate embedding biases from autoregressive generation and incorporate a causal graph with counterfactual methods to isolate structural features from topic-related biases. Experiments on two curated datasets, including abstract comparisons and revised life FAQs, validate the effectiveness of our method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mu2025trace,
  title  = {Trace Is In Sentences: Unbiased Lightweight ChatGPT-Generated Text Detector},
  author = {Mo Mu and Dianqiao Lei and Chang Li},
  year   = {2025},
  eprint = {2509.18535},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.18535v1}
}

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

Discussion