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

语言模型的因果蒸馏

Causal Distillation for Language Models

Stanford University(斯坦福大学)

Zhengxuan Wu, Atticus Geiger, Josh Rozner, Elisa Kreiss, Hanson Lu, Thomas Icard, Christopher Potts, Noah D. Goodman

摘要:

蒸馏的努力已经导致语言模型更加紧凑和有效,而性能没有严重下降。蒸馏的标准方法针对两个目标训练学生模型:特定于任务的目标(例如,语言建模)和模仿目标,该模仿目标鼓励学生模型的隐藏状态与较大的教师模型的隐藏状态相似。在本文中,我们表明,这是有益的,以增加蒸馏的第三个目标,鼓励学生模仿因果计算过程中的教师,通过交换干预培训(IIT)。IIT推动学生模型成为教师模型的因果抽象-一个具有相同因果结构的更简单的模型。IIT是完全可区分的,易于实施,并与其他目标灵活结合。与BERT的标准蒸馏相比,通过IIT蒸馏在维基百科(掩蔽语言建模)上产生较低的困惑,并在GLUE基准(自然语言理解),SQuAD(问答)和CoNLL-2003(命名实体识别)上有显着的改进。

英文摘要:

Distillation efforts have led to language models that are more compact and efficient without serious drops in performance. The standard approach to distillation trains a student model against two objectives: a task-specific objective (e.g., language modeling) and an imitation objective that encourages the hidden states of the student model to be similar to those of the larger teacher model. In this paper, we show that it is beneficial to augment distillation with a third objective that encourages the student to imitate the causal computation process of the teacher through interchange intervention training(IIT). IIT pushes the student model to become a causal abstraction of the teacher model - a simpler model with the same causal structure. IIT is fully differentiable, easily implemented, and combines flexibly with other objectives. Compared with standard distillation of BERT, distillation via IIT results in lower perplexity on Wikipedia (masked language modeling) and marked improvements on the GLUE benchmark (natural language understanding), SQuAD (question answering), and CoNLL-2003 (named entity recognition).

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

↑