TL;DR
This paper introduces a novel multi-bit text watermarking paradigm for Large Language Models (LLMs) called majority bit-aware encoding. By embedding messages into the selection of vocabulary shards based on the majority bit of the watermark, the method breaks the traditional trade-off between text quality and decoding accuracy, maintaining a large "green list" ($\gamma \ge 0.5$) while achieving superior message recovery.
What Problem Does This Paper Address?
As LLMs become deeply integrated into content generation, the risk of their misuse—such as generating fake news, phishing emails, or fraudulent reviews—grows exponentially. Text watermarking acts as a digital forensic tool, embedding an imperceptible, verifiable signal into model outputs to trace their origin.
While zero-bit watermarks merely tell you if a text was AI-generated (yes/no), multi-bit watermarking embeds actual metadata like user IDs or timestamps. Standard perturbation-based methods achieve this by splitting the vocabulary at each step into a preferred "green list" and a discouraged "red list," adding a bias ($\delta$) to the green list's logits.
To make the watermark easily decodable, existing methods typically restrict the green list to a small fraction of the vocabulary. However, this severely limits the LLM's token choices, causing a noticeable drop in text fluency and naturalness.
The authors address this core challenge: How do we embed a robust, multi-bit watermark without destroying the generation quality of the LLM?
Methods
The authors propose a new paradigm that decouples watermark detectability from the size of the green list. Instead of randomly selecting a small green list, they partition the vocabulary into $b$ disjoint shards, where $b$ is the length of the binary message $\mathbf{m}$.
1. Majority Bit-Aware Encoding
The encoder first identifies the majority bit ($\lambda \in \{0, 1\}$) of the message—the bit value that appears most frequently. The green list is then constructed by taking the union of all shards whose corresponding message bits match $\lambda$. Because the majority bit by definition covers at least half of the message, this strategy inherently guarantees a green list ratio of $\gamma \ge 0.5$, preserving ample vocabulary space for high-quality text generation.
2. MajorMark
Directly applying this encoding strategy, MajorMark uses a clustering-based decoder. During extraction, it tracks token frequencies across all shards and applies KMeans clustering ($K=2$) to separate the boosted shards from the unboosted ones. To determine whether $\lambda$ is 0 or 1, the decoder tests both hypotheses; the correct one yields a highly skewed shard-count distribution, while the incorrect one looks uniform.
3. MajorMark+
For longer messages, the expected green list ratio of MajorMark naturally approaches 0.5, diminishing its text-quality advantage. To fix this, MajorMark+ divides the message into $r$ independent blocks. Furthermore, it replaces the unsupervised KMeans clustering with a deterministic decoding method. It exhaustively enumerates all valid configurations of the majority bit and its frequency per block, selecting the configuration that maximizes distribution skewness. This eliminates sensitivity to ambiguous token counts near decision boundaries.
Datasets
The authors evaluated their methods across several standard datasets spanning different downstream tasks:
- C4 Dataset: Used for the primary text completion task.
- Essays & OpenGen Datasets: Used to verify generalization across text completion benchmarks.
- WritingPrompts Dataset: Used for evaluating story generation performance.
- CNN/DailyMail Dataset: Used for evaluating text summarization quality.
Key Insights and Ideas
- Decoupling Signal from Size: The core "aha!" moment is realizing that watermark strength doesn't require a tiny green list. By encoding information into which specific shards are boosted rather than just how many green tokens appear, you can maintain a large green list ($\gamma \ge 0.5$) without losing the decoding signal.
- Skewness as a Zero-Shot Indicator: The asymmetry in shard distributions under correct vs. incorrect majority-bit hypotheses provides an elegant, statistical shortcut to recover the encoding parameters without brute-forcing the entire message space.
- Block-wise Granularity Preserves Utility: Breaking a long bit-string into blocks prevents the expected green list ratio from decaying back to 0.5, preserving the text quality advantage even at higher bit lengths.
Key Results
The proposed methods were tested against state-of-the-art baselines (MPAC, RSBH, DepthW, CycleShift) using LLaMA-2, Qwen, and Gemma models.
- Superior Text Quality: MajorMark and MajorMark+ consistently achieved the lowest perplexity (PPL) scores across all settings, remaining closest to unwatermarked text (lower PPL is better). At a message length of $b=64$, MajorMark+ achieved a PPL of 6.29, significantly outperforming MPAC (9.86) and RSBH (6.85).
- Higher Decoding Accuracy: In the challenging $b=64$ long-message setting, MajorMark+ achieved a Bit Accuracy (BA) of 94.82%, outperforming MPAC (90.52%) and RSBH (89.74%).
- Robustness to Attacks: Under a 10% Copy-Paste attack and Paraphrase attacks (via DIPPER), MajorMark+ maintained highly competitive bit accuracy. Under sentence shuffling, it achieved the highest robustness, retaining 96.72% bit accuracy.
- Computational Efficiency: Unlike exponential-time methods (DepthW, CycleShift) which become computationally infeasible for large $b$, MajorMark+ requires only linear decoding operations relative to text length.
Limitations and Future Work
- Rigid Green List Size: Because the green list size is automatically dictated by the bit distribution of the embedded message, the framework lacks the flexibility to manually tune or dynamically adjust $\gamma$ for specific contextual constraints.
- Decoding Overhead for MajorMark+: While vastly faster than exponential-time baselines, MajorMark+ still requires multiple decoding passes ($ (b/r - 1) \times |x| $) to evaluate block configurations. Optimizing this decoding efficiency remains a goal for future work.
- Co-designing Parameters: The authors note that exploring the joint optimization of the green list ratio $\gamma$ and the watermarking bias $\delta$ is a promising future direction.
Summary updated