# TextSeal: A Localized LLM Watermark for Provenance & Distillation Protection

*Tom Sander, Pierre Fernandez, Hongyan Chang, Tomáš Souček, Sylvestre-Alvise Rebuffi, Hady Elsahar, Valeriu Lacatusu, Alexandre Mourachko, Tuan Tran*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152304) · [Open on the map](../papers.html#p152304)

Category: [AI Safety, Security & Alignment](../pcat/16.md) › [LLM Watermarking](../pgroup/571.md) · Type: new method · Keywords: LLM watermark, localized detection, dual-key generation, entropy-weighted scoring, model distillation protection, AI provenance

Areas: [Safety & Security](../areas/safety.md) › Generative Model Integrity › Language Model Watermarking

## Summary
TextSeal is a localized LLM watermark that uses dual-key generation and multi-region localization to enable robust provenance detection and distillation protection without harming model performance.

## Explained to a 5-year-old
We add tiny hidden marks inside the words a big computer program writes so we can tell if the words came from the computer. These secret marks are spread out in many places and stay even when the computer's writing is mixed with people's writing. The marks also travel when the computer shares its knowledge with another computer, so we can still find out who copied it. The computer can still work normally and not be slower because of these marks. This helps keep track of who wrote what and stops people from stealing the computer's tricks.

## Explained to a 5-year-old, longer
A big computer program that writes words can be given secret marks inside its words. These secret marks are like tiny stickers that only the computer knows. They are placed in many different spots so that even if the computer's writing is mixed with people's writing, we can still find them. The marks are made in a way that they don't change the meaning of the words, so the writing still sounds natural. Even when the computer's knowledge is shared with another computer, the secret marks travel along, like a hidden message passed in a game of telephone. This helps us know where the words originally came from, like finding a fingerprint on a drawing. It also stops someone from copying the computer's brain and using it without permission, because the marks stay hidden. The computer can still work quickly and doesn't need extra time or extra computer power to hide or find these marks. The marks are made using a special way of picking letters that makes sure the writing stays varied and interesting. Because the marks are spread out, they are hard to remove or fake, making them reliable for checking authenticity. In tests, the computer still does well on tasks like answering questions, showing that the marks don't hurt its performance. People checked the writing in many languages and found that readers couldn't tell the difference between marked and unmarked writing.

## For a technical reader
TextSeal embeds a localized watermark into LLM outputs using dual-key generation and entropy-weighted scoring, enabling robust detection even when the text is mixed with human writing. It supports serving optimizations such as speculative decoding and multi-token prediction without adding inference overhead. The watermark is theoretically distortion-free and preserves downstream performance on reasoning benchmarks. Additionally, the watermark signal transfers through model distillation, allowing detection of unauthorized use.

## Problem
Large language models lack reliable, localized watermarks that can protect provenance and prevent unauthorized distillation while preserving output quality.

## Method
The approach builds on Gumbel-max sampling to embed a dual-key watermark, uses entropy-weighted scoring and multi-region localization for robustness, and supports serving optimizations like speculative decoding without extra inference cost.

## Results
The approach outperforms baselines in detection strength, remains robust to dilution, preserves downstream performance on reasoning benchmarks, and shows no perceptible quality loss in multilingual human evaluation.

## Contributions
It introduces a localized watermark using dual-key generation and multi-region localization, supports serving optimizations without extra overhead, and demonstrates that the watermark is distortion-free and transferable through model distillation.

## Practical relevance
It enables reliable provenance tracking of AI-generated text and prevents unauthorized model distillation, supporting content authenticity and intellectual property protection.

## Research questions this paper is counted under

- [How can we reliably quantify and improve the uncertainty and calibration of large language models in real-world scenarios?](../q/3.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152304)
