BiMarker: Enhancing Text Watermark Detection for Large Language Models with Bipolar Watermarks
Zhuang Li, Qiuping Yi, Zongcheng Ji, Yijian Lu, Yanqi Li, Keyang Xiao, Hongliang Liang
TL;DR
BiMarker tackles the challenge of distinguishing AI-generated text from human content by introducing a bipolar watermarking scheme for LLM outputs. It partitions generated text into a positive and a negative pole, applying a bias to green tokens in the positive pole and to red tokens in the negative pole, and detects watermarks via the difference in green-token counts between poles, with a z-score $z = \frac{|s|_{pG} - |s|_{nG} - \gamma T_p + (1-\gamma) T_n}{\sqrt{T\gamma(1-\gamma)}}$. Theoretical analysis shows a higher lower bound for the detection statistic than KGW and no increase in false positives, and BiMarker is orthogonal to entropy-based optimizations such as SWEET and EWD, enabling seamless integration. Empirical results across high- and low-entropy tasks demonstrate superior detection accuracy, robustness to back-translation, and compatibility with existing watermarking enhancements, suggesting a practical path to robust LLM watermarking in real-world settings.
Abstract
The rapid growth of Large Language Models (LLMs) raises concerns about distinguishing AI-generated text from human content. Existing watermarking techniques, like \kgw, struggle with low watermark strength and stringent false-positive requirements. Our analysis reveals that current methods rely on coarse estimates of non-watermarked text, limiting watermark detectability. To address this, we propose Bipolar Watermark (\tool), which splits generated text into positive and negative poles, enhancing detection without requiring additional computational resources or knowledge of the prompt. Theoretical analysis and experimental results demonstrate \tool's effectiveness and compatibility with existing optimization techniques, providing a new optimization dimension for watermarking in LLM-generated content.
