Saved in:
Bibliographic Details
Main Authors: Gu, Chenxi, Du, Xiaoning, Grundy, John
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.22438
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915955059195904
author Gu, Chenxi
Du, Xiaoning
Grundy, John
author_facet Gu, Chenxi
Du, Xiaoning
Grundy, John
contents Watermarking has emerged as a promising technique for tracing the authorship of content generated by large language models (LLMs). Among existing approaches, the KGW scheme is particularly attractive due to its versatility, efficiency, and effectiveness in natural language generation. However, KGW's effectiveness degrades significantly under low-entropy settings such as code generation and mathematical reasoning. A crucial step in the KGW method is random vocabulary partitioning, which enables adjustments to token selection based on specific preferences. Our study revealed that the next-token probability distribution plays an critical role in determining how much, or even whether, we can modify token selection and, consequently, the effectiveness of watermarking. We refer to this characteristic, associated with the probability distribution of each token prediction, as \emph{watermark strength.} In cases of random vocabulary partitioning, the lower bound of watermark strength is dictated by the next-token probability distribution. However, we found that, by redesigning the vocabulary partitioning algorithm, we can potentially raise this lower bound. In this paper, we propose SSG (\textbf{S}ort-then-\textbf{S}plit by \textbf{G}roups), a method that partitions the vocabulary into two logit-balanced subsets. This design lifts the lower bound of watermark strength for each token prediction, thereby improving watermark detectability. Experiments on code generation and mathematical reasoning datasets demonstrate the effectiveness of SSG.
format Preprint
id arxiv_https___arxiv_org_abs_2604_22438
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SSG: Logit-Balanced Vocabulary Partitioning for LLM Watermarking
Gu, Chenxi
Du, Xiaoning
Grundy, John
Cryptography and Security
Artificial Intelligence
Computation and Language
Watermarking has emerged as a promising technique for tracing the authorship of content generated by large language models (LLMs). Among existing approaches, the KGW scheme is particularly attractive due to its versatility, efficiency, and effectiveness in natural language generation. However, KGW's effectiveness degrades significantly under low-entropy settings such as code generation and mathematical reasoning. A crucial step in the KGW method is random vocabulary partitioning, which enables adjustments to token selection based on specific preferences. Our study revealed that the next-token probability distribution plays an critical role in determining how much, or even whether, we can modify token selection and, consequently, the effectiveness of watermarking. We refer to this characteristic, associated with the probability distribution of each token prediction, as \emph{watermark strength.} In cases of random vocabulary partitioning, the lower bound of watermark strength is dictated by the next-token probability distribution. However, we found that, by redesigning the vocabulary partitioning algorithm, we can potentially raise this lower bound. In this paper, we propose SSG (\textbf{S}ort-then-\textbf{S}plit by \textbf{G}roups), a method that partitions the vocabulary into two logit-balanced subsets. This design lifts the lower bound of watermark strength for each token prediction, thereby improving watermark detectability. Experiments on code generation and mathematical reasoning datasets demonstrate the effectiveness of SSG.
title SSG: Logit-Balanced Vocabulary Partitioning for LLM Watermarking
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2604.22438