Sketch-Augmented Features Improve Learning Long-Range Dependencies in Graph Neural Networks

Ryien Hosseini, Filippo Simini, Venkatram Vishwanath, Rebecca Willett, Henry Hoffmann
11/5/2025
cs.LG

Official code: ryienh/sketched-random-features (2 stars, MIT, last commit 2025-10-29).

Abstract

Graph Neural Networks learn on graph-structured data by iteratively aggregating local neighborhood information. While this local message passing paradigm imparts a powerful inductive bias and exploits graph sparsity, it also yields three key challenges: (i) oversquashing of long-range information, (ii) oversmoothing of node representations, and (iii) limited expressive power. In this work we inject randomized global embeddings of node features, which we term \textit{Sketched Random Features}, into standard GNNs, enabling them to efficiently capture long-range dependencies. The embeddings are unique, distance-sensitive, and topology-agnostic -- properties which we analytically and empirically show alleviate the aforementioned limitations when injected into GNNs. Experimental results on real-world graph learning tasks confirm that this strategy consistently improves performance over baseline GNNs, offering both a standalone solution and a complementary enhancement to existing techniques such as graph positional encodings. Our source code is available at \href{https://github.com/ryienh/sketched-random-features}{https://github.com/ryienh/sketched-random-features}.

View on arXivView PDF

Code Implementations(1)

MIT

Randomized global embeddings of node features for enhancing GNNs

21Python, Jupyter NotebookOct 29, 202511 months agoMIT

Similar Papers

Cite this paper

@article{hosseini2025sketchaugmented,
  title  = {Sketch-Augmented Features Improve Learning Long-Range Dependencies in Graph Neural Networks},
  author = {Ryien Hosseini and Filippo Simini and Venkatram Vishwanath and Rebecca Willett and Henry Hoffmann},
  year   = {2025},
  eprint = {2511.03824},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.03824v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.03824.svg)](https://codeofpaper.com/paper/2511.03824)

Discussion