arXiv(opens in a new tab)cs.CRSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.02177

WeaveMark: Robust and Scalable Multi-bit LLM Watermarking via Coded Payload Spreading

Gang-Hyun Park, Ju-Hyeong Lee, Hee-Youl Kwak, Dae-Young Yun

Abstract

Multi-bit watermarking for large language models (LLMs) enables content source tracing by embedding user-identifiable messages into generated text. Existing methods face a fundamental trade-off among extraction accuracy, text quality, and payload capacity. We propose WEAVEMARK, a robust and scalable multi-bit LLM watermarking scheme based on coded payload spreading. WEAVEMARK shifts this trade-off frontier by improving payload capacity through multi-bit-per-token spreading, improving extraction accuracy through soft-decision error-correcting code, and preserving text quality through unbiased multilayer reweighting. It further introduces dedicated zero-bit layers for reliable watermark presence detection. Experiments show large gains, especially for long messages and edited text. WEAVEMARK achieves 89.8% match rate for 32-bit messages at 200 tokens, compared with 20.8% for BiMark. Under 10% substitution attacks on 16-bit messages at 200 tokens, it maintains 86.0% versus 30.7%, while preserving text quality. Our code is available at https://github.com/qkrrkd90-source/weaveMark.

1 Introduction

Large language models (LLMs) such as GPT-4 [OpenAI, 2023] and LLaMA [Dubey et al., 2024] are widely used in chatbots, search engines, and programming assistants. However, they can also be misused to generate fake news [Zellers et al., 2019], phishing emails, and fraudulent reviews, raising concerns about LLM safety [Weidinger et al., 2022]. Watermarking addresses this risk by embedding traceable information into generated text for provenance verification and source tracing [Kirchenbauer et al., 2023, Kuditipudi et al., 2024, Christ et al., 2024, Hu et al., 2024, Dathathri et al., 2024].

Multi-bit watermarking embeds a k-bit message, such as a user ID, into generated text for source tracing. Each bit is assigned to generated tokens and extracted from token-level statistics. This creates a fundamental trade-off among extraction accuracy, text quality, and payload capacity. Improving extraction accuracy requires more distinguishable token-level statistics, which can perturb the original token distribution and degrade text quality. Meanwhile, increasing payload capacity leaves fewer token-level observations per bit, making reliable extraction harder. A practical method must therefore recover messages accurately, preserve the original text distribution, and support large payloads.

Existing methods occupy different points on this trade-off frontier. BiMark [Feng et al., 2025] preserves text quality through multilayer unbiased reweighting, but its one-bit-per-token design limits payload capacity. In contrast, MPAC [Yoo et al., 2024] and Qu et al. [2025] improve payload capacity through segment-based embedding, but rely on biased reweighting that degrades text quality.

In this work, we propose WEAVEMARK, a robust and scalable multi-bit LLM watermarking scheme based on coded payload spreading. The name reflects the idea of weaving ECC-coded payload

Preprint.

Figure

Figure 1: Conceptual comparison of representative multi-bit LLM watermarking methods. Each column represents a distinct scheme. Colors denote vocabulary partitions, +/- signs indicate reweighting directions, and hatched bits denote ECC codeword bits. WEAVEMARK weaves multiple codeword bits into each token across layers and uses soft-decision ECC decoding.

bits across generated tokens and watermarking layers. WEAVEMARK increases payload capacity through coded payload spreading, improves extraction accuracy through soft-decision error-correcting code (ECC), and preserves text quality through unbiased multilayer reweighting. Together, these components shift the fundamental trade-off frontier of multi-bit watermarking. Figure 1 compares representative multi-bit watermarking methods. Prior methods [Yoo et al., 2024, Qu et al., 2025, Feng et al., 2025] and WEAVEMARK are detailed in Sections 2 and 4, respectively.

Beyond message recovery, practical watermarking systems may require zero-bit detection. In multi-bit watermarking, the target partition depends on the unknown message, so existing schemes use the most-voted partition as a proxy. This max-over-partitions operation inflates the null statistic and raises the detection threshold. WEAVEMARK avoids this with message-independent zero-bit layers, enabling reliable detection while preserving strong multi-bit recovery.

Our contributions are summarized as follows:

  1. Trade-off analysis. We clarify the trade-off relationship among existing multi-bit LLM watermarking schemes in terms of extraction accuracy, text quality, and payload capacity.

  2. Improved payload capacity via coded payload spreading. We propose coded payload spreading, which combines multi-bit-per-token embedding and layer shuffling to distribute token-level statistics and layer reliability more evenly across coded bits. This enables longer payloads while retaining unbiased reweighting.

  3. Strong multi-bit message recovery. We combine payload spreading with soft-decision ECC decoding and show that WEAVEMARK substantially improves extraction accuracy over state-of-the-art multi-bit watermarking methods, especially for long messages, short generated texts, and editing attacks, while preserving text quality.

  4. Reliable zero-bit detection. We introduce dedicated zero-bit layers that avoid the max-over-partitions effect, enabling reliable zero-bit detection while preserving multi-bit recovery.

References (5)

  • Select $\kappa$ distinct bit positions $\mathcal{P} = \{p_1, \ldots, p_\kappa\} \subseteq \{1, \ldots, n\}$ using $\mathrm{seed}_p$
  • Let $q = \lfloor \ell / \kappa \rfloor$ and $r = \ell \bmod \kappa$
  • Compute the reweighting direction $e^i \leftarrow c_{\tilde{p}^i} \oplus b^i$
  • Let $q = \lfloor \ell/\kappa \rfloor$ and $r = \ell \bmod \kappa$
  • Estimate the reweighting direction: $\hat{e}^i \leftarrow \mathbf{1}\{x_t \in \mathcal{V}_1^i\}$