EIT:增强型交互式Transformer
EIT: Enhanced Interactive Transformer
AI总结:
针对多头自注意力忽略共识原则的问题,提出增强型多头自注意力(EMHA),通过解除查询与键的一对一映射约束并引入子空间内与跨子空间交互模型来同时满足互补与共识原则,在多项语言任务上表现优异且模型规模仅适度增加。
摘要:
互补原则和共识原则这两大原则在多视图学习文献中得到广泛认可。然而,作为多视图学习的一个实例,多头自注意力的当前设计优先考虑互补性而忽略了共识。为了解决这个问题,我们提出了一种增强型多头自注意力(EMHA)。首先,为了满足互补原则,EMHA移除了多个子空间中查询和键之间的一对一映射约束,并允许每个查询关注多个键。在此基础上,我们通过引入两种交互模型,即子空间内交互和跨子空间交互,开发了一种充分鼓励头部间共识的方法。在广泛的自然语言任务(如机器翻译、生成式摘要和语法纠错、语言建模)上的大量实验表明了其优越性,且模型规模仅有适度增加。
英文摘要:
Two principles: the complementary principle and the consensus principle are widely acknowledged in the literature of multi-view learning. However, the current design of multi-head self-attention, an instance of multi-view learning, prioritizes the complementarity while ignoring the consensus. To address this problem, we propose an enhanced multi-head self-attention (EMHA). First, to satisfy the complementary principle, EMHA removes the one-to-one mapping constraint among queries and keys in multiple subspaces and allows each query to attend to multiple keys. On top of that, we develop a method to fully encourage consensus among heads by introducing two interaction models, namely inner-subspace interaction and cross-subspace interaction. Extensive experiments on a wide range of language tasks (e.g., machine translation, abstractive summarization and grammar correction, language modeling), show its superiority, with a very modest increase in model size. Our code would be available at: https://github.com/zhengkid/EIT-Enhanced-Interactive-Transformer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。