我们研究了在实际约束下机器生成文本的黑盒检测:评分模型(代理语言模型)可能与未知源模型不匹配,且每输入对比生成成本高。我们提出了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.
Generalizing Jensen and Bregman divergences with comparative convexity and the statistical Bhattacharyya distances with comparable means
École Polytechnique(巴黎综合理工学院);Sony Computer Science Laboratories Inc(索尼计算机科学研究所);Data61;Australian National University(澳大利亚国立大学);University of Sydney(悉尼大学)
Nonparametric likelihood-free inference with Jensen-Shannon divergence for simulator-based models with categorical output
Helsinki Institute of Information Technology (HIIT)(赫尔辛基信息技术研究所);University of Helsinki(赫尔辛基大学);University of Oslo(奥斯陆大学);Wellcome Sanger Institute(惠康桑格研究所);KTH Royal Institute of Technology(瑞典皇家理工学院)
DyJR: Preserving Diversity in Reinforcement Learning with Verifiable Rewards via Dynamic Jensen-Shannon Replay
Griffith University, Australia(澳大利亚格里菲斯大学);Fudan University, China(复旦大学);Beijing University of Post(北京邮电大学);Shanghai Innovation Institute, China(上海创新研究院);Shanghai Academy of Artificial Intelligence for Science, China(上海人工智能科学研究院)
Attributing Response to Context: A Jensen-Shannon Divergence Driven Mechanistic Study of Context Attribution in Retrieval-Augmented Generation
University of Aberdeen(阿伯丁大学);Nanyang Technological University(南洋理工大学);University College London(伦敦大学学院);University of Colorado Anschutz Medical Campus(科罗拉多大学安舒兹医学校区);University of Sheffield(谢菲尔德大学)