Antidistillation Fingerprinting

Yixuan Even Xu, John Kirchenbauer, Yash Savani, Asher Trockman, Alexander Robey, Tom Goldstein, Fei Fang, J Zico Kolter

The Distillation Dilemma

Frontier Large Language Models (LLMs) like GPT-4 or Claude require millions of dollars and immense computational resources to train. To bypass these prohibitive costs, developers frequently employ "model distillation"—prompting a frontier "teacher" model and using its high-quality responses to fine-tune a smaller, cheaper "student" model. While efficient, this practice effectively appropriates the capabilities and intellectual property of the original model.

Model owners naturally want to detect when their outputs are being used for distillation. However, existing text watermarking techniques, such as the standard "red-and-green-list" scheme, face a severe trade-off between text quality and fingerprint strength. To make a watermark strong enough for a student model to actually "internalize" it during training, the teacher's output must be heavily perturbed, often rendering the text repetitive or nonsensical. Conversely, if the watermark is subtle enough to maintain high utility, the student model fails to pick up the signal, making detection impossible.

The Solution: Antidistillation Fingerprinting (ADFP)

To resolve this trade-off, researchers have introduced Antidistillation Fingerprinting (ADFP). Unlike traditional watermarks that apply a static, heuristic bias to randomly selected words, ADFP is fundamentally "distillation-aware." It embeds subtle, highly "learnable" signals into the teacher's outputs, allowing model owners to prove a third party has distilled their model with high confidence and minimal impact on text quality.

How ADFP Works

ADFP treats fingerprinting as a problem of transfer learning. The goal is not merely to mark the text, but to ensure the mark is "sticky" enough to be absorbed into the student model's weights. The methodology relies on three core components:

  1. The Proxy Model: Because the teacher model rarely knows the exact architecture the distilling party is using, ADFP employs a "proxy" student model to simulate the learning process.
  2. Gradient-Based Perturbation: Instead of uniformly boosting all "green-list" tokens (randomly selected valid words), ADFP uses the proxy model to identify which specific tokens will most effectively drive the student's optimization trajectory toward the fingerprint. By selectively amplifying tokens that already have a high likelihood, the changes remain unnoticeable to humans while becoming highly memorable to the student.
  3. Isotropic Approximation: Calculating gradients for every possible word in a massive vocabulary is computationally expensive. To make the process efficient enough for real-time text generation, ADFP utilizes an isotropic approximation—a mathematical shortcut that preserves accuracy while drastically reducing computational overhead.

Essentially, ADFP chooses the "most educational" tokens for the student to learn the watermark, rather than shouting a watermark at random.

Experimental Setup and Key Results

To ensure ADFP is robust across different types of generation, the researchers evaluated the method across three distinct domains:

  • GSM8K: Grade school math word problems (testing mathematical reasoning).
  • OASST1 (OpenAssistant): Multi-turn human-assistant conversations (testing open-domain dialogue).
  • MBPP: Mostly Basic Python Problems (testing code generation).

Across all domains, ADFP demonstrated a significant Pareto improvement over state-of-the-art baselines, achieving better detection rates simultaneously with higher text quality.

  • Superior Detection: On the GSM8K dataset, at a fixed level of teacher accuracy, ADFP lowered the expected false positive rate by nearly an order of magnitude, dropping the p-value from 0.09 to 0.01.
  • Quality Preservation: In open-domain dialogue (OASST1), ADFP maintained significantly lower perplexity (better text flow) than the baseline red-and-green-list method for the exact same level of fingerprinting strength.
  • Effective on Code: Even within the rigid, syntax-heavy structure of Python code (MBPP), ADFP successfully embedded fingerprints that survived the student's fine-tuning process without breaking the code's functionality.
  • Robustness to Unknowns: Remarkably, ADFP remains effective even when the actual student model's architecture differs from the proxy model, suggesting that the "learnability" of certain token patterns is somewhat universal across transformer-based LLMs.

Limitations and Future Directions

While ADFP represents a major leap forward in IP protection for LLMs, it is not without limitations. First, it relies on a proxy model; if a student uses a radically different architecture (e.g., a non-Transformer model), the transfer effect may weaken. Second, running a proxy model alongside the teacher introduces computational overhead during inference, even with the isotropic approximation. Finally, future research must investigate how ADFP withstands adversarial countermeasures, such as attackers who attempt to scrub watermarks using back-translation or aggressive data filtering before fine-tuning.

Summary updated

BibTeX
@inproceedings{xu2026antidistillation,
  author = {Yixuan Even Xu and John Kirchenbauer and Yash Savani and Asher Trockman and Alexander Robey and Tom Goldstein and Fei Fang and J Zico Kolter},
  title = {{Antidistillation Fingerprinting}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=VM9VwbeHcv},
}
Figure