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

凝聚注意力

Agglomerative Attention

Matthew Spellings

摘要:

最近,使用基于变换器的架构的神经网络在对许多类型的序列进行建模方面表现出了巨大的能力和灵活性。Transformer网络的核心组件之一是attention层,它允许在序列元素之间交换上下文信息。虽然到目前为止,许多流行的网络结构都利用了全注意力--对所有序列元素对进行操作--但这种注意力机制的二次缩放显著限制了可以训练的模型的大小。在这项工作中,我们提出了一个注意力模型,只有线性要求的内存和计算时间。我们发现,尽管注意力模型更简单,但使用这种注意力机制的网络在语言建模任务上可以达到与完全注意力网络相当的性能。

英文摘要:

Neural networks using transformer-based architectures have recently demonstrated great power and flexibility in modeling sequences of many types. One of the core components of transformer networks is the attention layer, which allows contextual information to be exchanged among sequence elements. While many of the prevalent network structures thus far have utilized full attention -- which operates on all pairs of sequence elements -- the quadratic scaling of this attention mechanism significantly constrains the size of models that can be trained. In this work, we present an attention model that has only linear requirements in memory and computation time. We show that, despite the simpler attention model, networks using this attention mechanism can attain comparable performance to full attention networks on language modeling tasks.

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

↑