Manuscript Offprint

arXiv:2610.22810

Watermarkability: Measuring and Improving Language-Model Compatibility with Logit-Based Watermarks

Zewei Deng, Mohamed Seif, Liyan Xie

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Language-model watermarks can help identify model-generated text, encode provenance information, and detect post-generation edits. A broad class of logit-based watermarks increases the logits of a designated token set at each decoding step. Because a base model's native probability mass on this set varies across contexts, models, and watermark rules, the same logit bias can yield different adherence rates and increases in perplexity (PPL). We introduce watermarkability to characterize the compatibility between a model and the token sets requested by a watermark. At a target mass τ\tau, we quantify this property through a watermarkability cost: the expected minimum KL divergence from the base-model distribution required to assign probability at least τ\tau to the requested set. A lower cost means that the model is more watermarkable for that request distribution. To reduce this cost, we propose a two-stage method. In the first stage, we train a target-set-conditioned low-rank adapter on unions drawn from a 16-way vocabulary partition to increase the requested set's probability mass. In the second stage, a closed-form controller applies the smallest remaining uniform logit bias needed to reach the target mass. We evaluate the method on six watermark schedules using OPT-125M and Qwen3-8B. Across the 12 model-schedule pairs, the pre-adaptation watermarkability cost correlates with the log-PPL increase under a near-hard fixed-bias baseline (pooled Pearson r=0.929r = 0.929). For every schedule, at least 99.80% of sampled tokens fall in the target set requested at their decoding step. At this reliability, the adapter and controller reduce average per-schedule prompt-conditional PPL by 46.3% on OPT-125M and 5.2% on Qwen3-8B relative to the fixed-bias baseline.

1 Introduction

Many logit-based watermarks for language models modify generation by adding a bias to the logits of a selected token set. Specifically, let V\mathcal{V} denote the model vocabulary and x1:T∈VTx_{1:T} \in \mathcal{V}^T denote a generated token sequence, and write x<t=(x1,…,xt−1)x_{<t} = (x_1, \ldots, x_{t-1}) for the prefix at decoding step tt. A watermark rule selects a target set At⊆V\mathcal{A}_t \subseteq \mathcal{V} and adds a scalar bias δ\delta to every token in At\mathcal{A}_t. If the base distribution mass of the next token xtx_t is p0(v∣x<t)p_0(v \mid x_{<t}) for v∈Vv \in \mathcal{V}, the resulting watermarked distribution is

qδ(v∣x<t)=p0(v∣x<t)exp⁡{δ1[v∈At]}∑u∈Vp0(u∣x<t)exp⁡{δ1[u∈At]}.(1)q_{\delta}(v\mid x_{<t})=\frac{p_{0}(v\mid x_{<t})\exp\{\delta\mathbf{1}[v\in\mathcal{A}_{t}]\}}{\sum_{u\in\mathcal{V}}p_{0}(u\mid x_{<t})\exp\{\delta\mathbf{1}[u\in\mathcal{A}_{t}]\}}. \tag{1}

This form covers green/red-list watermarks (Kirchenbauer et al., 2023; Zhao et al., 2024), multi-bit watermarks (Yoo et al., 2024; Xu et al., 2026), and code-constrained or pattern-based watermarks (Chao et al., 2024; Xie et al., 2025; Deng et al., 2026b,a). The effect of δ\delta depends on the probability

Code is available at https://github.com/zeweid1221/LLM_Watermarkability.

Figure

Figure 1: Two-stage watermark realization. The target-conditioned LoRA redistributes probability toward contextually plausible tokens inside the requested set. The controller then applies a common residual logit shift, preserving the adapted token scores while bringing aggregate target mass from MtθM_t^\theta to τ\tau. Aligned illustrative gauges compare native, adapted, and controlled target mass.

that the base model already assigns to AtA_{t}. Consequently, the same bias can produce different adherence rates and perplexity changes across contexts, models, and watermark rules. This motivates our central research question: what is the minimum distributional change needed to reach a prescribed target-set probability, and can it be reduced while keeping the requested sets fixed?

To answer this question, we introduce watermarkability as the compatibility between the base language model and a watermarking rule. For a given context and requested set At\mathcal{A}_t, we define the watermarkability cost at target mass τ\tau as the minimum KL divergence from the base-model distribution over all next-token distributions that assign probability at least τ\tau to At\mathcal{A}_t. We average this cost over the contexts and target sets induced by the watermark rule. A lower cost means that the model is more watermarkable: it can reach the prescribed target mass with less distributional distortion. The native probability mass is the total probability that the unmodified model assigns to all tokens in At\mathcal{A}_t before watermarking. When this mass is small, enforcing the request tends to select lower-probability tokens and thereby increase PPL under the base model. To reduce this cost without modifying the watermark rule, we propose a two-stage method (see Figure 1). To make one adapter reusable across schedules, we partition each model's vocabulary into 16 disjoint subsets and express each evaluated target set as a union of these subsets. Fixed schedules use prescribed unions, whereas prefix-dependent schedules select a new union from the prefix and key. The two stages serve complementary roles: the target-set-conditioned adapter raises the mass of contextually suitable tokens in At\mathcal{A}_t, and the closed-form controller determines the smallest remaining nonnegative uniform logit bias αt\alpha_t needed to reach target mass τ\tau.

We evaluate the proposed two-stage method on OPT-125M and Qwen3-8B using long-form question-answering prompts and six vocabulary-partition watermark schedules. Our contributions are summarized as follows.

  • We characterize model–rule compatibility through watermarkability cost, the minimum distributional change needed to meet target-set requests at a prescribed reliability. Across 12 model–rule pairs, pairs with higher watermarkability cost generally exhibit larger fixed-bias log-PPL increases (Pearson r=0.929r = 0.929).

  • We propose a two-stage method to reduce this cost. First, we train a target-set-conditioned low-rank adapter on generic unions from a 16-way vocabulary partition. Second, a closed-form controller applies the smallest remaining uniform logit bias needed to reach τ=0.99\tau = 0.99. We evaluate the adapter on six held-out schedules spanning fixed, multi-symbol, and prefix-dependent designs.

  • Across all six schedules, the two-stage method maintains at least 99.80% sampled-token adherence on both models. Relative to the near-hard δ=20\delta = 20 baseline, it reduces mean per-schedule prompt-conditional PPL by 46.3% on OPT-125M and 5.2% on Qwen3-8B. PPL decreases for all six OPT schedules and four of six Qwen schedules.

References (38)