Ideal Attribution and Faithful Watermarks for Language Models

Min Jae Song, Kameron Shahabi · DOI

As Large Language Models (LLMs) increasingly generate text indistinguishable from human writing, the challenge of provenance—identifying the source of a given string—has become a critical area of research. However, the field of watermarking currently lacks a unified formal foundation, leading to inconsistent definitions of core properties like robustness and soundness. This paper addresses this gap by introducing a formal mathematical framework for "ideal attribution," providing a rigorous language to evaluate and design watermarking schemes.

The Framework: Ideal Attribution and the Ledger

The authors propose that the "gold standard" for provenance is an idealized, append-only ledger ($\Pi$) that records every interaction (prompt and response) between a user and a model provider. This ledger serves as the ground truth for attribution.

An Ideal Attribution Mechanism is defined as a deterministic function that decides if a string $\zeta$ is attributable to a provider based on this ledger and a Selection Rule ($Z$). The selection rule defines the criteria for attribution—for instance, identifying strings that are sufficiently unique that their appearance by chance is statistically improbable. This framework allows researchers to move beyond heuristic detection and toward a cryptographic abstraction of the problem.

Watermarking as Faithfulness

A key conceptual breakthrough in this work is the definition of watermarking as a "faithful representation" of the ideal ledger-based attribution. In this view, a watermarking scheme is not just a standalone tool but a practical way to approximate the ledger without the massive operational overhead and privacy risks of storing every user interaction.

A watermarking scheme is considered faithful if its verifier—which operates without access to the ledger—consistently reaches the same decision as the ideal mechanism. This perspective allows for the decoupling of three essential guarantees:

  • Undetectability (Distortion-freeness): The watermark does not degrade the quality or statistical properties of the model's output.
  • Robustness: The watermark persists despite edits or modifications to the text, minimizing false negatives.
  • Soundness: The verifier avoids false positives, ensuring human-generated text is not incorrectly flagged.

Anytime Soundness and the Soundness Gap

The authors introduce the property of Anytime Soundness, which ensures that attribution decisions are "forward-stable." In an environment where models generate vast amounts of text over many rounds, a string deemed unattributable at time $t$ should not suddenly become attributable later just because the model has generated more data.

The paper identifies a "soundness gap" in existing watermarking research. For general (non-uniform) language models, even "undetectable" watermarks can be vulnerable to "black-box" false positives. An adversary might be able to exploit the statistical gap between a practical verifier and the ideal mechanism to "plant" a watermark in text the model never actually produced.

PRC-based Constructions and Unforgeability

The authors analyze and extend Pseudorandom Codes (PRCs)—error-correcting codes that mimic random noise—to build watermarking schemes that satisfy these new definitions. Their results include:

  1. Uniform Models: A proof that "Ideal PRCs" can achieve perfect faithfulness for uniform language models (where output bits are essentially coin flips).
  2. General Models: A demonstration that achieving faithfulness is significantly harder for general LLMs, though they provide a robust construction that addresses many current limitations.
  3. Unforgeability: The introduction of watermarks as "non-repudiable evidence of origin." By combining digital signatures with PRCs, the authors propose schemes where even an adversary with white-box access to the detector cannot forge a valid watermarked string.

Limitations and Future Directions

While the framework provides a much-needed theoretical foundation, practical challenges remain. The proposed unforgeable schemes are currently "fragile," meaning they are sensitive to minor text edits (like changing a comma) that standard digital signatures cannot tolerate.

The authors suggest that the next frontier in this research is the development of "robust digital signatures" using techniques like secure sketches. Such signatures would allow for unforgeable watermarks that remain resilient to the natural noise and editing of human language, ultimately bridging the gap between theoretical "ideal attribution" and real-world deployment.

Summary updated

BibTeX
@inproceedings{song2026ideal,
  author = {Min Jae Song and Kameron Shahabi},
  title = {{Ideal Attribution and Faithful Watermarks for Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=5hqkRlAGtP},
}
Figure