SGFormer: Single-Layer Graph Transformers with Approximation-Free Linear Complexity
Learning representations on large graphs is a long-standing challenge due to the inter-dependence nature. Transformers recently have shown promising performance on small graphs thanks to its global attention for capturing all-pair interactions beyond observed structures. Existing approaches tend to inherit the spirit of Transformers in language and vision tasks, and embrace complicated architectures by stacking deep attention-based propagation layers. In this paper, we attempt to evaluate the necessity of adopting multi-layer attentions in Transformers on graphs, which considerably restricts the efficiency. Specifically, we analyze a generic hybrid propagation layer, comprised of all-pair attention and graph-based propagation, and show that multi-layer propagation can be reduced to one-layer propagation, with the same capability for representation learning. It suggests a new technical path for building powerful and efficient Transformers on graphs, particularly through simplifying model architectures without sacrificing expressiveness. As exemplified by this work, we propose a Simplified Single-layer Graph Transformers (SGFormer), whose main component is a single-layer global attention that scales linearly w.r.t. graph sizes and requires none of any approximation for accommodating all-pair interactions. Empirically, SGFormer successfully scales to the web-scale graph ogbn-papers100M, yielding orders-of-magnitude inference acceleration over peer Transformers on medium-sized graphs, and demonstrates competitiveness with limited labeled data.
Code (1)
Tasks
Deep AttentionRepresentation LearningMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
SGFormer: Simplifying and Empowering Transformers for Large-Graph Representations
Learning representations on large-sized graphs is a long-standing challenge due to the inter-dependence nature involved in massive data points. Transformers, as an emerging class of foundation encoders for graph-structur…
Node Property PredictionPhilosophyProperty PredictionSGFormer: Semantic Graph Transformer for Point Cloud-based 3D Scene Graph Generation
In this paper, we propose a novel model called SGFormer, Semantic Graph TransFormer for point cloud-based 3D scene graph generation. The task aims to parse a point cloud-based scene into a semantic structural graph, with…
3d scene graph generationGraph EmbeddingGraph GenerationLanguage Modelling+1SGFormer++: Semantic Graph Transformer for Incremental 3D Scene Graph Generation
In this paper, we propose SGFormer++, a novel Semantic Graph Transformer for 3D scene graph generation (SGG), which aims to parse point cloud scenes into semantic structural graphs, where nodes denote detected object ins…
Scene Graph GenerationGraph EmbeddingPSGformer: Enhancing 3D Point Cloud Instance Segmentation via Precise Semantic Guidance
Most existing 3D instance segmentation methods are derived from 3D semantic segmentation models. However, these indirect approaches suffer from certain limitations. They fail to fully leverage global and local semantic i…
3D Instance Segmentation3D Semantic SegmentationInstance SegmentationSegmentation+1In-Context Learning of Linear Dynamical Systems with Transformers: Error Bounds and Depth-Separation
This paper investigates approximation-theoretic aspects of the in-context learning capability of the transformers in representing a family of noisy linear dynamical systems. Our first theoretical result establishes an up…
In-Context Learning