Pith. sign in

hub

A generalization of transformer networks to graphs

34 Pith papers cite this work. Polarity classification is still indexing.

34 Pith papers citing it
abstract

We propose a generalization of transformer neural network architecture for arbitrary graphs. The original transformer was designed for Natural Language Processing (NLP), which operates on fully connected graphs representing all connections between the words in a sequence. Such architecture does not leverage the graph connectivity inductive bias, and can perform poorly when the graph topology is important and has not been encoded into the node features. We introduce a graph transformer with four new properties compared to the standard model. First, the attention mechanism is a function of the neighborhood connectivity for each node in the graph. Second, the positional encoding is represented by the Laplacian eigenvectors, which naturally generalize the sinusoidal positional encodings often used in NLP. Third, the layer normalization is replaced by a batch normalization layer, which provides faster training and better generalization performance. Finally, the architecture is extended to edge feature representation, which can be critical to tasks s.a. chemistry (bond type) or link prediction (entity relationship in knowledge graphs). Numerical experiments on a graph benchmark demonstrate the performance of the proposed graph transformer architecture. This work closes the gap between the original transformer, which was designed for the limited case of line graphs, and graph neural networks, that can work with arbitrary graphs. As our architecture is simple and generic, we believe it can be used as a black box for future applications that wish to consider transformer and graphs.

hub tools

citation-role summary

background 2

citation-polarity summary

roles

background 2

polarities

background 1 unclear 1

representative citing papers

Communicability-Inspired Positional Encoding (CIPE)

cs.LG · 2026-06-24 · unverdicted · novelty 7.0

CIPE constructs graph positional encodings from communicability so that self-attention similarities equal the sum of all-path contributions between nodes, yielding 35.5% average gains on seven benchmarks over structure-agnostic Transformers.

Rethinking Positional Encoding for Neural Vehicle Routing

cs.AI · 2026-05-12 · unverdicted · novelty 7.0

A hierarchical anisometric positional encoding that combines distance-indexed in-route and depot-anchored angular cross-route components improves transformer-based solvers for vehicle routing problems over index-based alternatives.

How Attentive are Graph Attention Networks?

cs.LG · 2021-05-30 · conditional · novelty 7.0

GAT uses static attention where neighbor rankings ignore the query node and thus cannot express some graph problems; GATv2 enables dynamic attention and outperforms GAT on 11 OGB and other benchmarks with equal parameters.

One Generator, Any Process: LLM-Conditioning for the LHC

hep-ph · 2026-06-22 · unverdicted · novelty 6.0 · 2 refs

LLM embeddings condition a generative transformer to enable faster convergence, better performance, and generalization to unseen LHC processes using a single model.

FLAGG: Flexible Autoregressive Graph Generation

cs.LG · 2026-06-03 · unverdicted · novelty 6.0

FLAGG makes one-shot graph generators autoregressive through a learned reversal of stochastic node removal and outperforms baselines on datasets spanning different graph sizes and domains.

Neural Point-Forms

cs.LG · 2026-05-15 · unverdicted · novelty 6.0

Neural point-forms are introduced as permutation-invariant neural layers that output learned form-comparison matrices for point clouds, with a claimed consistency proof under sampling and manifold assumptions and competitive results on synthetic and biological data.

Invariant-Based Diagnostics for Graph Benchmarks

cs.LG · 2026-05-07 · unverdicted · novelty 6.0

Graph invariants serve as expressive, task-agnostic baselines that characterize structural heterogeneity and match trained models across 26 datasets, indicating that expressivity is not the primary driver of performance.

citing papers explorer

Showing 34 of 34 citing papers.