Advancing Beyond Identification: Multi-bit Watermark for Large Language Models

KiYoon Yoo, Wonhyuk Ahn, Nojun Kwak

Introduction

As Large Language Models (LLMs) become integrated into daily workflows, the risk of their misuse for disinformation and automated propaganda increases. While "zero-bit" watermarking techniques allow for the detection of machine-generated text, they lack the granularity required for source tracing—identifying which user or account generated a specific piece of content. To address this, researchers have introduced MPAC (Multi-bit watermark via Position Allocation), a framework designed to embed multi-bit messages (like unique user IDs) into LLM outputs with high robustness, zero added latency, and no degradation in text quality.

The Challenge of Multi-bit Watermarking

Transitioning from simple detection to multi-bit identification introduces three primary technical hurdles:

  1. Robustness: Traditional multi-bit methods are often fragile; minor edits or paraphrasing can destroy the entire embedded message.
  2. Latency: Encoding complex payloads typically involves heavy hashing operations that slow down token generation.
  3. Quality: There is often an inverse relationship between the amount of information embedded (payload) and the linguistic quality of the resulting text.

MPAC: Multi-bit Watermark via Position Allocation

MPAC overcomes these challenges by fundamentally changing how message bits are mapped to tokens. Instead of using a monolithic message to influence every token, MPAC pseudo-randomly assigns each generated token to a specific position (bit) within the message.

Conceptual comparison between zero-bit greenlisting, standard cyclic-shift message hashing, and the proposed MPAC framework.

Core Methodology

The MPAC framework relies on several key innovations:

  • Position Allocation: A pseudo-random function, seeded by local token context, determines which bit $p$ of the message $m$ a specific token will represent.
  • Independent Encoding: For a token assigned to position $p$, the value of the $p$-th bit determines the "colorlist" (vocabulary partition) used to bias the sampling process.
  • Radix-r Partitioning: Unlike binary schemes, MPAC can partition the vocabulary into $r$ sets, increasing information density per token.
  • Robust Decoding: Extraction involves counting tokens assigned to each position and using majority voting to reconstruct the message, providing resilience against local text corruption.
Formal algorithmic steps for the MPAC watermarking process.

Experimental Evaluation

The researchers evaluated MPAC across a diverse set of models, including LLaMA-2 (7B to 70B), Mistral-7B, and OPT-1.3B. Testing spanned multiple domains such as news (C4), long-form QA (LFQA), academic essays, and Wikipedia content (Wikitext).

Key Results

  • Superior Robustness: In scenarios with 50% human-edited text, MPAC outperformed baselines by over 20% in bit accuracy for 16-bit and 24-bit payloads.
  • High Capacity: The system successfully embedded 32-bit and 64-bit messages—sufficient for unique POSIX-style user identification—without requiring model fine-tuning.
  • Detection Reliability: Even with a 32-bit payload, MPAC achieved an AUROC > 0.99 with as few as 200 tokens (~150 words).
  • Maintained Quality: Metrics for perplexity (PPL) and semantic similarity (P-SP) indicate that MPAC-watermarked text is statistically indistinguishable from standard zero-bit watermarked text.

Discussion and Future Directions

MPAC demonstrates that multi-bit watermarking can be both robust and efficient. By treating the watermark as a collection of independent bits, the system achieves "graceful degradation," where local edits only affect a subset of the message. Furthermore, because position allocation is determined by local context, computational overhead remains constant regardless of message length.

However, like all watermarking schemes, MPAC faces constraints in low-entropy text (e.g., code) where the model has few viable token choices to bias. Future work may explore adaptive biasing, where the strength of the watermark ($\delta$) is dynamically adjusted based on the entropy of the text segment, potentially further improving quality in constrained linguistic contexts.

Summary updated

BibTeX
@inproceedings{yoo2024advancing,
  author = {KiYoon Yoo and Wonhyuk Ahn and Nojun Kwak},
  title = {{Advancing Beyond Identification: Multi-bit Watermark for Large Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.224},
}
Figure