TL;DR
Linearized Graph Sequence Models (LGSM) fundamentally redefine graph neural network design by decoupling information propagation from non-linear processing depth. By framing graph message-passing as a linear sequence modeling task, LGSM leverages modern State-Space Models (like Mamba) and non-backtracking walks to capture long-range graph dependencies efficiently without suffering from oversmoothing or oversquashing.
What Problem Does This Paper Address?
Standard Message-Passing Neural Networks (MPNNs) are the backbone of graph deep learning, but they suffer from a fundamental structural flaw: information propagation and non-linear processing are tightly coupled. Every time a node aggregates information from its neighbors (one hop of propagation), the data undergoes a non-linear transformation (such as an MLP layer).
To capture long-range dependencies across a large graph, you must stack many layers. However, deep non-linear stacking leads to severe training pathologies:
- Oversmoothing: Node representations become highly similar and lose distinctiveness.
- Oversquashing: Information from an exponentially growing neighborhood is compressed into a fixed-size vector, causing massive information loss.
- Vanishing Gradients: Making optimization exceptionally difficult.
Meanwhile, fields like natural language processing have been revolutionized by sequence models—such as Transformers and State-Space Models (SSMs)—that easily capture long-range dependencies. This paper addresses how graph learning can directly inherit these sequence modeling breakthroughs while preserving crucial graph inductive biases.
Methods
The authors introduce Linearized Graph Sequence Models (LGSM), a framework that systematically separates information depth (how far information travels) from processing depth (how many non-linear layers are applied).
- Linearization: By removing non-linearities from the iterative message-passing step, graph propagation becomes a purely linear recurrence. This unrolled linear computation is treated as a sequence of graph-propagated node features.
- Sequence Extraction via Non-Backtracking (NBT) Walks: Standard adjacency matrix powers include paths that immediately backtrack (e.g., node $A \rightarrow B \rightarrow A$), creating massive redundancy. LGSM introduces a sequence extraction mechanism based on Non-Backtracking walks, ensuring sequence elements contain highly distinct, long-range structural signals.
- SSM Processing: Each node's extracted sequence is processed independently using a modern State-Space Model backbone (Mamba2). Because the sequence is linear, it can be computed efficiently in parallel using hardware-friendly parallel scans.
- Graph Mixing & FFN: Non-linear processing is applied vertically across blocks via Feed-Forward Networks (FFNs), and a "Graph Mixing" layer allows cross-node communication between blocks without increasing the information depth of the sequence itself.
Datasets
The framework was evaluated across several specialized benchmarks:
- ECHO-Synth: Synthetic graph property prediction tasks including graph diameter (DIAM), node eccentricity (ECC), and single-source shortest paths (SSSP). These tasks explicitly require long-range information propagation.
- ECHO-Chem: Real-world molecular datasets predicting atomic partial charges (CHARGE) and total molecular energy (ENERGY), which require capturing non-local atomic interactions.
- LRIM Graph Benchmark (LRIM-16-hard): A physics-based benchmark designed to provably evaluate long-range capabilities in graph learning.
- Peptides (LRGB collection): Peptides-func and Peptides-struct for general graph representation performance.
Key Insights and Ideas
- Decoupling Avoids the "Staircase" Constraint: Standard MPNNs advance both processing and information depth simultaneously (a diagonal path). LGSM flattens this out, allowing information to flow arbitrarily far horizontally before applying vertical non-linear transformations.
- The Backtracking Bottleneck: Traditional graph convolutions dilute long-range signals because short, redundant two-cycle walks dominate the aggregation. Switching to Non-Backtracking (NBT) matrices exponentially improves the relative influence of distant nodes.
- Graphs as Input Sequences: Linearizing the architecture shifts the core graph design challenge away from complex layer architectures and into input sequence modeling, unlocking the raw speed of parallel scan algorithms.
Key Results
- ECHO Benchmark Dominance: LGSM significantly outperformed standard MPNNs (GCN, GIN) and Graph Transformers (GPS, GRIT) on long-range tasks. On the ECHO-ECC (eccentricity) task, LGSM achieved a Mean Squared Error (MSE) of 13.549, compared to the next best baseline (DREW) at 32.247.
- SSSP Breakthrough: On the single-source shortest path task, LGSM achieved an MSE of 0.040, drastically outperforming standard GCN (9.743) and the advanced GRIT model (0.147).
- Molecular Tasks: On ECHO-Energy, LGSM achieved an MSE of 0.152 × 10⁻³, outperforming GPS (0.180 × 10⁻³) and standard GCN (4.561 × 10⁻³).
- Ablation Verification: Scaling the sequence length (information depth) consistently led to better performance on long-range benchmarks, proving that the model successfully preserves and utilizes long-range graph signals.
Limitations and Future Work
- Computational Trade-offs: The authors did not systematically explore the exact hardware trade-offs between row-wise execution (parallel scan over sequence length) and column-wise execution (processing all nodes per sequence position).
- Diminishing Returns on Short-Range Tasks: On the Peptides dataset, LGSM performed similarly to standard message-passing models. This indicates that the benefits of decoupling are less pronounced when tasks do not strictly demand deep long-range information propagation or when implicit regularization dominates.
- Future Directions: Integrating other domain-specific inductive biases or advanced regularization techniques into the LGSM framework remains an open area for exploration.
Summary updated