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

DeFINE:用于神经序列建模的深度分解输入Token嵌入

DeFINE: DEep Factorized INput Token Embeddings for Neural Sequence Modeling

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

Sachin Mehta, Rik Koncel-Kedziorski, Mohammad Rastegari, Hannaneh Hajishirzi

摘要:

对于具有大词汇表的序列模型,大多数网络参数位于输入和输出层。在这项工作中,我们描述了一种新的方法,DeFINE,用于有效地学习深度令牌表示。我们的架构使用了一个分层结构与新颖的跳跃连接,允许使用低维输入和输出层,减少总参数和训练时间,同时提供类似或更好的性能与现有的方法。DeFINE可以很容易地整合到新的或现有的序列模型中。与包括自适应输入表示在内的最先进的方法相比,这种技术的困惑度下降了6%到20%。在WikiText-103上,DeFINE将Transformer-XL的总参数减少了一半,对性能的影响最小。在Penn Treebank上,DeFINE将AWD-LSTM提高了4个点,参数减少了17%,实现了与具有更少参数的最先进方法相当的性能。对于机器翻译,DeFINE将Transformer模型的效率提高了约1.4倍,同时提供类似的性能。

英文摘要:

For sequence models with large vocabularies, a majority of network parameters lie in the input and output layers. In this work, we describe a new method, DeFINE, for learning deep token representations efficiently. Our architecture uses a hierarchical structure with novel skip-connections which allows for the use of low dimensional input and output layers, reducing total parameters and training time while delivering similar or better performance versus existing methods. DeFINE can be incorporated easily in new or existing sequence models. Compared to state-of-the-art methods including adaptive input representations, this technique results in a 6% to 20% drop in perplexity. On WikiText-103, DeFINE reduces the total parameters of Transformer-XL by half with minimal impact on performance. On the Penn Treebank, DeFINE improves AWD-LSTM by 4 points with a 17% reduction in parameters, achieving comparable performance to state-of-the-art methods with fewer parameters. For machine translation, DeFINE improves the efficiency of the Transformer model by about 1.4 times while delivering similar performance.

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

↑