Lune

ACL2024Top-tier venue

Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Better

Shengchao Liu, Xiaoming Liu, Yichen Wang, Zehua Cheng, Chengzhengxu Li, Zhaohan Zhang, Yu Lan, Chao Shen

Abstract

The burgeoning generative capabilities of large language models (LLMs) have raised growing concerns about abuse, demanding automatic machine-generated text detectors. De-tectGPT (Mitchell et al., 2023), a zero-shot metric-based detector, first introduces perturbation and shows great performance improvement. However, in DetectGPT, the random perturbation strategy could introduce noise, and logit regression depends on the threshold, harming the generalizability and applicability of individual or small-batch inputs. Hence, we propose a novel fine-tuned detector, PECOLA, bridging metric-based and fine-tuned methods by contrastive learning on selective perturbation. Selective strategy retains important tokens during perturbation and weights for multi-pair contrastive learning. The experiments show that PECOLA outperforms the state-of-the-art (SOTA) by 1.20% in accuracy on average on four public datasets. And we further analyze the effectiveness, robustness, and generalization of the method. 1 1 The code and datasets are released at https://github. com/lsc-1/Pecola . Original Connects to a specific sound, the ear is bone! You vibrate the bones of your jaw and that vibration travels into your ear. Sound doesn't just travel in air, it travels in all the other dimensions that connect people together. DetectGPT Connects to a specific sound, the connection is bone! You vibrate those bones of your jaw, and the vibration carries sound towards your ear. Sound doesn't just travel in air, it does travel in all materials.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning to Rewrite: Generalized LLM-Generated Text Detection cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI Coauthoring cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training cites Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training cites HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI Coauthoring
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training cites MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment
  • OSTAR: Optimized Statistical Text-classifier with Adversarial Resistance cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • OSTAR: Optimized Statistical Text-classifier with Adversarial Resistance cites A Watermark for Large Language Models
  • DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature cites A Watermark for Large Language Models
  • MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI CoauthoringZhixiong Su, Yichen Wang, Herun Wan, Zhaohan Zhang et al.ACL 2025 · 10 citations
  2. MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral AlignmentShengchao Liu, Xiaoming Liu, Chengzhengxu Li, Zhaohan Zhang et al.AAAI 2026 · 1 citation
  3. Learning to Rewrite: Generalized LLM-Generated Text DetectionWei Hao, Ran Li, Weiliang Zhao, Junfeng Yang et al.ACL 2025
  4. Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial TrainingYuanfan Li, Qi Zhou, Zexuan XieICLR 2026
  5. OSTAR: Optimized Statistical Text-classifier with Adversarial ResistanceYuhan Yao, Feifei Kou, Lei Shi, Xiao Yang et al.NeurIPS 2025

Builds on24

  1. Unsupervised Data Augmentation for Consistency TrainingQizhe Xie, Zihang Dai, Eduard H. Hovy, Thang Luong et al.NeurIPS 2020 · 2,774 citations
  2. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley et al.ICML 2023 · 1,822 citations
  3. DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning et al.ICML 2023 · 988 citations
  4. A Watermark for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz et al.ICML 2023 · 854 citations
  5. CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted InstancesJihoon Tack, Sangwoo Mo, Jongheon Jeong, Jinwoo ShinNeurIPS 2020 · 755 citations

Related papers

  1. CoCo: Coherence-Enhanced Machine-Generated Text Detection Under Low Resource With Contrastive LearningXiaoming Liu, Zhaohan Zhang, Yichen Wang, Hang Pu et al.EMNLP 2023 · 16 citations
  2. Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under AttacksYichen Wang, Shangbin Feng, Abe Bohan Hou, Xiao Pu et al.ACL 2024
  3. Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability CurvatureGuangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang et al.ICLR 2024 · 311 citations
  4. LLMDet: A Third Party Large Language Models Generated Text Detection ToolKangxi Wu, Liang Pang, Huawei Shen, Xueqi Cheng et al.EMNLP Findings 2023 · 31 citations
  5. DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated TextJinyan Su, Terry Yue Zhuo, Di Wang, Preslav NakovEMNLP Findings 2023 · 80 citations
Dusk over the sea between two cliffs drawn in fine vertical lines