计算机科学 > 计算与语言
[提交于 2019年4月8日]
标题:Information Aggregation for Multi-Head Attention with Routing-by-Agreement
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Multi-head attention is appealing for its ability to jointly extract different types of information from multiple representation subspaces. Concerning the information aggregation, a common practice is to use a concatenation followed by a linear transformation, which may not fully exploit the expressiveness of multi-head attention. In this work, we propose to improve the information aggregation for multi-head attention with a more powerful routing-by-agreement algorithm. Specifically, the routing algorithm iteratively updates the proportion of how much a part (i.e. the distinct information learned from a specific subspace) should be assigned to a whole (i.e. the final output representation), based on the agreement between parts and wholes. Experimental results on linguistic probing tasks and machine translation tasks prove the superiority of the advanced information aggregation over the standard linear transformation.
提交历史
来自:Zhaopeng Tu[v1] 2019年4月8日 星期一 00:00:00 UTC