arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.16484cs.CL
收藏

子空间编年史:语言模型训练期间语言信息如何涌现、转移与交互

Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Training

IT University of Copenhagen(哥本哈根信息技术大学);LMU Munich(慕尼黑大学);University of Edinburgh(爱丁堡大学);University of Amsterdam(阿姆斯特丹大学)

Max Müller-Eberstein, Rob van der Goot, Barbara Plank, Ivan Titov

AI总结:

利用信息论探测套件分析语言模型训练中语言信息的涌现与交互,发现句法知识早期迅速获得,语义和推理依赖后期长程上下文与专门化提升,相关任务在临界阶段共享信息更多。

摘要:

通过语言建模学习到的表征空间是自然语言处理(NLP)的基础,然而对于不同类型的语言信息在训练期间如何及何时涌现并交互,目前的理解仍然有限。借助一种新颖的信息论探测套件——该套件不仅能直接比较任务性能,还能比较其表征子空间——我们分析了涵盖句法、语义和推理的九项任务,跨越了2M预训练步数和五个随机种子。我们识别出跨任务和时间的临界学习阶段,在此期间子空间涌现、共享信息,随后解耦以实现专门化。在这些阶段中,句法知识在完整训练的0.5%后迅速获得。持续的性能提升主要源于开放领域知识的获取,而语义和推理任务则受益于后期对长程上下文化和更高专门化的提升。进一步测量跨任务相似性发现,语言相关的任务在整个训练期间共享信息,且在临界学习阶段比之前或之后共享得更多。我们的发现对模型可解释性、多任务学习和有限数据学习具有启示意义。

英文摘要:

Representational spaces learned via language modeling are fundamental to Natural Language Processing (NLP), however there has been limited understanding regarding how and when during training various types of linguistic information emerge and interact. Leveraging a novel information theoretic probing suite, which enables direct comparisons of not just task performance, but their representational subspaces, we analyze nine tasks covering syntax, semantics and reasoning, across 2M pre-training steps and five seeds. We identify critical learning phases across tasks and time, during which subspaces emerge, share information, and later disentangle to specialize. Across these phases, syntactic knowledge is acquired rapidly after 0.5% of full training. Continued performance improvements primarily stem from the acquisition of open-domain knowledge, while semantics and reasoning tasks benefit from later boosts to long-range contextualization and higher specialization. Measuring cross-task similarity further reveals that linguistically related tasks share information throughout training, and do so more during the critical phase of learning than before or after. Our findings have implications for model interpretability, multi-task learning, and learning from limited data.

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

↑