Antidistillation is Cheap: Lightweight Distillation-Resistance via Stylistic Corruption
Abstract
Knowledge distillation (KD) is a highly effective paradigm for transferring capabilities from large language models (LLMs) to smaller, more specialized student models. In commercial deployment where frontier models are restricted behind black-box APIs, sequence-level distillation remains a potent vector for competitors to clone proprietary capabilities at a fraction of the development cost. Existing defenses mostly rely on surrogate models to manipulate next-token sampling, which increases computational overhead and real-time inference latency. In this work, we propose a lightweight defense that dynamically injects style-steering vectors into the teacher model's activations upon malicious queries. This framework offers exceptional flexibility, allowing hosts to customize target defensive styles and dynamically blend them to maximize stylistic variance. Crucially, this inference-time intervention preserves semantic utility and fluency during malicious queries, misleading adversaries into believing that they are extracting pristine teacher outputs, while standard consumers continue to receive original, unmodified responses. Our experiments demonstrate that this framework successfully disrupts student learning, achieving substantial anti-distillation performance while incurring negligible overhead and preserving text naturalness. Our code is available at https://anonymous.4open.science/r/distill-resist-38C6/.
Create a lesson
Metadata
- Comments
- Accepted to Findings of EACL 2027
Related papers
Learning Teacher Output Preferences from Final Responses for Reasoning Distillation
Shared title terminologycs.LGHongli Shen, Shaopeng Fu, Qinbo Zhang et al.
Verifiable On-Policy Distillation
Shared title terminologycs.LGJuntong Shi, Stefano Ermon, Jure Leskovec et al.
Composing Independently Distilled Memory and Retrieval Policies for Long-Term Agents
Shared title terminologycs.LGGrigorii Davydenko, Artem Sakhno, Igor Pavlov et al.
LINK: Lightweight and Inductive Node-to-Node Propagation Rule Learning for Traffic Kriging
Shared title terminologycs.LGYou Shang, Yu-Kwan Ching, Weifeng Su et al.
QA-CMIF:Accurate and Lightweight Cross-Modal Latent Imputation and Fusion for Fault-Tolerant sEMG-Inertial Hand Gesture Recognition
Shared title terminologycs.LGXinyu Tao, Shuang Huang, Yeyun Cai et al.
Do Pretraining Optimizer Gains Transfer to KL Distillation?
Shared title terminologycs.LGLavinia Ghita, Dhruv Desai