mlsanityData to 14 Oct 2026

Protecting Language Models Against Unauthorized Distillation through Trace Rewriting

arXiv 2602.15143 ↗First posted 16 Feb 2026cs.AI cs.CLcited by 6

On the map: LLM safety and security → Watermarking generated content and models

also in 1 more
Abstract (arXiv)

Knowledge distillation is a widely adopted technique for transferring capabilities from LLMs to smaller, more efficient student models. However, unauthorized use of knowledge distillation takes unfair advantage of the considerable effort and cost put into developing frontier models. We investigate methods for modifying teacher-generated reasoning traces to achieve two objectives that deter unauthorized distillation: (1) anti-distillation, or degrading the training usefulness of query responses, and (2) API watermarking, which embeds verifiable signatures in student models. We introduce several approaches for dynamically rewriting a teacher's reasoning outputs while preserving answer correctness and semantic coherence. Two of these leverage the rewriting capabilities of LLMs, while others use gradient-based techniques. Our experiments show that a simple instruction-based rewriting approach achieves a strong anti-distillation effect while maintaining or even improving teacher performance. Furthermore, we show that our rewriting approach also enables embedding watermarks that can be reliably detected with essentially no false alarms. Our code is available at https://github.com/xhOwenMa/trace-rewriting.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 32 of its 49 references that are in the map. First posted on arXiv 16 Feb 2026.

Builds on

32 of 49 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Unified attacks to large language model watermarks: spoofing and scrubbing in unauthorized knowledge distillation24 Apr
  2. 2023Provable Robust Watermarking for AI-Generated Text30 Jun
  3. 2023Protecting Language Generation Models via Invisible Watermarking6 Feb
  4. 2022Watermarking Pre-trained Language Models with Backdooring14 Oct
  5. 2022Distillation-Resistant Watermarking for Model Protection in NLP7 Oct
  6. 2022CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarks19 Sep
  7. 2021Protecting Intellectual Property of Language Generation APIs with Lexical Watermark5 Dec

Other references · 25

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  7. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  8. 2020Knowledge Distillation: A Surveycited by 1,603
  9. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  10. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  11. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  12. 2018Spectral Signatures in Backdoor Attackscited by 484
13 more
  1. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
  2. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  3. 2023Poisoning Language Models During Instruction Tuningcited by 269
  4. 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 233
  5. 2023Guiding Large Language Models via Directional Stimulus Promptingcited by 95
  6. 2024Controllable Text Generation for Large Language Models: A Surveycited by 57
  7. 2025Do Large Language Model Benchmarks Test Reliability?cited by 54
  8. 2020Plug-and-Play Conversational Modelscited by 30
  9. 2025Antidistillation Samplingcited by 25
  10. 2024Keypoint-based Progressive Chain-of-Thought Distillation for LLMscited by 23
  11. 2025DOGe: Defensive Output Generation for LLM Protection Against Knowledge Distillationcited by 14
  12. 2025Information-Preserving Reformulation of Reasoning Traces for Antidistillationcited by 8
  13. 2025Virus Infection Attack on LLMs: Your Poisoning Can Spread "VIA" Synthetic Datacited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning
  2. 2025Can LLM Watermarks Robustly Prevent Unauthorized Knowledge Distillation?
  3. 2026DistillGuard: Evaluating Defenses Against LLM Knowledge Distillation
  4. 2025Pay Attention to the Triggers: Constructing Backdoors That Survive Distillation
  5. 2026Distillation Traps and Guards: A Calibration Knob for LLM Distillability
  6. 2025UNDO: Understanding Distillation as Optimization
  7. 2026Distilling the Thought, Watermarking the Answer: A Principle Semantic Guided Watermark for Large Reasoning Models
  8. 2026Answer-then-Edit: Reasoning Skeleton Editing for Anti-Distillation with Preserved Utility