arXiv:2610.30601cs.CROct 2026

Manuscript Offprint

arXiv:2610.30601

HiMark: Hierarchical and Controllable Multi-bit Watermarking for Large Language Models

Ke Zhu, Yanli Chen, Ling Xiong, Gejian Zhao, Hanzhou Wu

Ke Zhu 1^{1}, Yanli Chen 1,∗^{1,*}, Ling Xiong 2^{2}, Gejian Zhao 3^{3} and Hanzhou Wu 1,3,∗^{1,3,*}

1^{1}School of Big Data and Computer Science, Guizhou Normal University, Guiyang 550025, China

2^{2}School of Information Science, Beijing Language and Culture University, Beijing 100083, China

3^{3}School of Communication and Information Engineering, Shanghai University, Shanghai 200444, China

∗^{*}Corresponding authors (e-mails: yanli_027@163.com, h.wu.phd@ieee.org)

Abstract—With the rapid adoption of large language models (LLMs) in text generation applications, it has become increasingly difficult to trace generated content and assign responsibility for its use, raising concerns about provenance, copyright protection, and accountability. Multi-bit watermarking addresses these issues by embedding multi-bit provenance information into generated text, but reliable extraction remains difficult due to sparse per-bit evidence and the trade-off between watermark-extraction accuracy and text quality. To deal with these challenges, we propose HiMark, a hierarchical and controllable multi-bit watermarking framework for LLM-generated text. During watermark embedding, HiMark uses a hierarchical candidate-control mechanism, including initial candidate sampling, layer-wise tournament elimination, support-based refinement, and support-threshold filtering. During watermark detection, a model-agnostic evidence aggregation mechanism computes multi-layer support evidence for each observed token, and then accumulates these token-level votes into the corresponding information for robust watermark extraction. Experiments show that HiMark improves watermark extraction accuracy while maintaining text quality, e.g., the watermark extraction accuracy is 90.01% under the paraphrasing attack when 32 bits were embedded within a text containing 300 tokens, demonstrating its effectiveness for provenance tracking.

Index Terms—Large language models, multi-bit watermarking, robustness, intellectual property protection, security.

I. INTRODUCTION

Large language models (LLMs) have already made remarkable progress and demonstrated strong capabilities in question answering, text writing, code generation, and intelligent assistant systems. The widespread deployment of LLMs, however, has also introduced a series of risks such as copyright infringement, misinformation dissemination, malicious content generation, and synthetic data contamination. Therefore, verifiable provenance marking is essential for detecting LLM-generated content and source tracing in practical LLM applications.

Model watermarking [1] has received extensive attention as a feasible solution. It embeds a secret watermark into the generated text for provenance verification. Mainstream methods focus on zero-bit verification, where the watermark is used to determine the presence of a hidden pattern in a given text, rather than to extract a long message out. Although zero-bit watermarking is effective for distinguishing watermarked text from unwatermarked one, it could not extract additional provenance information such as user identities and model IDs.

To tackle this limitation, recent studies have begun to focus on multi-bit watermarking [2], [3]. Compared with zero-bit watermarking, multi-bit watermarking enables us to extract more information from the watermarked text. A very common strategy to realize multi-bit watermarking is using different token positions to carry different message bits, which allows each bit to be extracted by collecting evidence from a limited portion of generated tokens. As the number of to-be-embedded bits increases, per-bit evidence becomes fragile, especially making extraction less stable in short texts. Although heavy interventions on the base language model enhance watermark extraction precision, they degrade the quality of the generated text [4]. While weaker interventions maintain fluency but may weaken the performance of watermark extraction.

We introduce HiMark, a hierarchical and controllable multi-bit watermarking framework for LLM-generated text. HiMark does not require LLM training, fine-tuning, and other internal interventions. Instead, it guides output token selection within the local candidate token set produced by the LLM through a candidate-control mechanism, enabling robust multi-bit embedding and extraction. Extensive experimental results confirm the superiority. The main contributions of this paper include:

• We introduce a novel watermarking framework for LLM-generated text. The proposed framework enables multi-bit watermark embedding and extraction without altering the LLM, and possesses strong robustness in short-text, long-message, and textual perturbation scenarios.

• We design a method shifting watermark embedding from global probability intervention to local token selection. It samples local candidates and guides them through layer-wise tournament elimination, support-based refinement, and support-threshold filtering, allowing the most suitable tokens to be selected to carry the corresponding bits.

  • In order to achieve model-agnostic watermark extraction, we propose a two-stage evidence aggregation strategy that evaluates the multi-layer support of each token for bit '0' or '1' and accumulates evidence across multiple tokens into a voting matrix, thereby enhancing the robustness of multi-bit extraction due to textual perturbations.

• Experimental results show that the proposed method not only ensures that the generated texts are with high quality, but also enables the embedded multi-bit information to be reliably extracted for intellectual property protection.