Multistage Collaborative Knowledge Distillation from a Large Language Model for Semi-Supervised Sequence Generation
Jiachen Zhao, Wenlong Zhao, Andrew Drozdov, Benjamin Rozonoyer, Md Arafat Sultan, Jay-Yoon Lee, Mohit Iyyer, Andrew McCallum
TL;DR
This work tackles semi-supervised sequence generation under extreme data scarcity, showing that a student distilled from a few-shot prompted LLM can generalize better than the LLM itself. It introduces Multistage Collaborative Knowledge Distillation (MCKD), a cross-partition, multi-stage KD framework that iteratively refines pseudolabels by training paired students on disjoint unlabeled partitions. Across constituency parsing and semantic parsing tasks, MCKD achieves substantial gains, outperforming the LLM teacher and vanilla KD, and matching or exceeding supervised finetuning with many more labeled examples (e.g., 7.5% F1 gain on CRAFT with 50 labels, aligning with 500-label SFT). The method demonstrates strong label efficiency and scalable improvements through staged distillation, with practical implications for low-resource domains and specialized structured outputs.
Abstract
We study semi-supervised sequence generation tasks, where the few labeled examples are too scarce to finetune a model, and meanwhile, few-shot prompted large language models (LLMs) exhibit room for improvement. In this paper, we present the discovery that a student model distilled from a few-shot prompted LLM can commonly generalize better than its teacher to unseen examples on such tasks. We find that the student is able to learn a general pattern from the high-quality pseudolabels produced by the teacher during knowledge distillation (KD), and favorably not a general pattern from the low-quality pseudolables. Leveraging this discovery, we propose a new method, Multistage Collaborative Knowledge Distillation from an LLM (MCKD), for these tasks. MCKD first few-shot prompts an LLM to produce pseudolabels for unlabeled data. Then at each stage of an iterative KD process, a new pair of students is trained on disjoint partitions of the pseudolabeled data, and produces new and improved pseudolabels for their unseen partitions. We conduct extensive experiments on four syntactic and semantic parsing datasets and show the effectiveness of MCKD for low-resource semi-supervised sequence generation. On CRAFT biomedical parsing, for example, 3-stage MCKD with 50 labeled examples outperforms an LLM teacher and vanilla KD by 7.5% and 3.7% parsing F1, respectively, and matches the performance of supervised finetuning with 500 labeled examples.
