arXiv:2610.33767cs.AIOct 2026

Manuscript Offprint

arXiv:2610.33767

Local Entropy Fluctuations for Black-Box LLM-Generated Text Detection

Xinpeng Wang, Bruce Rushing, Zhizhen Chen, Zhe Zeng

ABSTRACT

Zero-shot detection of machine-generated text is vital for mitigating the risks of large language models (LLMs) misuse. While the state-of-the-art dual-model detectors and resampling-based detectors outperform single-model statistical detectors on unprompted continuations, they suffer a catastrophic breakdown on instruction-conditioned text in the black-box setting, where the source model is unknown. We analyze this failure and trace it to poor prompt conditioning for resampling-based methods and diminished cross-model discrepancy for dual-model detectors. Motivated by recent studies that human writing maintains a steady, uniform information flow, whereas machine-generated text exhibits sharp, localized entropy fluctuations, we propose a new metric, the Relative Peak Prominence Rate (RelPPR) to capture this structural contrast along the entropy trajectory and further leverage it as a signal for LLM-generated text detection. Extensive evaluations across diverse model families and datasets demonstrate that RelPPR achieves state-of-the-art black-box detection performance and remains the most reliable detector under various practical situations. Our code is available at https://github.com/brushing-git/entropy-llm-detector.

1 INTRODUCTION

The rapid development of large language models (LLMs) capable of producing fluent, human-like text at scale has raised growing concerns about misuse, making reliable detection of machine-generated text an urgent problem. We refer to the model that generate candidate text as the source model. Detection under the black-box setting assumes access only to the candidate text itself, with no knowledge of the source model's identity or parameters. This setting requires neither labeled training data nor access to the source model, making it a highly practical yet challenging paradigm. Detectors instead rely on one or more surrogate models, which we refer to as evaluator models, to determine whether the candidate text is LLM-generated.

Existing zero-shot detectors broadly fall into three families: (i) single-model statistical criteria, which score a candidate text using only a single evaluator model's statistics, such as log-likelihood, log-rank, and entropy (Solaiman et al., 2019; Ippolito et al., 2020; Gehrmann et al., 2019); (ii) resampling-based detectors, which regenerate the text under an evaluator model to compare the candidate against this regeneration or normalize specific statistics (Mitchell et al., 2023; Yang et al., 2024; Xu et al., 2025); and (iii) dual-model detectors, which rely on the discrepancy between two evaluator models' probability estimates for the candidate text, typically measured via statistics such as log-likelihood or cross-entropy (Bao et al., 2024; Hans et al., 2024; Zhu et al., 2025). The latter two families currently define the state of the art, substantially outperforming single-model statistics.

We find, however, that this advantage holds mainly for unprompted continuations of a human prefix, i.e., text generated without user prompt or instruction. Once text is generated under the instruction-conditioned regime, dual-model and resampling-based detectors alike suffer a serious performance degradation as shown in Figure 1a. As our first contribution, we analyze this failure mode systematically for both detector families. 1) For resampling-based methods, since the user prompt is invisible at evaluation time, they cannot resample text by conditioning on the original prompt as the source model did. This prompt conditioning gap drives the resampled text to drift away from

∗^{*}Equal contribution.

Figure

(a) AUROC under unprompted and instruction-conditioned generation.

Figure

(b) The entropy trajectory of human and machine text in response to the same question from ELI5 dataset.

Figure 1: (a) RelPPR is robust under instruction-conditioning where existing detectors degrade; (b) Machine-generated text exhibits stronger entropy fluctuations than human text.

the candidate text. 2) For dual-model detectors, the cross-model discrepancy they rely on collapses under instruction conditioning due to a systematic shrinkage in cross-entropy, which is driven by lower predictive uncertainty (entropy) or by heightened cross-model consensus through reduced KL divergence. In summary, the prompt conditioning gap and the diminished cross-model discrepancy undermine predictive power in resampling-based and dual-model detectors, respectively.

Since all existing state-of-the-art (SOTA) detectors fail under instruction conditioning, our goal is to find a new detection signal that is effective under such setting. According to the Uniform Information Density (UID) principle in psycholinguistics (Jaeger, 2010; Meister et al., 2021), humans naturally regulate their writing to maintain a steady rate of information transmission, producing a smooth information flow with restrained local fluctuations. In contrast, LLMs concentrate uncertainty on semantic branch points and key decision junctures, a pattern further accentuated by instruction-tuning (Wang et al., 2025; Wei et al., 2026; Bigelow et al., 2025). Therefore, we hypothesize that machine text exhibits higher-amplitude local fluctuations in its entropy trajectory than human text.

Motivated by the above observations and hypothesis, we propose the Peak Prominence Rate (PPR), defined as the average prominence of local peaks along the entropy trajectory, to quantify trajectory fluctuations for detection. However, a text with higher sequence-level mean entropy can attain a larger raw PPR even if its fluctuations are mild relative to its entropy level. To counteract this bias, we normalize PPR by the sequence-level mean entropy, yielding our final criterion, RelPPR. As illustrated in Figure 1b, the entropy trajectory of machine text exhibits sharper fluctuations than that of human text relative to their respective entropy levels, yielding a higher RelPPR. Notably, RelPPR is entirely parameter-free and requires only a single evaluator model during inference.

We evaluate RelPPR across seven datasets and five source models under instruction-conditioning. Beyond achieving the state-of-the-art detection performance under the black-box setting, RelPPR demonstrates strong practical deployment value: it achieves superior recall under strict false-positive constraints, sustains reliability across varying sequence lengths and decoding configurations, withstands adversarial paraphrasing, and generalizes across diverse evaluator model scales and families.

Our contributions are threefold: (1) We show that dual-model and resampling-based detectors degrade catastrophically on instruction-conditioned text, and we trace this degradation to concrete mechanisms: diminished cross-model discrepancy for dual-model detectors and the prompt conditioning gap for resampling-based detectors. (2) We propose RelPPR, a single-model, parameter-free detection criterion motivated by the observation that machine-generated text exhibits higher-amplitude fluctuations in entropy trajectory than human text. (3) We conduct extensive black-box evaluations across seven datasets and five source models, showing that RelPPR achieves the state-of-the-art performance and remains the most reliable detector across diverse deployment conditions.