Reliably Bounding False Positives: A Zero-Shot Machine-Generated Text Detection Framework via Multiscaled Conformal Prediction
Xiaowei Zhu, Yubing Ren, Yanan Cao, Xixun Lin, Fang Fang, Yangxi Li
TL;DR
This work tackles the societal risk of false positives in machine-generated text detection by introducing Multiscaled Conformal Prediction (MCP), a zero-shot framework that bound $FPR$ via length-aware, multiscaled quantiles while preserving detection performance. MCP integrates a flexible nonconformity score derived from a detector and uses length-based calibration to mitigate the degradation seen with traditional CP. The RealDet dataset provides broad domain, multilingual, and adversarially augmented texts to enable realistic calibration and robust evaluation across 22 LLMs. Empirical results show MCP consistently enforces the $FPR$ bound, improves detection performance at low $FPR$ levels, and enhances robustness to adversarial attacks, outperforming traditional calibration methods. These contributions advance reliable, scalable MGT detection suitable for real-world deployment with strict false-positive constraints.
Abstract
The rapid advancement of large language models has raised significant concerns regarding their potential misuse by malicious actors. As a result, developing effective detectors to mitigate these risks has become a critical priority. However, most existing detection methods focus excessively on detection accuracy, often neglecting the societal risks posed by high false positive rates (FPRs). This paper addresses this issue by leveraging Conformal Prediction (CP), which effectively constrains the upper bound of FPRs. While directly applying CP constrains FPRs, it also leads to a significant reduction in detection performance. To overcome this trade-off, this paper proposes a Zero-Shot Machine-Generated Text Detection Framework via Multiscaled Conformal Prediction (MCP), which both enforces the FPR constraint and improves detection performance. This paper also introduces RealDet, a high-quality dataset that spans a wide range of domains, ensuring realistic calibration and enabling superior detection performance when combined with MCP. Empirical evaluations demonstrate that MCP effectively constrains FPRs, significantly enhances detection performance, and increases robustness against adversarial attacks across multiple detectors and datasets.
