atlas

Research map / Graph learning / Graph self-supervised learning

Simple Path Structural Encoding for Graph Transformers

ICML 2025 · Graph learning › Graph self-supervised learning · approach: Heterophily and imbalance on graphs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Simple Path Structural Encoding (SPSE), which uses approximate simple-path counts between node pairs as edge encodings in graph transformers in place of random walk structural encoding (RWSE), with a DAG-decomposition approximate counting algorithm.

Problem

RWSE edge encodings in graph transformers cannot distinguish certain local structures (e.g., even cycles vs. paths, cyclic patterns), limiting expressivity; exact simple path counting is combinatorially expensive.

Approach

Replace random-walk landing probabilities with simple-path counts as edge encodings, and compute approximate counts efficiently by decomposing the graph into many DAGs via combined DFS/partial-BFS/BFS node orderings and taking maximum counts across DAGs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace RWSE with SPSE in GRITGRIT · Molecular benchmarks (ZINC, Peptides-func, Peptides-struct, PCQM4Mv2)benchmark performance: improves in all four reported settingsHelped
Replace RWSE with SPSE in GRITGRIT · CLUSTERAccuracy: 79.730 ± 0.189 -> 79.571 ± 0.122Hurt
Replace RWSE with SPSE in CSACSA · Molecular benchmarks (ZINC, Peptides-func, Peptides-struct, PCQM4Mv2)benchmark performance: improves in all four reported settingsHelped
Replace RWSE with SPSE in CSACSA · CLUSTERAccuracy: 79.071 ± 0.120 -> 78.940 ± 0.132Hurt
Replace RWSE with SPSE in graph transformersCSA and GRIT · Real-world benchmarksperformance: 21 out of 24 casesMixed
Add SPSE to GPS node representationsGPS · PATTERN and CLUSTERAccuracy: 86.688 ± 0.073 -> 86.834 ± 0.025; 77.969 ± 0.161 -> 78.440 ± 0.177Helped
Increase the root-node proportion R (ablation)SPSE path counting · ZINC and other molecular datasetsproportion of discovered pathsHelped
Increase DFS depth or trial count (ablation)SPSE path counting · ZINC and other molecular datasetsproportion of discovered pathsNo clear effect
Increase root-node proportion, DFS depth, or trial count (ablation)SPSE path counting · MNISTproportion of discovered pathsHelped
Use N=2 instead of N=8 (ablation)SPSE path counting · MNISTdiscovered paths: approximately 40% fewer discovered pathsHurt
Increase the number of trials N (ablation)SPSE path counting · PATTERNproportion of discovered pathsHelped
Use approximate path counts from DAG decompositions instead of exact counts (ablation)SPSE · CLUSTERperformanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: ZINC Peptides-func Peptides-struct PCQM4Mv2 PATTERN CLUSTER MNIST CIFAR10

Benchmarks: ZINC Peptides-func Peptides-struct PCQM4Mv2 PATTERN CLUSTER MNIST CIFAR10 synthetic cycle counting

Metrics: MAE AP accuracy

Baselines: GRIT-RWSE CSA-RWSE GPS GPSE Exphormer GraphViT EGT Graphormer SAN GIN-AK+

Builds on: GRIT CSA GraphGPS Path-WL RWSE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy