English

Talking-Heads Attention

Machine Learning 2020-03-06 v1 Neural and Evolutionary Computing Sound Audio and Speech Processing Machine Learning

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.

Keywords

Cite

@article{arxiv.2003.02436,
  title  = {Talking-Heads Attention},
  author = {Noam Shazeer and Zhenzhong Lan and Youlong Cheng and Nan Ding and Le Hou},
  journal= {arXiv preprint arXiv:2003.02436},
  year   = {2020}
}
R2 v1 2026-06-23T14:04:34.084Z