atlas

Research map / Large language models / Language, safety and interpretability

Multiscale Positive-Unlabeled Detection of AI-Generated Texts

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Zero-shot machine-text detection · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Frames AI-generated text detection as a partial positive-unlabeled problem and trains BERT/RoBERTa detectors with a length-sensitive Multiscale PU loss plus sentence-level random deletion augmentation, improving short-text detection.

Problem

Detectors of LLM-generated text fail on short texts (SMS, tweets, reviews), where short machine texts are often indistinguishable from human text, while long-text detection must not be sacrificed.

Approach

Treat short machine texts as partially unlabeled and apply a PU loss whose class prior varies with text length, estimated by an abstract recurrent token-level discriminator; combined with a Text Multiscaling module that randomly deletes sentences to create varied-length training texts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply MPU trainingRoBERTa-Finetuned · TweepFakeaccuracy: 89.6 -> 91.4Helped
apply MPU trainingRoBERTa-Finetuned · HC3-En-SentF1: 58.60$\pm$10.53 -> 85.31$\pm$1.80Helped
apply MPU trainingRoBERTa-Finetuned · HC3-En-FullF1: 97.42$\pm$0.92 -> 98.40$\pm$0.31Helped
apply MPU trainingRoBERTa-Finetuned · HC3-Ch-SentF1: 83.07$\pm$6.85 -> 89.37$\pm$1.94Helped
omit short training texts from backward operations (ablation)RoBERTa finetuning · HC3-En-SentF1: 58.60 $\pm$ 10.53 -> 62.42 $\pm$ 5.60Helped
add Text Multiscaling only (ablation)RoBERTa finetuning without MPU loss · HC3-English SentF1: 58.60$\pm$10.53 -> 82.76$\pm$2.76Helped
add Text Multiscaling only (ablation)RoBERTa finetuning without MPU loss · HC3-English FullF1: 97.42$\pm$0.92 -> 96.42$\pm$2.27Hurt
add MPU loss only (ablation)RoBERTa finetuning without Text Multiscaling · HC3-English SentF1: 58.60$\pm$10.53 -> 45.30$\pm$8.78Hurt
add MPU loss only (ablation)RoBERTa finetuning without Text Multiscaling · HC3-English FullF1: 97.42$\pm$0.92 -> 97.48$\pm$2.41No clear effect
replace Multiscale PU loss with ordinary PU loss (ablation)RoBERTa-MPU · HC3-English SentF1: 83.53$\pm$3.14 -> 85.31$\pm$1.80Helped
replace non-negative PU loss with unbiased PU loss (ablation)RoBERTa-MPU · HC3-English FullF1: 97.90$\pm$0.25 -> 98.40$\pm$0.31Helped
set token prior p to 0.3 instead of 0.2 (ablation)RoBERTa-MPU · HC3-English FullF1: 98.40$\pm$0.31 -> 96.81$\pm$1.70Hurt

Surprising findings

Limitations

Experimental setup

Datasets: TweepFake HC3-English HC3-Chinese

Benchmarks: TweepFake HC3-English full and sentence-level HC3-Chinese full and sentence-level

Metrics: accuracy F1 score

Baselines: GLTR PPL OpenAI Detector DetectGPT BERT-Finetuned RoBERTa-Finetuned RoBERTa-Stylo

Builds on: nnPU loss unbiased PU loss EDA RoBERTa

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy