mlsanityData to 14 Oct 2026

DOGe: Defensive Output Generation for LLM Protection Against Knowledge Distillation

arXiv 2505.19504 ↗First posted 26 May 2025cs.LG cs.AI cs.CLcited by 14

On the map: Knowledge distillation → Federated, robust and private distillation

Abstract (arXiv)

Large Language Models (LLMs) represent substantial intellectual and economic investments, yet their effectiveness can inadvertently facilitate model imitation via knowledge distillation (KD). In practical scenarios, competitors can distill proprietary LLM capabilities by simply observing publicly accessible outputs, akin to reverse-engineering a complex performance by observation alone. Existing protective methods like watermarking only identify imitation post-hoc, while other defenses assume the student model mimics the teacher's internal logits, rendering them ineffective against distillation purely from observed output text. This paper confronts the challenge of actively protecting LLMs within the realistic constraints of API-based access. We introduce an effective and efficient Defensive Output Generation (DOGe) strategy that subtly modifies the output behavior of an LLM. Its outputs are accurate and useful for legitimate users, yet are designed to be misleading for distillation, significantly undermining imitation attempts. We achieve this by fine-tuning only the final linear layer of the teacher LLM with an adversarial loss. This targeted training approach anticipates and disrupts distillation attempts during inference time. Our experiments show that, while preserving the performance of the teacher model, student models distilled from the defensively generated outputs demonstrate catastrophically reduced performance, demonstrating DOGe as a practical safeguard against KD-based model imitation.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Placed in Federated, robust and private distillation, one of 12 directions in Knowledge distillation. Builds on 50 of its 70 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

50 of 70 references.

References · 50

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  7. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  8. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  9. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  10. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  11. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  12. 2020Knowledge Distillation: A Surveycited by 1,603
38 more
  1. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  2. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
  3. 2016Adversarial Machine Learning at Scalecited by 936
  4. 2016Sequence-Level Knowledge Distillationcited by 801
  5. 2023A Watermark for Large Language Modelscited by 725
  6. 2016Stealing Machine Learning Models via Prediction APIscited by 619
  7. 2019Improved Knowledge Distillation via Teacher Assistantcited by 573
  8. 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 494
  9. 2013Do Deep Nets Really Need to be Deep?cited by 474
  10. 2021Distilling Knowledge via Knowledge Reviewcited by 288
  11. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 284
  12. 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
  13. 2018Paraphrasing Complex Network: Network Compression via Factor Transfercited by 260
  14. 2020Artificial Fingerprinting for Generative Models: Rooting Deepfake Attribution in Training Datacited by 201
  15. 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 200
  16. 2025Preference Leakage: A Contamination Problem in LLM-as-a-judgecited by 125
  17. 2020Adversarial Machine Learning -- Industry Perspectivescited by 122
  18. 2024Instructional Fingerprinting of Large Language Modelscited by 68
  19. 2022Fingerprinting Deep Neural Networks Globally via Universal Adversarial Perturbationscited by 61
  20. 2024Aligning Language Models to Explicitly Handle Ambiguitycited by 56
  21. 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 41
  22. 2021Undistillable: Making A Nasty Teacher That CANNOT teach studentscited by 36
  23. 2024Multi-Level Optimal Transport for Universal Cross-Tokenizer Knowledge Distillation on Language Modelscited by 36
  24. 2017Rocket Launching: A Universal and Efficient Framework for Training Well-performing Light Netcited by 27
  25. 2025Antidistillation Samplingcited by 25
  26. 2024Watermarking Techniques for Large Language Models: A Surveycited by 23
  27. 2022Are You Stealing My Model? Sample Correlation for Fingerprinting Deep Neural Networkscited by 21
  28. 2023Model Extraction Attacks Revisitedcited by 21
  29. 2023Deep Intellectual Property Protection: A Surveycited by 17
  30. 2021Thief, Beware of What Get You There: Towards Understanding Model Extraction Attackcited by 9
  31. 2024U Can't Gen This? A Survey of Intellectual Property Protection Methods for Data in Generative AIcited by 7
  32. 2024Intellectual Property Protection for Deep Learning Model and Dataset Intelligencecited by 6
  33. 2024Control Large Language Models via Divide and Conquercited by 5
  34. 2024Multi-Objective Linguistic Control of Large Language Modelscited by 4
  35. 2024Free-text Rationale Generation under Readability Level Controlcited by 4
  36. 2024Universal and Context-Independent Triggers for Precise Control of LLM Outputscited by 4
  37. 2018Security Matters: A Survey on Adversarial Machine Learningcited by 3
  38. 2024Self-controller: Controlling LLMs with Multi-round Step-by-step Self-awarenesscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 12.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026DistillGuard: Evaluating Defenses Against LLM Knowledge Distillation
  2. 2023Lion: Adversarial Distillation of Proprietary Large Language Models
  3. 2025Can LLM Watermarks Robustly Prevent Unauthorized Knowledge Distillation?
  4. 2025Attack and defense techniques in large language models: A survey and new perspectives
  5. 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
  6. 2023On Extracting Specialized Code Abilities from Large Language Models: A Feasibility Study
  7. 2026CopyShield: A Cross-Level Benchmark of Copyright Defenses in LLMs
  8. 2024Adversarial Moment-Matching Distillation of Large Language Models