Abstract
Knowledge Distillation (KD) typically relies on a "teacher-centric" approach, where a large model generates training data for a smaller "student" model based on the teacher's internal quality metrics. However, this often ignores the student's actual learning capacity and preferences. We present ARTE (Aligning TeacheR with StudenT PreferencEs), a framework that treats KD as a responsive teaching process. By using Direct Preference Optimization (DPO) to align a teacher model with a student's specific learning needs—identified through one-shot in-context learning—ARTE generates tailored training data. Experimental results on the Big-Bench-Hard (BBH) benchmark demonstrate that ARTE significantly improves student performance in logic and knowledge-based reasoning, outperforming state-of-the-art instruction-tuning datasets.
Introduction
The rapid advancement of Large Language Models (LLMs) has led to a performance gap between massive server-side models and lightweight edge-device models. Knowledge Distillation (KD) aims to bridge this gap by using a teacher model (e.g., Llama-3-70B) to generate training data for a student model (e.g., Gemma-2B). Traditional KD methods assume that high-quality, diverse teacher outputs automatically lead to better student learning. However, small models often have limited capacity and can be overwhelmed by complex or inconsistent reasoning styles—a phenomenon akin to a professor using overly technical jargon with a freshman.
ARTE addresses this by shifting the focus from model-centric distillation to responsive teaching. The framework aligns the teacher’s output with the student’s specific learning preferences, ensuring the generated data is "digestible" for the smaller model.
The ARTE Framework
The ARTE framework consists of three primary stages designed to elicit, collect, and align preferences:
- Knowledge Elicitation: The teacher model is prompted with seed questions to brainstorm a diverse set of draft questions and multiple reasoning rationales (e.g., step-by-step explanations vs. simplified summaries).
- Preference Collection: To determine what the student model "prefers," ARTE uses one-shot in-context learning (ICL) as a proxy. If providing a specific rationale helps the student solve a validation task correctly, that rationale is deemed "preferred." Item Response Theory (IRT) is employed to select the most discriminative questions, optimizing the preference set construction.
- Preference Alignment: The teacher model undergoes Direct Preference Optimization (DPO) using the collected preferences. This process fine-tunes the teacher to prioritize generating the types of questions and rationales that most effectively aid the student's learning.
Experimental Results
The effectiveness of ARTE was evaluated using the Big-Bench-Hard (BBH) benchmark, which includes 23 challenging tasks across logic, math, and commonsense reasoning.
As shown in the results table, ARTE-trained models consistently outperformed vanilla models and those trained on general-purpose datasets like GPT-4-LLM and Tulu-v2. Specifically, ARTE achieved a 9.6% improvement in logic reasoning and an 8.5% boost in knowledge-based tasks compared to the best baselines.
Beyond BBH, ARTE demonstrated strong zero-shot generalization on out-of-domain benchmarks such as ARC-Challenge and GSM8K. This suggests that the tailored data helps the student internalize reasoning processes rather than simply memorizing patterns.
Key Insights
- Optimal Rationale Length: Contrary to the "more is better" intuition, longer rationales do not linearly correlate with better performance. Rationales between 75-100 words were found to be most effective, as excessive length can lead to "lost-in-the-middle" confusion or hallucinations in small models.
- Consistency in Reasoning: Small models benefit more from a consistent reasoning strategy within a specific task domain than from high stylistic diversity, which can be confusing during fine-tuning.
- Cross-Model Generalization: A teacher aligned with one student (e.g., Gemma-2B) can effectively generate data for other students of similar capacity (e.g., Qwen1.5-1.8B), even across different model families.
Conclusion
ARTE represents a paradigm shift in knowledge distillation by prioritizing the student's perspective. By aligning teacher models with student preferences, researchers can create more capable and specialized small models suitable for edge computing. Future work will explore measuring preferences through internal model states and further automating the prompt engineering process.
Summary updated