mlsanityData to 14 Oct 2026

Best of Both Worlds: Advantages of Hybrid Graph Sequence Models

arXiv 2411.15671 ↗First posted 23 Nov 2024cs.LG cs.SIcited by 6

Not on the map. Why?

Abstract (arXiv)

Modern sequence models (e.g., Transformers, linear RNNs, etc.) emerged as dominant backbones of recent deep learning frameworks, mainly due to their efficiency, representational power, and/or ability to capture long-range dependencies. Adopting these sequence models for graph-structured data has recently gained popularity as the alternative to Message Passing Neural Networks (MPNNs). There is, however, a lack of a common foundation about what constitutes a good graph sequence model, and a mathematical description of the benefits and deficiencies in adopting different sequence models for learning on graphs. To this end, we first present Graph Sequence Model (GSM), a unifying framework for adopting sequence models for graphs, consisting of three main steps: (1) Tokenization, which translates the graph into a set of sequences; (2) Local Encoding, which encodes local neighborhoods around each node; and (3) Global Encoding, which employs a scalable sequence model to capture long-range dependencies within the sequences. This framework allows us to understand, evaluate, and compare the power of different sequence model backbones in graph tasks. Our theoretical evaluations of the representation power of Transformers and modern recurrent models through the lens of global and local graph tasks show that there are both negative and positive sides for both types of models. Building on this observation, we present GSM++, a fast hybrid model that uses the Hierarchical Affinity Clustering (HAC) algorithm to tokenize the graph into hierarchical sequences, and then employs a hybrid architecture of Transformer to encode these sequences. Our theoretical and experimental results support the design of GSM++, showing that GSM++ outperforms baselines in most benchmark evaluations.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 81 of its 105 references that are in the map. First posted on arXiv 23 Nov 2024.

Builds on

81 of 105 references.

References · 81

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  3. 2017Graph Attention Networkscited by 8,923
  4. 2017Inductive Representation Learning on Large Graphscited by 6,320
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  6. 2018How Powerful are Graph Neural Networks?cited by 4,393
  7. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  8. 2020Longformer: The Long-Document Transformercited by 3,413
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  10. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  11. 2016node2vec: Scalable Feature Learning for Networkscited by 1,918
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
38 more
  1. 2020Reformer: The Efficient Transformercited by 1,668
  2. 2020Rethinking Attention with Performerscited by 1,601
  3. 2014DeepWalk: Online Learning of Social Representationscited by 1,547
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  5. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  6. 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,102
  7. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
  8. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  9. 2020Efficient Transformers: A Surveycited by 790
  10. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  11. 2020Benchmarking Graph Neural Networkscited by 680
  12. 2020A Generalization of Transformer Networks to Graphscited by 661
  13. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
  14. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
  15. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  16. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  17. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  18. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  19. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
  20. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  21. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  22. 2017Residual Gated Graph ConvNetscited by 346
  23. 2023A critical look at the evaluation of GNNs under heterophily: Are we really making progress?cited by 343
  24. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
  25. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  26. 2015Unitary Evolution Recurrent Neural Networkscited by 294
  27. 2022Long Range Language Modeling via Gated State Spacescited by 265
  28. 2022Long Range Graph Benchmarkcited by 263
  29. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
  30. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 210
  31. 2019What graph neural networks cannot learn: depth vs widthcited by 201
  32. 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
  33. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  34. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  35. 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
  36. 2023Exphormer: Sparse Transformers for Graphscited by 170
  37. 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 166
  38. 2020Machine Learning on Graphs: A Model and Comprehensive Taxonomycited by 156

50 most cited of 81 All 81 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.