arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.08351cs.CL
收藏

无头语言模型:通过对比权重绑定在不预测的情况下学习

Headless Language Models: Learning without Predicting with Contrastive Weight Tying

Inria(法国国家信息与自动化研究所);Sorbonne Université(索邦大学)

Nathan Godey, Éric de la Clergerie, Benoît Sagot

AI总结:

本研究提出对比权重绑定(CWT)方法,通过重建输入嵌入替代概率预测来预训练无头语言模型,在单语和多语任务中计算需求降低20倍,且GLUE分数提升1.6,LAMBADA准确率提升2.7。

摘要:

语言模型的自监督预训练通常包括预测大规模词表上的概率分布。在本研究中,我们提出一种创新方法,该方法摒弃了概率预测,转而通过对比权重绑定(CWT)以对比方式重建输入嵌入。我们将该方法应用于单语和多语环境下的无头语言模型预训练。该方法具有实际优势,将训练计算需求大幅降低多达20倍,同时提升了下游性能和数据效率。在相似的计算预算下,与传统语言模型相比,我们观察到GLUE分数显著提升+1.6,LAMBADA准确率显著提高+2.7。

英文摘要:

Self-supervised pre-training of language models usually consists in predicting probability distributions over extensive token vocabularies. In this study, we propose an innovative method that shifts away from probability prediction and instead focuses on reconstructing input embeddings in a contrastive fashion via Constrastive Weight Tying (CWT). We apply this approach to pretrain Headless Language Models in both monolingual and multilingual contexts. Our method offers practical advantages, substantially reducing training computational requirements by up to 20 times, while simultaneously enhancing downstream performance and data efficiency. We observe a significant +1.6 GLUE score increase and a notable +2.7 LAMBADA accuracy improvement compared to classical LMs within similar compute budgets.

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

↑