{
  "id": "2023/1661",
  "url": "https://opencryptology.org/2023/1661",
  "original_url": "https://eprint.iacr.org/2023/1661",
  "title": "Publicly-Detectable Watermarking for Language Models",
  "authors": [
    "Jaiden Fairoze",
    "Sanjam Garg",
    "Somesh Jha",
    "Saeed Mahloujifar",
    "Mohammad Mahmoody",
    "Mingyuan Wang"
  ],
  "affiliations": null,
  "abstract": "We present a publicly-detectable watermarking scheme for LMs: the detection algorithm contains no secret information, and it is executable by anyone. We embed a publicly-verifiable cryptographic signature into LM output using rejection sampling and prove that this produces unforgeable and distortion-free (i.e., undetectable without access to the public key) text output. We make use of error-correction to overcome periods of low entropy, a barrier for all prior watermarking schemes. We implement our scheme and find that our formal claims are met in practice.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Publicly-Detectable Watermarking for Language Models” by Jaiden Fairoze, Sanjam Garg, Somesh Jha, Saeed Mahloujifar, Mohammad Mahmoody, Mingyuan Wang, Cryptology ePrint Archive, Paper 2023/1661, https://eprint.iacr.org/2023/1661. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-10-26T10:45:01Z",
    "updated": "2025-01-04T13:49:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1661.pdf",
    "sha256": "3355903be2f7f1a6128f8dfe61612d677a166cfff3720608e9fd8aee026d6b3e",
    "size": 1020209,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1661/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1661.pdf",
      "size": 1020209,
      "sha256": "3355903be2f7f1a6128f8dfe61612d677a166cfff3720608e9fd8aee026d6b3e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1661/versions/20231028T050401Z.pdf",
      "captured_at": "2023-10-28T05:04:01Z",
      "label": "copy captured 2023-10-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20231028050401id_/https://eprint.iacr.org/2023/1661.pdf",
      "size": 1753423,
      "sha256": "a12ce7742be28685cc7deec4e70938279f069eafb487e37ac5541c077e5abd05",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260825212703id_/https://eprint.iacr.org/2023/1661.pdf",
      "captured_at": "2026-08-25T21:27:03Z",
      "size": 844488
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1661.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1020209
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1661,\n      author = {Jaiden Fairoze and Sanjam Garg and Somesh Jha and Saeed Mahloujifar and Mohammad Mahmoody and Mingyuan Wang},\n      title = {Publicly-Detectable Watermarking for Language Models},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1661},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1661}\n}"
}
