Beyond Raw Detection Scores: Markov-Informed Calibration for Boosting Machine-Generated Text Detection

Chenwang Wu, Yiu-ming Cheung, Shuhai Zhang, Bo Han, Defu Lian
2/8/2026
cs.CL

No official code found. Best implementation: Daftstone/MRF_Calibration (0 stars, MIT, last commit 2026-02-07).

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.

View on arXivView PDF

Code Implementations(1)

MIT

[ICLR 2026] "Beyond Raw Detection Scores: Markov-Aware Calibration for Boosting Machine-Generated Text Detection"

03PythonFeb 7, 20268 months agoMIT

Similar Papers

Cite this paper

@article{wu2026beyond,
  title  = {Beyond Raw Detection Scores: Markov-Informed Calibration for Boosting Machine-Generated Text Detection},
  author = {Chenwang Wu and Yiu-ming Cheung and Shuhai Zhang and Bo Han and Defu Lian},
  year   = {2026},
  eprint = {2602.08031},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.08031v1}
}

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/2602.08031.svg)](https://codeofpaper.com/paper/2602.08031)

Discussion