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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 21 code samples harvested from 1 repository linked to this paper: 17 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 4 honoured, 1 violated, 6 with no contract checked; 6 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 6 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 21 samples from 1 repository, 17 ran (11 with no instrument failure; 6 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

MaStatLab/PLRWatermark found in paper text by SyntologyMITSyntology: 21 samples, 17 ran (6 instrument-failed) · 4 unverified 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: 17 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 4 honoured, 1 violated, 6 with no contract checked; 6 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · honoured contract
1ran · violated contract
6ran · our draft was wrong
6ran
4unverified

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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

MaStatLab/PLRWatermark found in paper text by Syntology 21 samples, 17 ran (6 instrument-failed) · 4 unverified
beta_grid_prior code/bayesian_watermark.py ran · honoured contract MIT (permissive) · 0d62387e56d267c5 · report fixture: signature alpha:float/0/float, beta:float/0/float, low:float/0/float, high:float/0/float, size:int/0/int · returned tuple · level recorded 2026-09-26
build in 31 papers code/build_prompts.py ran MIT (permissive) · 3d1069cecaec3698 · report fixture: signature model:str/0/str, count:int/0/int, shard:PosixPath/0/? · returned tuple · level recorded 2026-09-26
effective_prior_support code/benchmark_paper_experiment.py ran · honoured contract MIT (permissive) · b962cb2c40a0473b · report fixture: signature config:BenchmarkConfig/0/? · returned tuple · level recorded 2026-09-26
identical_to_four_decimals code/check_clean_quadrature.py ran · our draft was wrong MIT (permissive) · 199955359ab1bd15 · report fixture: signature values:list/1/float · returned bool · level recorded 2026-09-26
indicator_key code/benchmark_contamination.py ran MIT (permissive) · ea0154500e106d6d · report fixture: signature scheme:str/0/str, rho_true:float/0/float, horizon:int/0/int, method:str/0/str · returned str · level recorded 2026-09-26
instrument code/check_figure_geometry.py ran fingerprinted MIT (permissive) · 6c4cde22d84f6fa6 · report fixture: signature body:str/0/str, label:str/0/str, plate:str/0/str · returned str · level recorded 2026-09-26
is_point_mass_method code/benchmark_contamination.py ran · violated contract MIT (permissive) · 2f8f5e75ac9d73f1 · report fixture: signature method:str/0/str · returned bool · level recorded 2026-09-26
least_favorable_probabilities code/bayesian_watermark.py ran · honoured contract MIT (permissive) · 2a5ab900a8ddd7da · report fixture: signature delta:float/0/float, vocabulary_size:NoneType/0/? · returned ndarray · level recorded 2026-09-26
logsumexp in 55 papers
census: 8 implementations from 12 papers, 4 distinct outputs across 2 buckets, one shared input per bucket
code/bayesian_watermark.py ran · our draft was wrong fingerprinted MIT (permissive) · ea708dfa2b17d157 · report fixture: signature values:ndarray/2/float, axis:int/0/int · returned ndarray · level recorded 2026-09-26
panels code/check_figure_geometry.py ran MIT (permissive) · a7ed6ccc4e9dbce6 · report fixture: signature source:str/0/str, label:str/0/str, want:int/0/int · returned list · level recorded 2026-09-26
parse_geometry code/check_figure_geometry.py ran · our draft was wrong fingerprinted MIT (permissive) · cb135715278b995d · report fixture: signature log:str/0/str · returned dict · level recorded 2026-09-26
point_mass_method code/benchmark_contamination.py ran · our draft was wrong fingerprinted MIT (permissive) · 049125724c2f4330 · report fixture: signature rho_zero:float/0/float · returned str · level recorded 2026-09-26
sha256 in 9 papers code/build_prompts.py ran · our draft was wrong MIT (permissive) · 683398569d564d3b · report fixture: signature path:PosixPath/0/? · returned str · level recorded 2026-09-26
simulate_gumbel_pivots code/check_delta_learning.py ran MIT (permissive) · 5591653eea552fbf · report fixture: signature delta:float/0/float, n_documents:int/0/int, horizon:int/0/int, rng:Generator/0/? · returned ndarray · level recorded 2026-09-26
spike_log_density code/contamination_asymmetry.py ran · honoured contract fingerprinted MIT (permissive) · 1cbdaf288020b782 · report fixture: signature log_pivots:ndarray/2/float, deltas:ndarray/2/float · returned ndarray · level recorded 2026-09-26
summarize in 36 papers code/check_delta_learning.py ran MIT (permissive) · 030536d64258273e · report fixture: signature grid:ndarray/1/float, posterior:ndarray/1/float, truth:float/0/float · returned dict · level recorded 2026-09-26
visible_tex code/check_manuscript_tables.py ran · our draft was wrong fingerprinted MIT (permissive) · 3b25a3fe9619ed87 · report fixture: signature tex:str/0/str · returned str · level recorded 2026-09-26
delta_grid code/check_delta_learning.py unverified MIT (permissive) · a37526267894a76f · report
fetch_shard code/build_prompts.py unverified MIT (permissive) · 63657202a66cac76 · report
read_csv in 60 papers code/check_manuscript_tables.py unverified MIT (permissive) · 6bd801e493fd8147 · report
read_json in 250 papers code/check_manuscript_tables.py unverified MIT (permissive) · 905fbfaea546ab77 · 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