SSG: Logit-Balanced Vocabulary Partitioning for LLM Watermarking
On the map: LLM safety and security → Watermarking generated content and models
Abstract (arXiv)
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 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 (Sort-then-Split by Groups), 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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 18 of its 24 references that are in the map. First posted on arXiv 24 Apr 2026.
Builds on
18 of 24 references.
Closest ancestors · 8
Same direction, newest first
- 2025WaterMod: Modular Token-Rank Partitioning for Probability-Balanced LLM Watermarking11 Nov
- 2024MarkLLM: An Open-Source Toolkit for LLM Watermarking16 May
- 2024An Entropy-based Text Watermarking Detection Method20 Mar
- 2023A Survey of Text Watermarking in the Era of Large Language Models13 Dec
- 2023On the Learnability of Watermarks for Language Models7 Dec
- 2023CodeMark: Imperceptible Watermarking for Code Datasets against Neural Code Completion Models28 Aug
- 2023Robust Distortion-free Watermarks for Language Models28 Jul
- 2023Who Wrote this Code? Watermarking for Code Generation24 May
Other references · 10
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2015Teaching Machines to Read and Comprehendcited by 1,039
- 2021CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoningcited by 39
- 2023WatME: Towards Lossless Watermarking Through Lexical Redundancycited by 22
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Improving the Trade-off Between Watermark Strength and Speculative Sampling Efficiency for Language Models
- 2024Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Models
- 2026WaterMoE: Expert-Routing-based Watermarking for High Fidelity and Efficiency
- 2026Chainwash: Multi-Step Rewriting Attacks on Diffusion Language Model Watermarks
- 2025A Reinforcement Learning Framework for Robust and Secure LLM Watermarking
- 2025Watermarking Diffusion Language Models
- 2025How Good is Post-Hoc Watermarking With Language Model Rephrasing?
- 2026Language Model Fingerprinting Requires Rethinking Watermark Teachers