Watermarks for Language Models via Probabilistic Automata

Yangkun Wang, Jingbo Shang
12/11/2025
cs.CRcs.CL

No confident code implementation found for this paper.

Abstract

A recent watermarking scheme for language models achieves distortion-free embedding and robustness to edit-distance attacks. However, it suffers from limited generation diversity and high detection overhead. In parallel, recent research has focused on undetectability, a property ensuring that watermarks remain difficult for adversaries to detect and spoof. In this work, we introduce a new class of watermarking schemes constructed through probabilistic automata. We present two instantiations: (i) a practical scheme with exponential generation diversity and computational efficiency, and (ii) a theoretical construction with formal undetectability guarantees under cryptographic assumptions. Extensive experiments on LLaMA-3B and Mistral-7B validate the superior performance of our scheme in terms of robustness and efficiency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025watermarks,
  title  = {Watermarks for Language Models via Probabilistic Automata},
  author = {Yangkun Wang and Jingbo Shang},
  year   = {2025},
  eprint = {2512.10185},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.10185v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.10185.svg)](https://codeofpaper.com/paper/2512.10185)

Discussion