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

大规模语言模型的黑盒在线蒸馏

Black-Box On-Policy Distillation of Large Language Models

Microsoft Research(微软研究院)

Tianzhu Ye, Li Dong, Zewen Chi, Xun Wu, Shaohan Huang, Furu Wei

AI总结:

本研究提出生成对抗蒸馏(GAD),通过在线和黑盒方式实现大规模语言模型的蒸馏,使学生模型在自动评估中与教师模型性能相当。

摘要:

黑盒蒸馏通过仅学习私有教师模型的文本输出来创建学生的大规模语言模型(LLMs),而无需访问其内部logits或参数。在本工作中,我们引入了生成对抗蒸馏(GAD),它使在线和黑盒蒸馏成为可能。GAD将学生LLM视为生成器,并训练判别器以区分其响应与教师LLM的响应,从而创建了一个最小最大游戏。判别器充当一个在线奖励模型,与学生共同进化,提供稳定且适应性的反馈。实验结果表明,GAD在很大程度上超越了通常使用的序列级知识蒸馏。特别是,使用GAD训练的Qwen2.5-14B-Instruct(学生)在LMSYS-Chat自动评估中与教师GPT-5-Chat相当。这些结果确立了GAD作为黑盒LLM蒸馏的有前途且有效的方法论。

英文摘要:

Black-box distillation creates student large language models (LLMs) by learning from a proprietary teacher model's text outputs alone, without access to its internal logits or parameters. In this work, we introduce Generative Adversarial Distillation (GAD), which enables on-policy and black-box distillation. GAD frames the student LLM as a generator and trains a discriminator to distinguish its responses from the teacher LLM's, creating a minimax game. The discriminator acts as an on-policy reward model that co-evolves with the student, providing stable, adaptive feedback. Experimental results show that GAD consistently surpasses the commonly used sequence-level knowledge distillation. In particular, Qwen2.5-14B-Instruct (student) trained with GAD becomes comparable to its teacher, GPT-5-Chat, on the LMSYS-Chat automatic evaluation. The results establish GAD as a promising and effective paradigm for black-box LLM distillation.

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

↑