Talking-Heads Attention
Cite this paper
×
@misc{shazeer2020talkingheads,
title = {Talking-Heads Attention},
author = {Noam Shazeer and Zhenzhong Lan and Youlong Cheng and Nan Ding and Le Hou},
year = {2020},
eprint = {2003.02436},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2003.02436}
}
Shazeer, N., Lan, Z., Cheng, Y., Ding, N., & Hou, L. (2020). Talking-Heads Attention [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.02436
SHAZEER N, LAN Z, CHENG Y, et al. Talking-Heads Attention[EB/OL]. (2020-03-05)[2026-11-30]. https://arxiv.org/abs/2003.02436.
Abstract
We introduce "talking-heads attention" - a variation on multi-head attention which includes linearprojections across the attention-heads dimension, immediately before and after the softmax operation.While inserting only a small number of additional parameters and a moderate amount of additionalcomputation, talking-heads attention leads to better perplexities on masked language modeling tasks, aswell as better quality when transfer-learning to language comprehension and question answering tasks.
Post #1 · the paper