paper-with-me

홈 › Papers

Coneheads: Hierarchy Aware Attention

2023-06-01 · NeurIPS 2023 11 · Albert Tseng, Tao Yu, Toni J. B. Liu, Christopher De Sa

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.

📄 PDF Abstract BibTeX arXiv:2306.00392

Code (4)

tsengalb99/coneheads 공식 구현 pytorch
MindCode-4/code-11/tree/main/coneheads-hierarchy-aware-attention mindspore
MindCode-4/code-6/tree/main/coneheads-hierarchy-aware-attention mindspore
MindSpore-scientific/code-3/tree/main/coneheads-hierarchy-aware-attention mindspore

Methods 이 논문이 사용한 방법론

AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…

Similar Papers 제목 키워드 기반

Hierarchy-Aware Global Model for Hierarchical Text Classification

2020-07-01 · ACL 2020 6 · Jie Zhou, Chunping Ma, Dingkun Long, Guangwei Xu 외

Hierarchical text classification is an essential yet challenging subtask of multi-label text classification with a taxonomic hierarchy. Existing methods have difficulties in modeling the hierarchical label structure in a…

ClassificationGeneral ClassificationHierarchical Multi-label Classificationmodel+4

Dual Attention Network for Cross-lingual Entity Alignment

2020-12-01 · COLING 2020 8 · Jian Sun, Yu Zhou, Chengqing Zong

Cross-lingual Entity alignment is an essential part of building a knowledge graph, which can help integrate knowledge among different language knowledge graphs. In the real KGs, there exists an imbalance among the inform…

Entity AlignmentGraph AttentionKnowledge GraphsRelation

HiCLIP: Contrastive Language-Image Pretraining with Hierarchy-aware Attention

2023-03-06 · Shijie Geng, Jianbo Yuan, Yu Tian, Yuxiao Chen 외

The success of large-scale contrastive vision-language pretraining (CLIP) has benefited both visual recognition and multimodal content understanding. The concise design brings CLIP the advantage in inference efficiency a…

cross-modal alignment

Instance-aware Remote Sensing Image Captioning with Cross-hierarchy Attention

2021-05-11 · Chengze Wang, Zhiyu Jiang, Yuan Yuan

The spatial attention is a straightforward approach to enhance the performance for remote sensing image captioning. However, conventional spatial attention approaches consider only the attention distribution on one fixed…

DecoderDiversityImage Captioning

MATCH: Metadata-Aware Text Classification in A Large Hierarchy

2021-02-15 · Yu Zhang, Zhihong Shen, Yuxiao Dong, Kuansan Wang 외

Multi-label text classification refers to the problem of assigning each given document its most relevant labels from the label set. Commonly, the metadata of the given documents and the hierarchy of the labels are availa…

ClassificationGeneral ClassificationMulti Label Text ClassificationMulti-Label Text Classification+2