Skip to content
OpenTrain AIFor AI Companies

Global Self-Attention as a Replacement for Graph Convolution

Md Shamim Hussain, Mohammed J. Zaki, Dharmashankar SubramanianPublished Aug 7, 2021
arXiv PDF DOI
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few hours
Fast first run
Risk flags
1
Review before use

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

We propose an extension to the transformer neural network architecture for general-purpose graph learning by adding a dedicated pathway for pairwise structural information, called edge channels. The resultant framework - which we call Edge-augmented Graph Transformer (EGT) - can directly accept, process and output structural information of arbitrary form, which is important for effective learning on graph-structured data. Our model exclusively uses global self-attention as an aggregation mechanism rather than static localized convolutional aggregation. This allows for unconstrained long-range dynamic interactions between nodes. Moreover, the edge channels allow the structural information to evolve from layer to layer, and prediction tasks on edges/links can be performed directly from the output embeddings of these channels. We verify the performance of EGT in a wide range of graph-learning experiments on benchmark datasets, in which it outperforms Convolutional/Message-Passing Graph Neural Networks. EGT sets a new state-of-the-art for the quantum-chemical regression task on the OGB-LSC PCQM4Mv2 dataset containing 3.8 million molecular graphs. Our findings indicate that global self-attention based aggregation can serve as a flexible, adaptive and effective replacement of graph convolution for general-purpose graph learning. Therefore, convolutional local neighborhood aggregation is not an essential inductive bias.

Results and benchmarks

Freshness tier: cold
We propose an extension to the transformer neural network architecture for general-purpose graph learning by adding a dedicated pathway for pairwise structural information, called edge channels.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Moderate

Triplet Graph Transformer

54 stars · 4 forks · Last push Sep 17, 2025 · MIT license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Community adoption signal (54 stars)

Why this implementation
Confidence: high

shamim-hussain/egt_triangular is the strongest maintained implementation based on ranking signals. License is declared (MIT). Dependency/environment manifests are present.

Open shamim-hussain/egt_triangular
Reproduction risks
  • No CI workflows detected
  • Selected shamim-hussain/egt_triangular as the strongest maintained implementation for new work.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.
  • Official repository is preserved separately as historical context.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

shamim-hussain/egt
historical official
Maintenance
Stale
Confidence
High
Reproducibility
Moderate
Stars
52
Last push
Jun 7, 2022 (1540d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
Maintenance
Stale risk
Confidence
High
Reproducibility
Moderate
Stars
54
Last push
Sep 17, 2025 (342d)

Official implementation from Papers with Code · Community adoption signal (54 stars)

  • No CI pipeline detected
  • No tagged releases
  • No Docker setup
Maintenance
Stale
Confidence
High
Reproducibility
Moderate
Stars
81
Last push
Feb 16, 2024 (921d)

Official implementation from Papers with Code · Matched via arXiv identifier search

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases

Reproduction readiness

Time to first repro: hours
Last checked: Aug 24, 2026

Setup required

Dependencies pinned, manual setup needed

  • shamim-hussain/egt_triangular has environment.yml but requires manual environment setup.
  • Last push was 342 days ago, so expect possible dependency version conflicts.
  • No Dockerfile, so you will set up the environment manually.
  • No CI pipeline, so test coverage is unknown.
Open shamim-hussain/egt_triangular

Quick start

git clone https://github.com/shamim-hussain/egt_triangular.git
conda env create -f environment.yml && conda activate <env-name>

Repositories and ecosystem

Official

  • Edge-Augmented Graph Transformer

    81 stars · 10 forks · Last push Feb 16, 2024 · MIT license

Community

No additional community repositories detected yet.

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Datasets

No trustworthy datasets matches right now.

Search datasets on Hugging Face

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

88

Citations

49

References

Tasks

Computer science, Theoretical computer science, Graph, Inductive bias, Pairwise comparison, Convolutional neural network, Feature learning, Deep learning

Methods

Transformer

Domains

Artificial intelligence, Materials Chemistry

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).