TL;DR
Domain-specialized large language models (LLMs) lose general capabilities, and existing Multi-Teacher On-Policy Distillation (MOPD) methods struggle when teacher training distributions don't match available prompts. Counteraction-Aware MOPD introduces a technique to recover general capabilities while preserving domain expertise by handling misaligned prompt coverage.
✦ Why It Matters
Engineers can now fine-tune domain-specialized models without sacrificing general reasoning, enabling practical deployment in specialized applications.
Key Takeaways
Full Summary
When large language models are fine-tuned for specific domains (vertical domains like medicine or law), they become better at specialized tasks but forget general knowledge and reasoning abilities. Multi-Teacher On-Policy Distillation (MOPD) is a training approach where a student model learns from multiple teacher models by generating its own responses and receiving feedback on those responses.
Existing MOPD pipelines assume teacher-aligned prompt coverage—meaning the prompts used during training match the distribution of data the teachers were trained on—which is unrealistic when the general teacher is an open-source model with unknown training data. This paper introduces Counteraction-Aware MOPD, which specifically addresses misalignment between available prompts and teacher training distributions.
The approach enables recovery of general capabilities while maintaining domain specialization through a mechanism that accounts for conflicting signals between domain and general teachers. Results demonstrate improved capability retention across both specialized and general benchmarks compared to standard MOPD approaches.
Related