A2I: Adjacency-to-Image Structural Encodings for Graph Learning
Heesoo Jung, Hogun Park
NeurIPS page · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Graph Representation Learning for Heterophilic Structures · Type: new method · Keywords: graph representation learning, structural encoding, adjacency-to-image, vision encoder, graph neural networks, heterophilous graphs
Areas: Model Architectures & Sequence Modeling › Dynamic and relational architectures › Graph Structural Encoding; Graph Learning › Graph Analysis Methods › Graph Neural Network Architectures
Summary
A2I introduces a structural encoding framework that converts BFS-degree-ordered adjacency patterns into fixed-resolution images and leverages a frozen pre-trained vision encoder to embed them, improving graph representation learning.
Explained to a 5-year-old
Computers sometimes have trouble telling apart different shapes made of dots and lines. This paper makes pictures from those shapes using a special way. It uses a pre-made picture-understanding tool to look at the pictures. Then it mixes those picture ideas with the original dot information. Finally, it helps the computer make better guesses about which group each dot belongs to.
Explained to a 5-year-old, longer
Graphs are like networks of dots connected by lines that show how things are related. When computers learn from these graphs, they often use shortcuts that can forget important details. This can cause two different graphs to look the same to the computer, which is not good. The paper comes up with a new idea: it turns the local patterns of the graph into small pictures. These pictures are made by looking at the order of the dots and how many connections each dot has. A pre-trained picture-understanding tool is used to extract features from these pictures. The picture features are then turned into a few learnable tokens that represent the structure. These tokens are combined with the original information about each dot using a simple attention mechanism. The authors also prove two theoretical results: one says the method is stable for graphs with limited degree, and another says different graphs become more separable as their patterns differ. In experiments, the method works as well as existing approaches on many graph tasks. It especially helps when the graph is heterophilous, meaning connected dots often belong to different groups. The method also works well when some of the original information is missing.
For a technical reader
Traditional graph representation learning methods such as message passing can conflate structurally different graphs, limiting performance on tasks that need fine-grained topology. The proposed approach encodes adjacency patterns as images, extracts features with a frozen vision encoder, maps them to learnable prototypes, and merges them with node embeddings via a lightweight Transformer. Theoretical analysis provides stability under bounded-degree assumptions and a separability guarantee that scales with BFS profile differences. Empirically, the method matches existing baselines on node-classification benchmarks and yields notable gains for GCN-based models on heterophilous graphs and under partial feature masking.
Problem
Graph representation learning methods that rely on indirect summaries such as message passing or spectral encodings can collapse structurally distinct graphs, causing loss of important structural information.
Method
The approach renders BFS-degree-ordered local adjacency patterns as fixed-resolution images, passes them through a frozen pre-trained vision encoder, maps the resulting tokens to learnable prototypes, and aggregates them with node embeddings using a lightweight Transformer.
Results
The approach achieves competitive performance on node-classification benchmarks and shows notable improvements for GCN-based models on heterophilous graphs and under partial feature masking.
Contributions
It introduces a structural encoding framework that converts adjacency patterns into images for embedding, provides theoretical stability and separability guarantees, and demonstrates strong empirical results on graph benchmarks.
Limitations and assumptions
The stability guarantee assumes bounded-degree graphs.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction