arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1905.05702cs.CLcs.LG
收藏

稀疏序列到序列模型

Sparse Sequence-to-Sequence Models

Instituto de Telecomunicações(电信研究所);Unbabel

Ben Peters, Vlad Niculae, André F. T. Martins

摘要:

序列到序列模型是NLP的强大主力。大多数变体在它们的注意力机制和输出层中都采用了softmax变换,从而导致密集对齐和严格的正输出概率。这种密度是浪费的,使模型更难解释,并将概率质量分配给许多不可信的输出。在本文中,我们提出了稀疏序列到序列模型,植根于一个新的家庭的$α$ -entmax变换,其中包括softmax和sparsemax作为特殊情况下,是稀疏的任何$α> 1$。我们提供了快速算法来评估这些转换及其梯度,这些算法可以很好地扩展大词汇量。我们的模型能够产生稀疏对齐,并分配非零概率的一个短列表的合理输出,有时渲染束搜索准确。形态学变形和机器翻译的实验表明,一致的增益密集模型。

英文摘要:

Sequence-to-sequence models are a powerful workhorse of NLP. Most variants employ a softmax transformation in both their attention mechanism and output layer, leading to dense alignments and strictly positive output probabilities. This density is wasteful, making models less interpretable and assigning probability mass to many implausible outputs. In this paper, we propose sparse sequence-to-sequence models, rooted in a new family of $α$-entmax transformations, which includes softmax and sparsemax as particular cases, and is sparse for any $α> 1$. We provide fast algorithms to evaluate these transformations and their gradients, which scale well for large vocabulary sizes. Our models are able to produce sparse alignments and to assign nonzero probability to a short list of plausible outputs, sometimes rendering beam search exact. Experiments on morphological inflection and machine translation reveal consistent gains over dense models.

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

↑