Multiscale Positive-Unlabeled Detection of AI-Generated Texts

Yuchuan Tian, Hanting Chen, Xutao Wang, Zheyuan Bai, Qinghua Zhang +3 more
2/12/2026

No official code found. Best implementation: huawei-noah/Efficient-Computing (1,303 stars, last commit 2024-11-05). 1 more below.

Abstract

Recent releases of Large Language Models (LLMs), e.g. ChatGPT, are astonishing at generating human-like texts, but they may impact the authenticity of texts. Previous works proposed methods to detect these AI-generated texts, including simple ML classifiers, pretrained-model-based zero-shot methods, and finetuned language classification models. However, mainstream detectors always fail on short texts, like SMSes, Tweets, and reviews. In this paper, a Multiscale Positive-Unlabeled (MPU) training framework is proposed to address the difficulty of short-text detection without sacrificing long-texts. Firstly, we acknowledge the human-resemblance property of short machine texts, and rephrase AI text detection as a partial Positive-Unlabeled (PU) problem by regarding these short machine texts as partially ``unlabeled". Then in this PU context, we propose the length-sensitive Multiscale PU Loss, where a recurrent model in abstraction is used to estimate positive priors of scale-variant corpora. Additionally, we introduce a Text Multiscaling module to enrich training corpora. Experiments show that our MPU method augments detection performance on long AI-generated texts, and significantly improves short-text detection of language model detectors. Language Models trained with MPU could outcompete existing detectors on various short-text and long-text detection benchmarks. The codes are available at https://github.com/mindspore-lab/mindone/tree/master/examples/detect_chatgpt and https://github.com/YuchuanTian/AIGC_text_detector.

View on arXivView PDF

Code Implementations(2)

Efficient computing methods developed by Huawei Noah's Ark Lab

1,303220C++, CudaSep 4, 20191 years ago
binary-neural-networksknowledge-distillationmodel-compressionpruningquantization+1 more
Apache-2.0

[ICLR'24 Spotlight] The official codes of our work on AIGC detection: "Multiscale Positive-Unlabeled Detection of AI-Generated Texts"

46946PythonJun 2, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{tian2026multiscale,
  title  = {Multiscale Positive-Unlabeled Detection of AI-Generated Texts},
  author = {Yuchuan Tian and Hanting Chen and Xutao Wang and Zheyuan Bai and Qinghua Zhang and Ruifeng Li and Chaoxi Xu and Yunhe Wang},
  year   = {2026},
  eprint = {2305.18149},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2305.18149},
  journal = {ICLR 2023 2023}
}

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

Discussion