DP-MGTD: Privacy-Preserving Machine-Generated Text Detection via Adaptive Differentially Private Entity Sanitization
Lionel Z. Wang, Yusheng Zhao, Jiabin Luo, Xinfeng Li, Lixu Wang, Yinan Peng, Haoyang Li, XiaoFeng Wang, Wei Dong
TL;DR
DP-MGTD introduces an adaptive differential privacy framework that sanitizes sensitive entities in text before machine-generated text detection, balancing privacy with detection utility. The two-stage approach first estimates entity frequencies and then allocates privacy budgets across numerical and textual data using Laplace and Exponential mechanisms, respectively, yielding a DP-compliant sanitized input. Surprisingly, DP-induced perturbations reveal discriminative stability patterns that dramatically improve both metric-based and model-based detectors, achieving near-perfect accuracy on MGTBench-2.0 across domains and architectures. This work demonstrates that privacy mechanisms can transform constraints into advantageous signals for authorship verification, with practical implications for secure, privacy-preserving MGT detection in real-world deployments.
Abstract
The deployment of Machine-Generated Text (MGT) detection systems necessitates processing sensitive user data, creating a fundamental conflict between authorship verification and privacy preservation. Standard anonymization techniques often disrupt linguistic fluency, while rigorous Differential Privacy (DP) mechanisms typically degrade the statistical signals required for accurate detection. To resolve this dilemma, we propose \textbf{DP-MGTD}, a framework incorporating an Adaptive Differentially Private Entity Sanitization algorithm. Our approach utilizes a two-stage mechanism that performs noisy frequency estimation and dynamically calibrates privacy budgets, applying Laplace and Exponential mechanisms to numerical and textual entities respectively. Crucially, we identify a counter-intuitive phenomenon where the application of DP noise amplifies the distinguishability between human and machine text by exposing distinct sensitivity patterns to perturbation. Extensive experiments on the MGTBench-2.0 dataset show that our method achieves near-perfect detection accuracy, significantly outperforming non-private baselines while satisfying strict privacy guarantees.
