Manuscript Offprint

arXiv:2608.29903

When Less is More: Understanding When Token Filtering Helps and Fails in AI-generated Text Detection

Xiaoyang Han, Lvxiaowei Xu, Ming Cai

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The rapid advancement of large language models (LLMs) has made AI-generated text detection increasingly critical. Existing zero-shot detectors assume that more token-level evidence leads to more reliable detection. However, our empirical study challenges this consensus: fewer tokens sometimes work better, retaining only 40% can yield optimal performance, yet this benefit is not universal. Using the Entropy Gap Score (EGS), we introduce top-k cumulative probability filtering as a diagnostic probe. Across three representative settings, filtering exhibits strikingly different behaviors. We analyze EGS via typical set theory and quantify its dynamics through entropy calibration and distribution analysis. We find that filtering helps for weak source LMs, where low-entropy tokens are harmful, but fails for strong source LMs, where they are not notably harmful. Our work provides the first systematic analysis showing that some tokens are not merely uninformative but systematically harmful due to entropy miscalibration, revealing a two-sided trade-off in token-level detection.

1 Introduction

AI-generated text detection is becoming increasingly important with the rapid advancement of large language models (LLMs) (Wu et al., 2025). Existing zero-shot detectors rely on token-level statistical signals and consistently find that detection performance improves with text length (Bao et al., 2024; Xu et al., 2025; Zhu et al., 2026).

However, our empirical study challenges the consensus that more token-level evidence always leads to better detection. We adopt the Fast-DetectGPT score (Bao et al., 2024), omit normalization for simplicity, and term the resulting score the Entropy Gap Score (EGS). Applying a low-entropy token filtering strategy on XSum (Narayan et al., 2018),

Figure

Figure 1: Filtering out low-entropy tokens improves AUROC across three datasets (XSum, WritingPrompts, Reddit ELI5) under different source-surrogate model pairs. x-axis: filtered-out fraction; y-axis: AUROC.

WritingPrompts (Fan et al., 2018), and Reddit ELI5 (Fan et al., 2019), we find that performance generally improves with more token removal (Figure 1). Retaining only 40% of tokens yields an improvement of over 15%, suggesting that detectors can sometimes benefit from shorter text.

To assess the generalizability of token filtering for detection improvement, we introduce top-k cumulative probability filtering as a diagnostic probe for token-level analysis. This probe captures probability concentration and is more robust than directly filtering by entropy.

By combining source and surrogate models, we construct three representative detection settings: weak-source black-box, weak-source white-box, and strong-source black-box. Results show a stable pattern: filtering consistently improves performance in the weak-source black-box setting, but behaves very differently in the others. This finding motivates us to explore the underlying mechanisms.

We first examine EGS, which measures the gap between a token’s self-information and its expected self-information (entropy). Using typical set theory (Cover and Thomas, 2006), we reinterpret EGS as a signed typicality deviation score. This perspective reveals that human text is closer to the typical set, whereas AI-generated text tends to deviate from it, producing a detectable EGS difference.

∗^{*}Corresponding author

To quantify EGS’s dynamics, we introduce entropy calibration (Cao et al., 2025) and measure it by analyzing the coupling strength between self-information L and entropy E across different entropy intervals. We find that weak source LMs exhibit significant L–E decoupling, causing abnormally high EGS in low-entropy regions, which harms detection.

Based on the above analysis, we view top-k filtering as a two-sided trade-off: removing low-entropy tokens separates AI from human distributions (beneficial), but filtering also reduces token count and increases EGS variance (harmful). Whether the net gain is positive depends on the source-side entropy calibration.

Our contributions are summarized as follows:

• We empirically show that removing tokens can substantially improve detection, challenging the consensus that more token evidence is always better. This provides the first systematic analysis that some tokens are not merely uninformative but systematically harmful.

• We introduce top-k filtering as a diagnostic probe to analyze token-level signals, revealing distinct behaviors across three detection settings and showing that low-entropy tokens can be harmful in weak source LMs due to entropy miscalibration.

• We reinterpret EGS via typical set theory, quantify its dynamics using entropy calibration and distribution analysis, and uncover a two-sided trade-off (shift vs. variance) that governs filtering success, explaining the distinct behaviors across the three settings.

References (32)