paper-with-me

홈 › Papers

Enhancing Graph Transformers with Hierarchical Distance Structural Encoding

2023-08-22 · Yuankai Luo, Hongkang Li, Lei Shi, Xiao-Ming Wu

Graph transformers need strong inductive biases to derive meaningful attention scores. Yet, current methods often fall short in capturing longer ranges, hierarchical structures, or community structures, which are common in various graphs such as molecules, social networks, and citation networks. This paper presents a Hierarchical Distance Structural Encoding (HDSE) method to model node distances in a graph, focusing on its multi-level, hierarchical nature. We introduce a novel framework to seamlessly integrate HDSE into the attention mechanism of existing graph transformers, allowing for simultaneous application with other positional encodings. To apply graph transformers with HDSE to large-scale graphs, we further propose a high-level HDSE that effectively biases the linear transformers towards graph hierarchies. We theoretically prove the superiority of HDSE over shortest path distances in terms of expressivity and generalization. Empirically, we demonstrate that graph transformers with HDSE excel in graph classification, regression on 7 graph-level datasets, and node classification on 11 large-scale graphs, including those with up to a billion nodes.

📄 PDF Abstract BibTeX arXiv:2308.11129

Code (1)

luoyk1999/hdse 공식 구현 pytorch

Tasks

Graph ClassificationGraph RegressionNode Classification

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Multi-Head Attention 설명 없음
LapEigen 설명 없음
Adam 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Enhancing Distance-Based Graph Autoencoders with Structural Penalties for Dynamic Graph Embedding

2026-08-19 · Aleksandar Tomčić, Miloš Savić, Miloš Radovanović arxiv

Graph autoencoders (GAEs) are widely used for learning representations of dynamic graphs. However, their optimisation objectives typically do not take structural heterogeneity across nodes into account. We propose three …

Graph Embedding

Synthesizing Composite Hierarchical Structure from Symbolic Music Corpora

2025-02-21 · Ilana Shapiro, Ruanqianqian Huang, Zachary Novack, Cheng-i Wang 외

Western music is an innately hierarchical system of interacting levels of structure, from fine-grained melody to high-level form. In order to analyze music compositions holistically and at multiple granularities, we prop…

Combinatorial Optimization

On Structural Expressive Power of Graph Transformers

2023-05-23 · Wenhao Zhu, Tianyu Wen, Guojie Song, Liang Wang 외

Graph Transformer has recently received wide attention in the research community with its outstanding performance, yet its structural expressive power has not been well analyzed. Inspired by the connections between Weisf…

Graph Neural Network

Text Generation from Knowledge Graphs with Graph Transformers

2019-04-04 · NAACL 2019 6 · Rik Koncel-Kedziorski, Dhanush Bekal, Yi Luan, Mirella Lapata 외

Generating texts which express complex ideas spanning multiple sentences requires a structured representation of their content (document plan), but these representations are prohibitively expensive to manually produce. I…

DecoderDialogue GenerationKG-to-Text GenerationKnowledge Graphs+2

MOL-Mamba: Enhancing Molecular Representation with Structural & Electronic Insights

2024-12-21 · Jingjing Hu, Dan Guo, Zhan Si, Deguang Liu 외

Molecular representation learning plays a crucial role in various downstream tasks, such as molecular property prediction and drug design. To accurately represent molecules, Graph Neural Networks (GNNs) and Graph Transfo…

Drug DesignMambaMolecular Property Predictionmolecular representation+2