Understanding and Improving Laplacian Positional Encodings for Temporal GNNs

Abstract

Temporal graph learning has applications in recommendation systems, traffic forecasting, and social network analysis. Although multiple architectures have been introduced, progress in positional encoding for temporal graphs remains limited. Extending static Laplacian eigenvector approaches to temporal graphs through the supra-Laplacian has shown promise, but also poses key challenges: high eigendecomposition costs, limited theoretical understanding, and ambiguity about when and how to apply these encodings. In this paper, we address these issues by (1) offering a theoretical framework that connects supra-Laplacian encodings to per-time-slice encodings, highlighting the benefits of leveraging additional temporal connectivity, (2) introducing novel methods to reduce the computational overhead, achieving up to 56x faster runtimes while scaling to graphs with 50,000 active nodes, and (3) conducting an extensive experimental study to identify which models, tasks, and datasets benefit most from these encodings. Our findings reveal that while positional encodings can significantly boost performance in certain scenarios, their effectiveness varies across different models. The supplementary materials and code are available at https://github.com/YanivDorGalron/SLPE .

Cite

Text

Galron et al. "Understanding and Improving Laplacian Positional Encodings for Temporal GNNs." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2025. doi:10.1007/978-3-032-05981-9_25

Markdown

[Galron et al. "Understanding and Improving Laplacian Positional Encodings for Temporal GNNs." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2025.](https://mlanthology.org/ecmlpkdd/2025/galron2025ecmlpkdd-understanding/) doi:10.1007/978-3-032-05981-9_25

BibTeX

@inproceedings{galron2025ecmlpkdd-understanding,
  title     = {{Understanding and Improving Laplacian Positional Encodings for Temporal GNNs}},
  author    = {Galron, Yaniv and Frasca, Fabrizio and Maron, Haggai and Treister, Eran and Eliasof, Moshe},
  booktitle = {European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases},
  year      = {2025},
  pages     = {420-437},
  doi       = {10.1007/978-3-032-05981-9_25},
  url       = {https://mlanthology.org/ecmlpkdd/2025/galron2025ecmlpkdd-understanding/}
}