arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.07500cs.LGcs.ITmath.IT
收藏

基于广义吉辛森-香农散度的LLM生成文本黑盒检测

Black-Box Detection of LLM-Generated Text Using Generalized Jensen-Shannon Divergence

Department of Electrical and Computer Engineering, University of Toronto, Toronto, Canada(电子与计算机工程系,多伦多大学,多伦多,加拿大)

Shuangyi Chen, Ashish Khisti

AI总结:

本文提出SurpMark检测器,通过文本token意外性动态总结,利用广义吉辛森-香农散度衡量测试文本与人类和机器生成文本的差异,验证了其在不同领域和生成器上的鲁棒性。

摘要:

我们研究了在实际约束下机器生成文本的黑盒检测:评分模型(代理语言模型)可能与未知源模型不匹配,且每输入对比生成成本高。我们提出了SurpMark,一种基于参考的检测器,通过文本token意外性的动态总结来概括段落。SurpMark将意外性离散化为可解释的状态,为测试文本估计状态转移矩阵,并通过广义吉辛森(GJS)差距来评分,该差距基于测试转移与两个固定参考(人类 vs. 机器)之间的差异,这两个参考一旦从现有语料库中构建。理论上,我们推导了设计指导,说明离散化bin应如何随数据规模扩展,并提供了测试统计量的原理性证明。经验上,跨多个数据集、源模型和场景,SurpMark始终与基线匹配或超越,证明了其在不同领域和生成器上的强大鲁棒性;我们对超参数敏感性的实验表现出趋势,这些趋势由我们的理论结果帮助解释。

英文摘要:

We study black-box detection of machine-generated text under practical constraints: the scoring model (proxy LM) may mismatch the unknown source model, and per-input contrastive generation is costly. We propose SurpMark, a reference-based detector that summarizes a passage by the dynamics of its token surprisals. SurpMark discretizes surprisals into interpretable states, estimates a state-transition matrix for the test text, and scores it via a generalized Jensen-Shannon (GJS) gap between the test transitions and two fixed references (human vs. machine) built once from existing corpora. Theoretically, we derive design guidance for how the discretization bins should scale with data and provide a principled justification for our test statistic. Empirically, across multiple datasets, source models, and scenarios, SurpMark consistently matches or surpasses baselines, demonstrating strong robustness across domains and generators; our experiments on hyperparameter sensitivity exhibit trends that our theoretical results help to explain.

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

↑