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

使用上下文嵌入模型获得更好的静态词嵌入

Obtaining Better Static Word Embeddings Using Contextual Embedding Models

EPFL(洛桑联邦理工学院)

Prakhar Gupta, Martin Jaggi

摘要:

上下文词嵌入的出现--将上下文中的语义和句法信息结合在一起的词的表示--导致了各种各样的NLP任务的巨大改进。然而,最近的上下文模型在许多用例中具有过高的计算成本,并且通常难以解释。在这项工作中,我们证明了我们提出的蒸馏方法,这是基于CBOW的训练的一个简单扩展,可以显着提高NLP应用程序的计算效率,同时优于从头开始训练的现有静态嵌入的质量以及从以前提出的方法中提取的质量。作为一个副作用,我们的方法还允许通过标准的词汇评估任务的上下文和静态嵌入的公平比较。

英文摘要:

The advent of contextual word embeddings -- representations of words which incorporate semantic and syntactic information from their context -- has led to tremendous improvements on a wide variety of NLP tasks. However, recent contextual models have prohibitively high computational cost in many use-cases and are often hard to interpret. In this work, we demonstrate that our proposed distillation method, which is a simple extension of CBOW-based training, allows to significantly improve computational efficiency of NLP applications, while outperforming the quality of existing static embeddings trained from scratch as well as those distilled from previously proposed methods. As a side-effect, our approach also allows a fair comparison of both contextual and static embeddings via standard lexical evaluation tasks.

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

↑