Papers › Predictive Likelihood Ratios for Language Model Watermark Detection

Predictive Likelihood Ratios for Language Model Watermark Detection

14 Sep 2026arXiv:2609.15657added by Syntology

Li Ma

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Keyed watermark detection tests dependence between observed tokens and pseudorandom variables reconstructed from a secret key. Building on the pivotal framework of Li et al. (2025), we construct predictive likelihood ratios that average over uncertain probability deficits and residual-tail distributions. The aim is robust detection power across alternative specifications without requiring a single signal-strength tuning. A mixture prior combines tail shape and effective width; hierarchical extensions allow within-document variation in deficit or width. The test maximizes prior-averaged power at a fixed size, but is not generally uniformly most powerful or minimax. Under the exact conditional pivot null, normalized predictive alternatives selected before each observation yield a Bayes factor that is also a test martingale: Type I error control is unaffected by alternative misspecification and remains valid under optional stopping. This guarantee does not cover violations of the conditional null, and the interpolated implementation has no certified anytime guarantee. Gumbel marginal likelihoods are evaluated by fixed quadrature. Across the evaluated tail-shape and tail-width alternatives and three horizons, the union-tail mixture has maximum observed Type II error regret .0080, compared with .0962 for the equal-tail mixture, relative to the best tested rule. On temperature-matched outputs from two open models, it improves AUC over the equal-tail baseline in all eight non-saturated model-temperature cells, although the leading reference score generally has higher AUC. Supplementary experiments show retained power under independent null-like replacement and smaller changes from hierarchical dependence modeling. The evidence supports robustness across the evaluated alternatives, not uniform power guarantees or resistance to arbitrary text edits.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2609.15657")

Code

Syntology Ran 0 of 21 code samples harvested from 1 repository linked to this paper; 21 have no recorded run.

By repository: found in paper text by Syntology: 21 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MaStatLab/PLRWatermark found in paper text by SyntologyMIT report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 0 ran; 0 honoured the contract we drafted; 21 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

21unverified

Licence: 0 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from MaStatLab/PLRWatermark. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

beta_grid_prior MaStatLab/PLRWatermark/code/bayesian_watermark.py found in paper text by Syntology unverified MIT (permissive) · 0d62387e56d267c5 · report
build MaStatLab/PLRWatermark/code/build_prompts.py found in paper text by Syntology unverified MIT (permissive) · 3d1069cecaec3698 · report
delta_grid MaStatLab/PLRWatermark/code/check_delta_learning.py found in paper text by Syntology unverified MIT (permissive) · a37526267894a76f · report
effective_prior_support MaStatLab/PLRWatermark/code/benchmark_paper_experiment.py found in paper text by Syntology unverified MIT (permissive) · b962cb2c40a0473b · report
fetch_shard MaStatLab/PLRWatermark/code/build_prompts.py found in paper text by Syntology unverified MIT (permissive) · 63657202a66cac76 · report
identical_to_four_decimals MaStatLab/PLRWatermark/code/check_clean_quadrature.py found in paper text by Syntology unverified MIT (permissive) · 199955359ab1bd15 · report
indicator_key MaStatLab/PLRWatermark/code/benchmark_contamination.py found in paper text by Syntology unverified MIT (permissive) · ea0154500e106d6d · report
instrument MaStatLab/PLRWatermark/code/check_figure_geometry.py found in paper text by Syntology unverified MIT (permissive) · 6c4cde22d84f6fa6 · report
is_point_mass_method MaStatLab/PLRWatermark/code/benchmark_contamination.py found in paper text by Syntology unverified MIT (permissive) · 2f8f5e75ac9d73f1 · report
least_favorable_probabilities MaStatLab/PLRWatermark/code/bayesian_watermark.py found in paper text by Syntology unverified MIT (permissive) · 2a5ab900a8ddd7da · report
logsumexp MaStatLab/PLRWatermark/code/bayesian_watermark.py found in paper text by Syntology unverified MIT (permissive) · ea708dfa2b17d157 · report
panels MaStatLab/PLRWatermark/code/check_figure_geometry.py found in paper text by Syntology unverified MIT (permissive) · a7ed6ccc4e9dbce6 · report
parse_geometry MaStatLab/PLRWatermark/code/check_figure_geometry.py found in paper text by Syntology unverified MIT (permissive) · cb135715278b995d · report
point_mass_method MaStatLab/PLRWatermark/code/benchmark_contamination.py found in paper text by Syntology unverified MIT (permissive) · 049125724c2f4330 · report
read_csv MaStatLab/PLRWatermark/code/check_manuscript_tables.py found in paper text by Syntology unverified MIT (permissive) · 6bd801e493fd8147 · report
read_json MaStatLab/PLRWatermark/code/check_manuscript_tables.py found in paper text by Syntology unverified MIT (permissive) · 905fbfaea546ab77 · report
sha256 MaStatLab/PLRWatermark/code/build_prompts.py found in paper text by Syntology unverified MIT (permissive) · 683398569d564d3b · report
simulate_gumbel_pivots MaStatLab/PLRWatermark/code/check_delta_learning.py found in paper text by Syntology unverified MIT (permissive) · 5591653eea552fbf · report
spike_log_density MaStatLab/PLRWatermark/code/contamination_asymmetry.py found in paper text by Syntology unverified MIT (permissive) · 1cbdaf288020b782 · report
summarize MaStatLab/PLRWatermark/code/check_delta_learning.py found in paper text by Syntology unverified MIT (permissive) · 030536d64258273e · report
visible_tex MaStatLab/PLRWatermark/code/check_manuscript_tables.py found in paper text by Syntology unverified MIT (permissive) · 3b25a3fe9619ed87 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2609.15657, was issued in September 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections