Methods › General › Attention Modules › Talking-Heads Attention
Talking-Heads Attention
Introduced by Noam Shazeer et al. in Talking-Heads Attention
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
Talking-Heads Attention is a variation on multi-head attention which includes linear projections across the attention-heads dimension, immediately before and after the softmax operation. In multi-head attention, the different attention heads perform separate computations, which are then summed at the end. Talking-Heads Attention breaks that separation. Two additional learned linear projections are inserted, Pₗ and P_w, which transform the attention-logits and the attention weights respectively, moving information across attention heads. Instead of one "heads" dimension h across the whole computation, we now have three separate heads dimensions: hₖ, h, and hᵥ, which can optionally differ in size (number of "heads"). hₖ refers to the number of attention heads for the keys and the queries. h refers to the number of attention heads for the logits and the weights, and hᵥ refers to the number of attention heads for the values.
Papers archive 2025-07-28
1 shown of 1, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
Talking-Heads Attention 5 Mar 2020 · 4 repositories · arXiv:2003.02436Syntology ran 3 of 3 samples · 0 unverified · 2 pointer-only (licence)
Tasks archive 2025-07-28
5 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
| Task | Papers |
|---|---|
| Language Modeling | 1 |
| Language Modelling | 1 |
| Masked Language Modeling | 1 |
| Question Answering | 1 |
| Transfer Learning | 1 |
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections