Multiscale Positive-Unlabeled Detection of AI-Generated Texts

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tian, Yuchuan, Chen, Hanting, Wang, Xutao, Bai, Zheyuan, Zhang, Qinghua, Li, Ruifeng, Xu, Chao, Wang, Yunhe
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911788933578752
author Tian, Yuchuan
Chen, Hanting
Wang, Xutao
Bai, Zheyuan
Zhang, Qinghua
Li, Ruifeng
Xu, Chao
Wang, Yunhe
author_facet Tian, Yuchuan
Chen, Hanting
Wang, Xutao
Bai, Zheyuan
Zhang, Qinghua
Li, Ruifeng
Xu, Chao
Wang, Yunhe
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2305_18149
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Multiscale Positive-Unlabeled Detection of AI-Generated Texts
Tian, Yuchuan
Chen, Hanting
Wang, Xutao
Bai, Zheyuan
Zhang, Qinghua
Li, Ruifeng
Xu, Chao
Wang, Yunhe
Computation and Language
Artificial Intelligence
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.
title Multiscale Positive-Unlabeled Detection of AI-Generated Texts
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2305.18149