Kill two birds with one stone: generalized and robust AI-generated text detection via dynamic perturbations

Yinghan Zhou, Juan Wen, Wanli Peng, Yiming Xue, Ziwei Zhang +1 more
4/22/2025
cs.CLcs.AI

Official code: CAU-ISS-Lab/AIGT-Detection-Evade-Detection (13 stars, last commit 2025-09-01). 1 more implementation below.

Abstract

The growing popularity of large language models has raised concerns regarding the potential to misuse AI-generated text (AIGT). It becomes increasingly critical to establish an excellent AIGT detection method with high generalization and robustness. However, existing methods either focus on model generalization or concentrate on robustness. The unified mechanism, to simultaneously address the challenges of generalization and robustness, is less explored. In this paper, we argue that robustness can be view as a specific form of domain shift, and empirically reveal an intrinsic mechanism for model generalization of AIGT detection task. Then, we proposed a novel AIGT detection method (DP-Net) via dynamic perturbations introduced by a reinforcement learning with elaborated reward and action. Experimentally, extensive results show that the proposed DP-Net significantly outperforms some state-of-the-art AIGT detection methods for generalization capacity in three cross-domain scenarios. Meanwhile, the DP-Net achieves best robustness under two text adversarial attacks. The code is publicly available at https://github.com/CAU-ISS-Lab/AIGT-Detection-Evade-Detection/tree/main/DP-Net.

View on arXivView PDF

Code Implementations(2)

131PythonMar 4, 20251 years ago
Yimyxj/DP-NetCommunity68%

Code of paper "Kill two birds with one stone: generalized and robust AI-generated text detection via dynamic perturbations"

00Feb 7, 20251 years ago

Similar Papers

Cite this paper

@article{zhou2025kill,
  title  = {Kill two birds with one stone: generalized and robust AI-generated text detection via dynamic perturbations},
  author = {Yinghan Zhou and Juan Wen and Wanli Peng and Yiming Xue and Ziwei Zhang and Zhengxian Wu},
  year   = {2025},
  eprint = {2504.21019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.21019v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.21019.svg)](https://codeofpaper.com/paper/2504.21019)

Discussion