Skip to main content
QUICK REVIEW

[论文解读] Beyond Raw Detection Scores: Markov-Informed Calibration for Boosting Machine-Generated Text Detection

Chenwang Wu, Yiu-ming Cheung|arXiv (Cornell University)|Feb 8, 2026
Spam and Phishing DetectionComputer Science被引用 0
一句话总结

本论文提出一种基于马尔可夫随机场的分数标定层,可附加到现有基于度量的机器生成文本检测器,以解决 token 级分数不精确的问题,在跨大模型、跨领域和改写攻击中实现检测提升,开销极小。

ABSTRACT

While machine-generated texts (MGTs) offer great convenience, they also pose risks such as disinformation and phishing, highlighting the need for reliable detection. Metric-based methods, which extract statistically distinguishable features of MGTs, are often more practical than complex model-based methods that are prone to overfitting. Given their diverse designs, we first place representative metric-based methods within a unified framework, enabling a clear assessment of their advantages and limitations. Our analysis identifies a core challenge across these methods: the token-level detection score is easily biased by the inherent randomness of the MGTs generation process. To address this, we theoretically and empirically reveal two relationships of context detection scores that may aid calibration: Neighbor Similarity and Initial Instability. We then propose a Markov-informed score calibration strategy that models these relationships using Markov random fields, and implements it as a lightweight component via a mean-field approximation, allowing our method to be seamlessly integrated into existing detectors. Extensive experiments in various real-world scenarios, such as cross-LLM and paraphrasing attacks, demonstrate significant gains over baselines with negligible computational overhead. The code is available at https://github.com/tmlr-group/MRF_Calibration.

研究动机与目标

  • 在统一框架下动机化并统一基于度量的 MGT 检测方法,以识别核心局限性。
  • 显示 token 级检测分数因生成动态而表现出邻域相似性和初始不稳定性。
  • 提出一个用均场近似实现的轻量级基于马尔可夫随机场的标定层,以提升检测性能。
  • 在跨大模型、跨领域、混合文本和改写场景下,演示经过标定的检测器的鲁棒性与泛化能力。

提出的方法

  • 提供对具代表性的基于度量的检测器的统一视图(如 Likelihood、Log-Rank、Entropy、DetectGPT、Fast-DetectGPT、DNA-GPT)。
  • 识别一个核心问题:由 LLM 随机性引起的 token 级分数不精确。
  • 理论与经验上揭示两个关系:Context token 分数的邻域相似性与初始不稳定性。
  • 用成对的马尔可夫随机场对这些关系建模,并利用均场近似实现的轻量级迭代神经组件来标定分数。
  • 在现有检测器之上叠加 MRF 标定,不改变它们的架构,得到增强的检测器 f_enh(s)=f1◦f_mrf◦f2(s)。
  • 通过在带标签数据上最小化交叉熵进行监督训练权重 W。

实验结果

研究问题

  • RQ1 token 级检测分数在相邻 token、初始生成步骤中如何表现?
  • RQ2马尔可夫随机场是否能捕捉并利用邻域相似性与初始不稳定性来标定 token 分数?
  • RQ3在现实场景中(跨大模型、跨领域、混合文本、改写攻击),轻量级的 MRF 信息标定是否能提升各种基于度量的检测器的 AUROC 与 TPR@FPR-1%?
  • RQ4在未见 LLM 与领域下,标定是否鲁棒且可泛化,同时保持开销极小?

主要发现

  • 所提出的基于马尔可夫信息的标定在多种检测器和数据集上相对基线取得显著提升。
  • 在 Essay 数据集上,经过标定后 Likelihood 的 AUROC 从 52.4% 提升至 77.86%;DetectGPT 从 0.15% 提升至 37.18%。
  • 该方法对弱检测器也有收益,并通过轻量级的 2×2 参数化提高跨跨大模型与跨域的泛化能力。
  • 消融结果显示 MRF 层与位置权重函数对性能均有贡献,不同组件在单文本检测器与多文本检测器中占主导地位。
  • 与神经网络标定相比,MRF 方法在对未见 LLM 的泛化性方面表现更好,表明对训练数据的过拟合较少。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。