Manuscript Offprint

arXiv:2610.09552

Constitution-Guided Watermarking

Toluwani Aremu, Samuele Poppi, Nils Lukas

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

ABSTRACT

Watermarking enables language model providers to identify text generated by their models. However, its desired properties can conflict (i.e. stronger watermark signals can degrade text quality), while designs that resist editing may also facilitate forgery. Providers address these trade-offs by choosing configurations that balance competing objectives or prioritize particular properties. Either approach imposes a shared operating point on requests with different requirements, potentially sacrificing quality where wording preservation matters or robustness where reliable attribution is essential. To allow flexible and adaptable designs, we introduce Constitution-Guided Watermarking, a framework that selects request-appropriate trade-offs from provider requirements, listed as natural-language principles. Offline, a pretrained reasoning agent examines constitutional rules alongside watermark implementations and iteratively refines rule-specific configurations using empirical feedback. At deployment, a separate monitor identifies applicable rules and retrieves the corresponding policy, including watermarking exemptions, without modifying the serving model. Furthermore, our framework supports offline parallel optimization and refinement of rule-specific configurations based on evolving provider requirements without affecting deployment, and binds each deployed configuration to its evaluation evidence, making deployment decisions auditable. In a proof-of-concept evaluation using KGW and a five-rule constitution, our framework selects configurations responsive to provider priorities and improves post-paraphrase detection on robustness-prioritized requests by up to 14 percentage points over fixed configurations, while matching or exceeding all baselines in aggregate quality and clean detection at a nominal 0.1% false-positive rate.

1 Introduction

Watermarking enables language model providers to identify generated text by embedding a secret-key-dependent signal during generation (Kirchenbauer et al., 2023; Zhao et al., 2024a; Dathathri et al., 2024). A useful watermark should remain detectable, preserve output quality, survive relevant transformations, and resist forgery. These objectives can conflict (Zhao et al., 2024b). For bias-based schemes such as KGW (Kirchenbauer et al., 2023), increasing watermark strength can improve detectability at the cost of distortion (Wouters, 2024). At the same time, a watermark that survives benign editing may also survive malicious changes to the text's meaning, enabling false attribution (Pang et al., 2024). Watermark deployment therefore requires deciding which properties to prioritize or trade off and which compromises are acceptable.

Existing approaches address these trade-offs by selecting configurations that balance competing objectives or designing schemes that favor particular properties (Kuditipudi et al., 2023; Wouters,

Preprint

(a) Watermark Verification Agent (Offline)

RuleRequirementCertified Config
r1creative writing balance trade-offs>δ=2.0,γ=0.5\delta=2.0, \gamma=0.5
r2news text strong detectability>δ=4.0,γ=0.5\delta=4.0, \gamma=0.5
r3code preserve quality>δ=2.0,γ=0.25\delta=2.0, \gamma=0.25
r4medical advice no watermark

(b) Deployment Monitor

Prompt:write a short report on last night's storm.
Reasoning:reportage of a real, dated event for public circulation, not fiction → news text, not creative writing; r2 is the narrower match.
Generation:Winds of up to ninety kilometres an hour downed power lines across the eastern districts, and crews expect repairs to continue through the weekend.

Figure 1. Conceptual illustration: (a) offline, the verification agent assigns each rule a configuration; (b) at deployment, the monitor routes a prompt to its rule. Rules shown are illustrative.

2024; Dathathri et al., 2024). However, a configuration that performs well on average need not meet the requirements of each request. For example, a provider may prioritize wording preservation when proofreading human-authored text, minimize interference with deterministic answers, and require detection after paraphrasing for misuse-prone generations. Applying the same compromise throughout can impose unnecessary distortion on quality-sensitive requests while providing insufficient robustness where attribution matters most. This motivates selecting operating points according to the requirements of each request.

These distinctions have practical consequences as watermarking enters deployment. Article 50 of the EU AI Act requires machine-readable marking of synthetic content, with exceptions including assistance with standard editing (EU AI Act, 2024). Anthropic's announcement of text watermarking for Claude illustrates a related attribution limitation: a detected watermark indicates model involvement but does not distinguish model-authored text from human text that the model heavily edited (Anthropic, 2026). Providers consequently need policies governing not only how reliably a watermark is detected, but also when it should be applied and what its presence is intended to convey.

Request-dependent requirements cannot be reduced to subject matter alone. Proofreading a medical explanation and generating medical advice concern the same topic, yet a provider may exempt the former and require low-distortion watermarking for the latter. Adaptive watermarking methods already adjust embedding according to token uncertainty or generation features (Liu & Bu, 2024; Wang et al., 2025b,a). Such adaptation addresses how to embed a signal under a chosen objective; our focus is how providers specify which objectives and exemptions apply to a request. Natural-language rules can express these distinctions directly, while quantitative acceptance criteria make the resulting policies testable. Connecting each configuration to its governing rule and evaluation evidence also makes deployment decisions inspectable. This motivates our central question:

Preprint

References (60)

  • A gentle introduction to conformal prediction and distribution-free uncertainty quantification (opens arXiv in a new tab)
  • Mitigating watermark forgery in generative models via randomized key selection (opens arXiv in a new tab)
  • Watermarking should be treated as a monitoring primitive (opens arXiv in a new tab)
  • Constitutional AI: Harmlessness from AI Feedback
  • Random search for hyper-parameter optimization
  • Revealing weaknesses in text watermarking through self-information rewrite attacks
  • Undetectable watermarks for language models
  • The use of confidence or fiducial limits illustrated in the case of the binomial (opens the publisher in a new tab)
  • Scalable watermarking
  • for identifying large language model outputs. Nat., 634(8035):818–823, October 2024. URL https://doi.org/10.1038/s41586-024-08025-4. (opens the publisher in a new tab)
  • Optimizing adaptive attacks against watermarks for language models
  • Discovering clues of spoofed lm watermarks (opens arXiv in a new tab)
  • Efficient global optimization of expensive black-box functions (opens the publisher in a new tab)
  • Watermark stealing in large language models
  • A watermark for large language models
  • Paraphrasing evades detectors of ai-generated text, but retrieval is an effective defense
  • Robust distortion-free watermarks for language models
  • Adaptive text watermark for large language models
  • Self-Refine: Iterative Refinement with Self-Feedback
  • An open-source toolkit for llm watermarking (opens arXiv in a new tab)
  • No free lunch in llm watermarking: Trade-offs in watermarking design choices
  • Mark my words: Analyzing and evaluating language model watermarks
  • Reflexion: language agents with verbal reinforcement learning
  • Learning to watermark: A selective watermarking framework for large language models via multi-objective optimization
  • MorphMark: Flexible adaptive watermarking for large language models (opens arXiv in a new tab)
  • Provable robust watermarking for AI-generated text
  • Watermarking for ai-generated content (opens arXiv in a new tab)
  • Watermarking has no universally optimal configuration i.e., detectability, quality, robustness, and security depend on the watermark mechanism, model, decoding policy, and output distribution (Pang et al., 2024; Wouters, 2024; Piet et al., 2023)
  • Prior adaptive methods change where or how a watermark is embedded using token entropy, semantics, or learned generation features (Liu & Bu, 2024; Wang et al., 2025b,a)
  • Constitutional AI uses written principles to supervise model behavior, while feedback-driven agents refine decisions over repeated trials without necessarily updating model weights (Bai et al., 2022; Shinn et al., 2023; Madaan et al., 2023)
  • watermarking and detection act on the visible answer, not on reasoning tokens
  • The verification agent may set only the fields exposed by MarkLLM's KGW configuration (KGW.json); the provider key, left-context window policy, and calibrated detector operating points are held fixed
  • DIPPER-XXL uses lexical diversity 60, order diversity 0, sentence interval 1, top-p = 0.75, and at most 100 new tokens per generation call
  • Answers are regenerated for each arm on the same 500 test prompts
  • Precedence is first-applicable: when several rules apply to a prompt, the monitor selects the first in the order below, and only that rule's action and stated priorities are enforced
  • Observed FPRs range from 0.88% to 1.14% at nominal 1% and from 0.08% to 0.18% at nominal 0.1%
  • Only the natural-language priority instruction changes:
  • ><tr><td rowspan=
  • Every difference favors Constitutional-KGW, but only the DIPPER gain at nominal 0.1% FPR (+5.4 percentage points) excludes zero; the remaining differences lie within sampling uncertainty at this sample size
  • >0.1%</td><td>DIAA</td><td>13.8</td><td>12.2</td><td>$+1.6\ [-2.6, 3.8]$</td></tr><tr><td>DIPPER</td><td>17.0</td><td>11.6</td><td>$+5.4\ [0.6, 10.2]$</td></tr><tr><td rowspan=
  • Agent and monitor rationales are quoted verbatim; configurations are written in the paper's notation, and rules by the names used in Appendix B.4
  • Rewrite the following medical disclaimer to improve readability: 'This medication should only be taken as prescribed by a qualified healthcare professional.'
  • The request is a low-risk proofreading/editing task; policy specifies no watermarking for low-risk edits
  • I have a persistent cough and shortness of breath; what should I do?
  • Medical advice with high-stakes implications; choose watermarking and prioritize quality/low distortion per policy
  • Can you correct the grammar in this sentence: 'She dont like the movie'?
  • Deterministic grammar correction task; watermark applied per KGW with priority on quality and detectability
  • ><tr><td>Monitor</td><td>Prompts</td><td>n</td><td>Correct rule (%)</td><td>Correct decision (%)</td><td>Failures</td></tr><tr><td rowspan=
  • The argument applies
  • The attacker knows the algorithm, configuration, and defense, may adaptively collect N provider responses, but knows neither the secret keys nor their assignments and has no detection-oracle access
  • For each attacker covered by the claim, its output $X^*$ induces mutually independent indicators $Z_{c,j}(X^*) \sim \text{Bernoulli}(p)$ with the same marginal $p \in [0,1]$ across keys
  • It is per forgery attempt, not a bound on success over unlimited attempts
  • A provider may request this defense for a forgery-sensitive rule, with its assumptions recorded alongside the policy
  • We therefore record this extension as conditional theoretical support, not an empirically passed gate or a security certificate for the deployed configurations
  • Let $y_{r}$ indicate whether rule r applies, d be the correct watermark decision, and $m_{\varphi,r}$ be the predicted
  • One training objective is
  • Provider precedence and objective aggregation are enforced outside the learned model
  • This assumes a trusted generation record, or authenticated metadata, identifying the policy version and detector; it is not attribution from candidate text alone
  • An untouched null audit would then report the observed FPR with exact two-sided intervals and a one-sided upper bound (Clopper & Pearson, 1934), together with selection coverage, so that abstention cannot masquerade as a low-FPR detector
  • Rule-specific configurations under a single key do not by themselves satisfy these assumptions