Information-Profile Watermark Shaping
Implementation & benchmark of arXiv:2607.13003 — Watermark Forensics for Generative Models: An Information-Theoretic Perspective
Source paper: Watermark Forensics for Generative Models: An Information-Theoretic Perspective arXiv:2607.13003 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Train a generative watermark so that its information about the payload is deliberately distributed across positions or overlapping windows instead of being concentrated in a few easily cropped tokens. The objective uses the paper's conditional information profile and the footprint-resolution lower bound to select the smallest carrier support compatible with a target crop size, while preserving generation quality outside that support.
Formulas
Mathematical statement
The paper defines the information profile of a payload S encoded in a generated sequence X=(X_1,...,X_n) as \(\nu(t)=I(S;X_t\mid X_{<t})\), where \(X_{<t}=(X_1,...,X_{t-1})\), and the total payload information is \(\|\nu\|_1=\sum_t\nu(t)=I(S;X)\). For a carrier support \(R\subseteq\{1,...,n\}\), let \(|R|\) be its number of active positions. Theorem 3.12 states that any w-crop-robust scheme with local dilation radius r satisfies \(|R|w\geq(n-w+1)/(2r+1)\), hence \(|R|w=\Omega(n)\) for bounded r; for a post-hoc embedding scheme in class \(\mathcal{E}(m)\), \(|R|\leq m\), giving \(mw=\Omega(n)\). We estimate \(\nu(t)\) with a variational decoder \(q_\phi\): \(\widehat\nu_t=\mathbb{E}[\log q_\phi(S\mid X_{\leq t})-\log q_\phi(S\mid X_{<t})]\), where \(X_{\leq t}=(X_1,...,X_t)\).
Implementation notes
Integrate this into a transformer watermarking fine-tuning setup. The generator receives a secret payload s and produces tokens autoregressively; add a lightweight decoder q_phi that predicts s from prefixes. Introduce a trainable gate a_t in [0,1] on the watermark perturbation to the token logits, for example logits = base_logits + a_t * watermark_logits. For each minibatch of sequences, compute decoder log probabilities for q_phi(s|x_<t) and q_phi(s|x_<=t), then estimate the incremental profile with the difference shown in the third formula. Choose a crop length w, robustness radius r, and target per-window information tau. Add the hinge penalty over all length-w windows so every possible retained crop contains at least tau total estimated information. Add an L0-style Hard-Concrete penalty on a_t to minimize active carrier positions, but set a lower-bound target m_min = ceil((n-w+1)/((2r+1)w)) so sparsity cannot violate the theorem's necessary scaling. The quality term should be the KL between watermarked and unwatermarked next-token distributions, optionally combined with standard language-model NLL. Alternate generator and decoder updates, because q_phi must remain useful as the profile estimator. Estimate empirical support as positions with a_t>0.5 and independently test decoder mutual information on held-out payloads; the theorem supplies only a necessary scaling law, while tau and r are engineering choices. Start with GPT-2-small on C4 or WikiText-103, 128-token sequences, and compare uniform green-list watermarking and unconstrained keyed watermark fine-tuning. Evaluate payload recovery after deleting every contiguous crop of length w, generation perplexity, active-token fraction, and detection rate. Success is higher worst-case crop recovery at equal KL/perplexity, or the same recovery with fewer active positions.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Confirmed ✓
Stage 2 · Practical benchmark result: No measurable effect
Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works
Stage 1 — Mechanism check agent confidence 8/10
Built a reproducible binary-channel MVP for information-profile watermark shaping. Exact enumeration confirmed the footprint-resolution lower bound in all tested cases; spreading equal total information across positions improved worst-case 6-token crop information from 0 to 1.062009 bits, and independent-carrier information scaled exactly linearly with carrier count and BSC capacity. The mechanism manifested clearly in the toy setting, but no practical transformer-generation quality win was established.
- Agent confidence
- 8/10
- Baseline
- Concentrated 4-carrier support at n=24,w=6: worst-crop information 0 bits; all-crop recovery 0.0.
- Idea
- Balanced support (2,8,14,20) with the same 4 carriers: worst-crop information 0.531004 bits; all-crop recovery 1.0 at threshold 0.265502 bits; total-profile spreading gain versus concentration 1.062009 bits.
- Profile estimator
- 20,000-sample prefix-information estimate mean absolute error 0.001357 bits.
- Scaling
- For m=[2,4,8,12] independent carriers at BSC p=0.1: information [1.062009,2.124018,4.248035,6.372053] bits, zero numerical error versus m*C_BSC.
- Theorem checks
- Predicted support bounds [4,3,2,1,2]; exact minima [4,3,2,2,3], all satisfying the lower bound.
Limitations: This is only a toy binary-channel study. It does not test GPT-style generation, NLL/perplexity or KL quality, learned generator/decoder updates, Hard-Concrete gates, detection, payload generalization, correlated natural text, actual token cropping, GPU performance, or a practical watermarking baseline.
How to run: python3 experiment.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.13003)
Ahead of the baseline (-0 metric points) but not statistically significant (p=0.8081, wins 3 / 8 paired seeds).
- Benchmark
- Conditional multi-token diffusion
- Model
- shared_transformer_tiny
- Paired seeds
- 8
- Baseline mean
- 0
- Idea mean
- 0
- Effect (Δ)
- -0 (n/a; negative = idea better)
- Wins
- 3 / 8 paired seeds
- p-value
- 0.8081 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- n/a
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
The registered track is a small synthetic conditional multi-token diffusion task, not natural-language autoregressive generation. The experiment does not test GPT-scale watermarking, token-level perplexity/KL, Hard-Concrete gates, detection rates, or larger models; the mechanism signature uses decoder BCE under output masking rather than actual text-token cropping.
How to run: python3 bench_run.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 9/10
The registered conditional_multitoken_diffusion benchmark was run with a shared transformer system, an equal three-learning-rate baseline sweep, and 8 paired seeds. Information-profile shaping produced a negligible primary MSE improvement (delta=-0.0000164, permutation p=0.8081), so it did not meet the required significant-win criterion. The behavior signature was directionally confirmed: mean worst-crop decoder BCE decreased from 0.734276 to 0.719253, but this did not translate into a significant task-metric win.
- Baseline
- Best lr=0.003; 8-seed mean MSE approximately 0.17870; worst-crop decoder BCE 0.734276.
- Idea
- Best lr=0.003; 8-seed mean MSE approximately 0.17868; paired delta=-0.0000164, 3/8 wins, permutation p=0.8081; worst-crop decoder BCE 0.719253.
- Mechanism
- Crop BCE standard deviation changed from 0.001265 to 0.001193; mechanism_signature.confirmed=true.
Benchmark result
Ahead of the baseline (-0 metric points) but not statistically significant (p=0.8081, wins 3 / 8 paired seeds).
- Benchmark
- Conditional multi-token diffusion
- Model
- shared_transformer_tiny
- Paired seeds
- 8
- Baseline mean
- 0
- Idea mean
- 0
- Effect (Δ)
- -0 (n/a; negative = idea better)
- Wins
- 3 / 8 paired seeds
- p-value
- 0.8081 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- n/a
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
The registered track is a small synthetic conditional multi-token diffusion task, not natural-language autoregressive generation. The experiment does not test GPT-scale watermarking, token-level perplexity/KL, Hard-Concrete gates, detection rates, or larger models; the mechanism signature uses decoder BCE under output masking rather than actual text-token cropping.
How to run: python3 bench_run.py
Artifacts
- REPORT.md 3.0 KB View
- bench_report.json 5.9 KB View Raw
- bench_run.py 5.9 KB View Raw
- experiment.py 6.6 KB View Raw
- payload_track.py 1.3 KB View Raw
- report.md 1.8 KB View
- report_bench_2026-08-31T014706.md 4.2 KB View
- results.json 3.5 KB View Raw