arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.08640cs.CLcs.LG
收藏

面向半监督序列生成的大语言模型多阶段协作知识蒸馏

Multistage Collaborative Knowledge Distillation from a Large Language Model for Semi-Supervised Sequence Generation

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);IBM Research AI(IBM研究院人工智能部门);Seoul National University(首尔大学)

Jiachen Zhao, Wenlong Zhao, Andrew Drozdov, Benjamin Rozonoyer, Md Arafat Sultan, Jay-Yoon Lee, Mohit Iyyer, Andrew McCallum

AI总结:

针对低资源半监督序列生成,本文提出MCKD,通过多阶段训练互不相交数据分区上的学生对并迭代改进伪标签,在多个解析数据集上显著超过LLM教师与普通KD。

摘要:

我们研究半监督序列生成任务:在这类任务中,少量标注样本过于稀少,不足以微调模型,同时少样本提示的大语言模型(LLM)仍有提升空间。本文发现,在这类任务上,从少样本提示的LLM蒸馏得到的学生模型通常能够比其教师更好地泛化到未见过的样本。我们发现,学生能够在知识蒸馏(KD)过程中从教师生成的高质量伪标签中学习一般模式,而有利的是,它不会从低质量伪标签中学习一般模式。利用这一发现,我们针对这些任务提出了一种新方法,即来自LLM的多阶段协作知识蒸馏(MCKD)。MCKD首先通过少样本提示LLM为未标注数据生成伪标签。随后,在迭代KD过程的每个阶段,一对新的学生模型在伪标注数据的互不相交分区上训练,并为各自未见过的分区生成新的、经过改进的伪标签。我们在四个句法和语义解析数据集上进行了大量实验,证明了MCKD在低资源半监督序列生成中的有效性。例如,在CRAFT生物医学解析任务上,使用50个标注样本的3阶段MCKD分别比LLM教师和普通KD高出7.5%和3.7%的解析F1,并且达到了使用500个标注样本进行监督微调的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑