HackerPapers

arXiv:2003.02436cs.LG

Talking-Heads Attention

Noam Shazeer, Zhenzhong Lan, Youlong Cheng, Nan Ding, Le Hou

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

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.

arXiv comments
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.NENeural and Evolutionary Computing cs.SDSound eess.ASAudio and Speech Processing stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Oct 2024 to Oct 2024.

Comments linking this paper, per year.

Discussed in comments1 thread

  1. Differential Transformer 1 comment

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.