arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.17644cs.LGcs.CLcs.DC
收藏

DisaggKD:通过教师-学生解耦与融合损失实现高效知识蒸馏

DisaggKD: Efficient Knowledge Distillation through Teacher-Student Disaggregation and a Fused Loss

The University of Tokyo(东京大学);SB Intuitions Corp.(SB Intuitions公司)

Ruixuan Tu, Yuyang Dong

AI总结:

DisaggKD将知识蒸馏的教师与学生跨节点解耦,通过行窗口词汇分片损失与预取环优化,在Qwen模型对上实现同置部署的损失与速度优势,且大模型对下解耦部署可避免同置的内存不足问题。

摘要:

知识蒸馏(KD)框架将教师模型与学生模型置于同一GPU上,因此每GPU的内存限制了可适配的教师模型规模。DisaggKD将二者跨节点分离:教师副本向学生模型传输隐藏状态,一种基于行窗口和词汇分片的KD损失在精确算术下等价于全词汇损失,且无需构建全词汇logits,同时采用预取环协调生产者与训练器的节奏。闭式内存与流量模型可定位各部署方式的内存限制。在Qwen3.5-35B-A3B至9B的模型对上,解耦部署方式的语言模型(LM)损失与同置部署的损失一致且速度更快;融合损失还使同置部署可在更少节点上以更快速度训练,而当学生模型跨多个节点时,解耦方式具备内存效率。在更大的模型对上,采用融合损失的同置部署仍会因教师权重与学生状态耗尽内存预算而出现内存不足(OOM),但解耦部署可正常训练。

英文摘要:

Knowledge distillation (KD) frameworks place teacher and student on the same GPUs, so per-GPU memory limits the teachers that fit. DisaggKD separates them across nodes: teacher replicas stream hidden states to the student, a KD loss over row windows and vocabulary shards equals the full-vocabulary loss in exact arithmetic without forming the full-vocabulary logits, and a prefetch ring paces producer and trainer. Closed-form memory and traffic models locate the memory limits of each layout. On the Qwen3.5-35B-A3B to 9B pair, the disaggregated layout matches the LM loss of the colocated run with the same loss and is faster than that run; our fused loss also lets a colocated run train on as few nodes at faster speed, while the split is memory efficient when the student spans several nodes. On the larger pairs, colocated runs with a fused loss still run OOM where the split trains, because teacher weights and student states fill the budget.

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

↑