Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking
Tianle Gu, Zongqi Wang, Kexin Huang, Yuanqi Yao, Xiangliang Zhang, Yujiu Yang, Xiuying Chen
TL;DR
This work tackles the unsafe and costly limitations of low-entropy watermarking in LLM-generated text by introducing Invisible Entropy (IE), a lightweight, entropy-aware watermarking framework that does not require access to the original LLM during detection. IE comprises a Unified Feature Extractor to unify representations across tokenizers, an Entropy Tagger to predict low-entropy next-token events, and a Threshold Navigator to adaptively set entropy thresholds for robust, natural watermarks. Empirically, IE achieves up to a 99% reduction in detection-time parameters while delivering state-of-the-art or comparable watermarking performance on HumanEval and MBPP, with strong robustness to paraphrasing and generalization to other watermarking schemes via the Threshold Navigator. The work advances practical deployment of watermarking for safe AI by reducing leakage risk, speeding up detection, and maintaining text quality and detectability in low-entropy contexts.
Abstract
Logit-based LLM watermarking traces and verifies AI-generated content by maintaining green and red token lists and increasing the likelihood of green tokens during generation. However, it fails in low-entropy scenarios, where predictable outputs make green token selection difficult without disrupting natural text flow. Existing approaches address this by assuming access to the original LLM to calculate entropy and selectively watermark high-entropy tokens. However, these methods face two major challenges: (1) high computational costs and detection delays due to reliance on the original LLM, and (2) potential risks of model leakage. To address these limitations, we propose Invisible Entropy (IE), a watermarking paradigm designed to enhance both safety and efficiency. Instead of relying on the original LLM, IE introduces a lightweight feature extractor and an entropy tagger to predict whether the entropy of the next token is high or low. Furthermore, based on theoretical analysis, we develop a threshold navigator that adaptively sets entropy thresholds. It identifies a threshold where the watermark ratio decreases as the green token count increases, enhancing the naturalness of the watermarked text and improving detection robustness. Experiments on HumanEval and MBPP datasets demonstrate that IE reduces parameter size by 99\% while achieving performance on par with state-of-the-art methods. Our work introduces a safe and efficient paradigm for low-entropy watermarking. https://github.com/Carol-gutianle/IE https://huggingface.co/datasets/Carol0110/IE-Tagger
