arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.17522cs.CLcs.AI
收藏

检测机器:跨架构、领域和对抗条件的AI生成文本检测器全面基准

Detecting the Machine: A Comprehensive Benchmark of AI-Generated Text Detectors Across Architectures, Domains, and Adversarial Conditions

Indian Institute of Technology (BHU)(印度理工学院 (BHU));Indian Institute of Technology Guwahati(印度理工学院古瓦哈蒂)

Madhav S. Baidya, S. S. Baidya, Chirag Chawla

AI总结:

本文提出跨HC3和ELI5两个语料库的全面基准,评估不同检测方法在领域转移和对抗鲁棒性上的表现,发现Transformer模型在分布内表现优异但易受领域偏移影响,XGBoost模型在可解释性上表现良好。

摘要:

大型语言模型(LLMs)的快速普及催生了对稳健且可泛化检测机器生成文本的需求。现有基准通常在理想条件下评估单一检测器在一个数据集上的性能,留下关于跨领域迁移、跨LLM泛化和对抗鲁棒性的开放问题。我们提出一个全面的基准,评估不同检测方法在HC3(23,363个人-ChatGPT配对)和ELI5(15,000个人-Mistral-7B配对)两个语料库上的表现。方法包括经典分类器、微调的Transformer编码器(BERT、RoBERTa、ELECTRA、DistilBERT、DeBERTa-v3)、CNN、XGBoost风格度量模型、基于困惑度的检测器以及LLM-as-detector提示。结果显示,Transformer模型在分布内表现接近完美,但在领域偏移下性能下降。XGBoost风格度量模型在性能上匹配,同时保持可解释性。基于LLM的检测器表现欠佳,并受生成器-检测器身份偏置影响。基于困惑度的方法表现出极性反转,现代LLM输出的困惑度低于人类文本,但在纠正后仍有效。没有方法在跨领域和LLM源上实现稳健的泛化。

英文摘要:

The rapid proliferation of large language models (LLMs) has created an urgent need for robust and generalizable detectors of machine-generated text. Existing benchmarks typically evaluate a single detector on a single dataset under ideal conditions, leaving open questions about cross-domain transfer, cross-LLM generalization, and adversarial robustness. We present a comprehensive benchmark evaluating diverse detection approaches across two corpora: HC3 (23,363 human-ChatGPT pairs) and ELI5 (15,000 human-Mistral-7B pairs). Methods include classical classifiers, fine-tuned transformer encoders (BERT, RoBERTa, ELECTRA, DistilBERT, DeBERTa-v3), a CNN, an XGBoost stylometric model, perplexity-based detectors, and LLM-as-detector prompting. Results show that transformer models achieve near-perfect in-distribution performance but degrade under domain shift. The XGBoost stylometric model matches performance while remaining interpretable. LLM-based detectors underperform and are affected by generator-detector identity bias. Perplexity-based methods exhibit polarity inversion, with modern LLM outputs showing lower perplexity than human text, but remain effective when corrected. No method generalizes robustly across domains and LLM sources.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑