A Unified Approach to Interpreting Knowledge Distillation for Large Language Models via Interactions

🤖 Intelligence Artificielle

A Unified Approach to Interpreting Knowledge Distillation for Large Language Models via Interactions

arXiv:2607.08776v1 Announce Type: new Abstract: Despite the success of knowledge distillation (KD) in Large Language Models (LLMs), the underlying mechanism behind its efficacy remains unclear. In this paper, we propose a unified approach to explore the common mechanism of various KD methods using interactions. Specifically, we decompose the output score of the LLM into the sum of numerous interactions. Each interaction represents a nonlinear relationship involving a set of input variables (e.g., words). Based on the decomposed interactions, we discover that the common mechanism underlying various KD methods is the sparsification of interactions, i.e., student models retain fewer interactions for inference while suppressing other interactions to zero effects. Furthermore, we discover that the performance variance across different KD methods arises from their capabilities in handling complex interactions. A KD method typically yields better performance if it enables the student model to achieve higher sparsity of complex interactions. Motivated by these insights, we propose a plug-and-play loss function called Complex Interaction Penalty (CIP) to explicitly enforce the sparsity of complex interactions during the distillation process. Extensive experiments demonstrate that integrating CIP consistently improves the performance of diverse KD methods on both in-domain and out-of-distribution benchmarks.

📖 Cet article provient d'une source externe.

🔗 Lire l'article complet sur la source →

194 mots extraits · Source originale


🔥 OFFRE PARTENAIRE

Digital Children Camera Photography Instant Print Photo 1080P HD Video Recorder Mini Thermal Printer Educational Birthday Gifts

🔥 Digital Children Camera Photography Instant Print Photo 1080P HD Video Recorder Mini Thermal Printer Educational Birthday Gifts - Une offre exceptionnelle à ne pas manquer ! Cliquez pour découvrir.
✅ Consultez les photos supplémentaires.

✅ Découvrez toutes les caractéristiques.

✅ Vérifiez la disponibilité actuelle.

✅ Consultez les avis des acheteurs.

Posts les plus consultés de ce blog

Ce smartphone présente le meilleur rapport qualité / prix de notre comparatif

AI Is Here to Stay. The Real Challenge Is Operating It Securely

Can AI Draw Science? A Benchmark for Evaluating Scientific Figure Generation by Text-to-Image and Multimodal Models

Language to rewards for robotic skill synthesis

Comment supprimer son historique Canal ?

Microsoft Warns Poisoned MCP Tool Descriptions Can Make AI Agents Leak Data

US Gov asks Anthropic to ban 'foreign national' access to Fable, Mythos

Teaching language models to reason algorithmically

Rivian’s CEO on Tesla’s Cybertruck, Ferrari’s Luce, and What Happens If the R2 Fails

Amazon’s data centers used 2.5 billion gallons of water last year