Coneheads: Hierarchy Aware Attention
Not on the map. Why?
Abstract (arXiv)
Attention networks such as transformers have achieved state-of-the-art performance in many domains. These networks rely heavily on the dot product attention operator, which computes the similarity between two points by taking their inner product. However, the inner product does not explicitly model the complex structural properties of real world datasets, such as hierarchies between data points. To remedy this, we introduce cone attention, a drop-in replacement for dot product attention based on hyperbolic entailment cones. Cone attention associates two points by the depth of their lowest common ancestor in a hierarchy defined by hyperbolic cones, which intuitively measures the divergence of two points and gives a hierarchy aware similarity score. We test cone attention on a wide variety of models and tasks and show that it improves task-level performance over dot product attention and other baselines, and is able to match dot-product attention with significantly fewer parameters. Our results suggest that cone attention is an effective way to capture hierarchical relationships when calculating attention.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 28 of its 41 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
28 of 41 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017Graph Attention Networkscited by 8,854
- 2017Mask R-CNNcited by 7,259
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Pointer Sentinel Mixture Modelscited by 2,992
16 more
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2020Efficient Transformers: A Surveycited by 784
- 2021Random Feature Attentioncited by 350
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
- 2018Representation Tradeoffs for Hyperbolic Embeddingscited by 204
- 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2018Hyperbolic Entailment Cones for Learning Hierarchical Embeddingscited by 160
- 2021Hyperbolic Deep Neural Networks: A Surveycited by 138
- 2018Hyperbolic Attention Networkscited by 122
- 2023Efficient Attention via Control Variatescited by 23
- 2021Automatic Synthesis of Diverse Weak Supervision Sources for Behavior Analysiscited by 6
- 2022Hierarchical Interpretation of Neural Text Classificationcited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.