atlas

Research map / Large language models / Language, safety and interpretability

WaterMax: breaking the LLM watermark detectability-robustness-quality trade-off

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Text watermarking · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes WaterMax, an LLM text watermark that leaves the model and sampling untouched, generates chunk drafts and keeps the one with the lowest p-value, achieving near-1 detectability at FPR 1e-6 with negligible perplexity loss.

Problem

Existing LLM watermarks trade detectability against text quality, since detectability depends on text entropy and strong watermarks degrade quality; robustness is also hard to characterize theoretically.

Approach

Design the detector first (sum of Gaussian token scores over chunks) and build the generator to maximize detection: at each chunk, sample n drafts, keep the one with the highest incremental score (greedy with m=1), so the LLM distribution and sampling are preserved while detectability grows with the number of drafts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use WaterMax chunk-based draft selection instead of token-level watermarkingLlama-3-8b-Instruct · Mark My Words benchmark across temperatures θ=0.8–1.0detectabilityHelped
Use WaterMax with b=6 beam-search tokensWaterMax · Mark My Words benchmarkrelative perplexityNo clear effect
Increase beam-search tokens from b=0 to b=6 (ablation)WaterMax (n=8, N=16) · Mark My Words benchmark, θ=1.0detectabilityHelped
Increase beam-search tokens from b=0 to b=6 (ablation)WaterMax (n=8, N=16) · Mark My Words benchmark, θ=1.0text qualityNo clear effect
Use fewer than 6 beam-search tokens (1≤b<6) (ablation)WaterMax (n=8, N=16) · Mark My Words benchmark, θ=1.0detectabilityHelped
Use fewer than 6 beam-search tokens (1≤b<6) (ablation)WaterMax (n=8, N=16) · Mark My Words benchmark, θ=1.0text qualityHurt
Increase hashing window size h (ablation)WaterMax · No attackdetectabilityHelped
Increase hashing window size h (ablation)WaterMax · Text modification attacksrobustnessHurt
Set hashing window size to h=2 (ablation)WaterMax · No attack, P_FA=10^-6detectabilityHurt
Set hashing window size to h≥4 (ablation)WaterMax · No attack, P_FA=10^-6detectability: P_D=1.0Helped
Set hashing window size to h=6 (ablation)WaterMax · No attackmatch to theoretical score distributionHelped
Use the robust global-score detector instead of the optimal chunk detector (ablation)WaterMax · No attackdetectabilityHurt

Surprising findings

Limitations

Experimental setup

Datasets: Mark My Words benchmark Wikipedia 2018 entries

Benchmarks: Mark My Words

Metrics: true-positive rate at FPR 1e-6 relative perplexity ROUGE-L detectability under attack

Baselines: KGW Aaronson's scheme binary inverse transform

Builds on: KGW Aaronson Gumbel watermark Mark My Words benchmark

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy