Type: Article
Publication Date: 2022-01-01
Citations: 6
DOI: https://doi.org/10.18653/v1/2022.emnlp-main.278
Mixture-of-Experts (MoE) networks have been proposed as an efficient way to scale up model capacity and implement conditional computing. However, the study of MoE components mostly focused on the feedforward layer in Transformer architecture. This paper proposes the Mixture of Attention Heads (MoA), a new architecture that combines multi-head attention with the MoE mechanism. MoA includes a set of attention heads that each has its own set of parameters. Given an input, a router dynamically selects a subset of k attention heads per token. This conditional computation schema allows MoA to achieve stronger performance than the standard multi-head attention layer. Furthermore, the sparsely gated MoA can easily scale up the number of attention heads and the number of parameters while preserving computational efficiency. Despite performance improvements, MoA also automatically differentiates heads' utilities, providing a new perspective to discuss the model's interpretability. We conducted experiments on several important tasks, including Machine Translation and Masked Language Modeling. Experiments have shown promising results on several tasks against strong baselines that involve large and very deep models.
Action | Title | Year | Authors |
---|---|---|---|
+ | None | 1999 |
Ming Liao |
+ | None | 2001 |
I. N. Kostin |
+ | None | 1999 |
Yong-Gao Chen Imre Z. Ruzsa |
+ | None | 2003 |
Paul Sablonnière |
+ | None | 2001 |
Emmanuel Fragnière Jacek Gondzio Robert Sarkissian |
+ | None | 1998 |
G. Sardanashvily |
+ | None | 1998 |
Hans Keiding |
+ | None | 2003 |
Haihua Feng Vincenzo Galdi David A. Castañón |
+ | None | 2003 |
V. Z. Kanchukoev B. S. Karamurzov В. А. Созаев Vladimir Chernov |
+ | None | 2001 |
Petr Habala Nicole Tomczak-Jaegermann |
+ | None | 2001 |
S. E. Kozlov |
+ PDF Chat | None | 2008 |
田村 直義 |
+ | None | 2001 |
Joaquin Soriano |
+ | None | 2001 |
Shigetaka Fukuda |
+ | None | 2003 |
Solomon Friedberg |
+ | None | 2003 |
Igor Belegradek |
+ | None | 1997 |
Salih Çelïk |
+ | None | 2001 |
M. de Montigny Hubert de Guise |
+ | None | 2001 |
A. Yu. Kolesov Н. Х. Розов |
+ | None | 2002 |
D. G. Djumbayeva Erlan Nursultanov |