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

剖析语境词嵌入:结构与表征

Dissecting Contextual Word Embeddings: Architecture and Representation

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Washington(华盛顿大学)

Matthew E. Peters, Mark Neumann, Luke Zettlemoyer, Wen-tau Yih

摘要:

从预训练的双向语言模型(biLM)中导出的上下文单词表示最近已被证明为广泛的NLP任务提供了对现有技术的显着改进。然而,许多问题仍然是如何以及为什么这些模型是如此有效。在本文中,我们提出了一个详细的实证研究,研究神经架构的选择(例如LSTM,CNN或自我注意力)如何影响最终任务的准确性和学习到的表征的定性属性。我们表明,速度和准确性之间存在权衡,但所有架构都能学习高质量的上下文表示,在四个具有挑战性的NLP任务中表现优于词嵌入。此外,所有架构都学习随网络深度而变化的表示,从基于词嵌入层的专有形态,到基于较低上下文层的局部语法,再到更长范围的语义,如上层的共指。总之,这些结果表明,独立于架构的无监督biLM正在学习比以前更多的语言结构。

英文摘要:

Contextual word representations derived from pre-trained bidirectional language models (biLMs) have recently been shown to provide significant improvements to the state of the art for a wide range of NLP tasks. However, many questions remain as to how and why these models are so effective. In this paper, we present a detailed empirical study of how the choice of neural architecture (e.g. LSTM, CNN, or self attention) influences both end task accuracy and qualitative properties of the representations that are learned. We show there is a tradeoff between speed and accuracy, but all architectures learn high quality contextual representations that outperform word embeddings for four challenging NLP tasks. Additionally, all architectures learn representations that vary with network depth, from exclusively morphological based at the word embedding layer through local syntax based in the lower contextual layers to longer range semantics such coreference at the upper layers. Together, these results suggest that unsupervised biLMs, independent of architecture, are learning much more about the structure of language than previously appreciated.

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

↑