Task Specialization via Generative Behavior Clustering and Reinforced Distillation: Building Lightweight Experts from LLMs
Year: 2025
Type: article
Abstract: Large language models (LLMs) now routinely contain hundreds of billions of parameters, making them prohibitively expensive to run in latency- or resource-constrained settings. Knowledge distillation offers a principled way to compress such models, yet prevailing approaches train a single, general-purpose student and therefore fail to exploit the rich, task-specific behaviours latent in the teacher. We propose a three-stage framework that (i) clusters teacher responses to uncover coherent behavioural modes, (ii) trains a lightweight student on each cluster by token-level imitation, and (iii) reinforces each student with a self-refinement loop guided by task-aligned rewards. Using GPT-4 as the teacher and Flan-T5-Small or LLaMA2-7B as the base students, our method produces “task-specific experts” that equal or surpass a distilled generalist while reducing inference cost by an order of magnitude. The framework thus bridges the gap between the versatility of large models and the practical demands of specialised, deployable systems.
Author: Zhangqi Liu
Institution: Brown University
Language: English
Topic: Topic Modeling
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
OpenAlex ID: W4413611689
