Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gu, Tianle, Wang, Zongqi, Huang, Kexin, Yao, Yuanqi, Zhang, Xiangliang, Yang, Yujiu, Chen, Xiuying
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915295026741248
author Gu, Tianle
Wang, Zongqi
Huang, Kexin
Yao, Yuanqi
Zhang, Xiangliang
Yang, Yujiu
Chen, Xiuying
author_facet Gu, Tianle
Wang, Zongqi
Huang, Kexin
Yao, Yuanqi
Zhang, Xiangliang
Yang, Yujiu
Chen, Xiuying
contents 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
format Preprint
id arxiv_https___arxiv_org_abs_2505_14112
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking
Gu, Tianle
Wang, Zongqi
Huang, Kexin
Yao, Yuanqi
Zhang, Xiangliang
Yang, Yujiu
Chen, Xiuying
Computation and Language
Cryptography and Security
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
title Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking
topic Computation and Language
Cryptography and Security
url https://arxiv.org/abs/2505.14112