On the Impact of Graph Neural Networks in Recommender Systems: A Topological Perspective

Daniele Malitesta, Claudio Pomo, Vito Walter Anelli, Alberto Carlo Maria Mancino, Alejandro Bellogín, Tommaso Di NoiaarXiv 2025

TL;DR

Graph Neural Networks (GNNs) dominate modern recommender systems, but the exact structural reasons behind their empirical success have long remained a black box. This paper demystifies GNN performance by analyzing it through a "topological lens," mapping out how the structural properties of user-item graphs interact with GNN architectural designs. By evaluating 11 models across 1,800 sampled datasets, the authors provide an explanatory framework that can predict a model's performance based on data topology alone.

What Problem Does This Paper Address?

GNNs have become the gold standard for Collaborative Filtering (CF) because they treat users and items as nodes in a bipartite graph, propagating information across multi-hop neighborhoods to capture high-order connectivity. However, most research in this space focuses on raw empirical benchmarking ("our new model beats the old baseline") without explaining why certain architectures excel on specific datasets.

This paper addresses this gap by investigating the direct relationship between a dataset's graph topology (e.g., node degrees, clustering patterns, and assortativity) and a GNN's recommendation accuracy. Understanding this interplay helps move the field beyond costly trial-and-error model selection and treats GNNs as transparent, topology-aware predictors.

Methods

The authors deconstruct GNN-based recommendation using a rigorous four-step explanatory framework:

  1. Unified Taxonomy: They break down 11 state-of-the-art GNN recommenders into a standard 4-stage pipeline: Graph Input, Graph Structure, Propagation, and Recommendation.
  2. Feature Formalization: They define 13 dataset descriptors, split into classical metrics (space size, shape, density, sparsity, and user/item Gini coefficients) and topological metrics (average node degree, clustering coefficients, and degree assortativity).
  3. Graph Sampling: To avoid the computational bottleneck of training massive graphs while ensuring statistical robustness, they use node-dropout and edge-dropout (at rates between 0.7 and 0.9) to generate 1,800 distinct sub-datasets from real-world benchmarks.
  4. Statistical Modeling: After training the GNNs and measuring performance (Recall@20), they fit an Ordinary Least Squares (OLS) linear regression model to quantify exactly how each structural feature impacts final accuracy.

To illustrate the evolution of the models analyzed under this taxonomy, the authors provide a historical timeline of graph collaborative filtering strategies:

GNN Recommendation Timeline

Datasets

The study utilizes six widely recognized recommendation benchmarks, filtered using iterative user-item $k$-core processing to reduce noise:

  • MovieLens 1M (highly dense outlier)
  • Yelp (large interaction space, highly sparse)
  • Amazon Beauty (extremely sparse, e-commerce)
  • Amazon Books (catalog-heavy exception)
  • Gowalla (location-based social network)
  • Last.fm (highly skewed item distribution)

While no new benchmarks are introduced, the paper's controlled graph sampling creates a massive, topologically diverse pool of 1,800 sub-datasets.

Key Insights and Ideas

  • Simplicity Wins Over Convoluted Math: The evolution of GNNs shows that simpler architectures (like LightGCN) consistently outperform complex pioneers (like NGCF). Stripping away non-linearities and feature transformations lets the model focus entirely on its core strength: effective local neighborhood aggregation.
  • Explicit vs. Implicit Encoding: GNNs don't treat all topological properties equally. Node degree is explicitly baked into equations via symmetric normalization ($1/\sqrt{\sigma_u \sigma_i}$). Conversely, higher-order structures like clustering coefficients (user-item-user overlaps) and assortativity are learned implicitly as an emergent consequence of multi-hop message passing.
  • The Popularity Bias Trap: Standard GNNs are structurally wired to reward popular items because the message-passing mechanism inherently favors high-degree nodes. The statistical framework revealed a strong, consistent positive correlation between item popularity concentration (Item Gini coefficient) and model performance. If your dataset's item distribution is too flat, standard GNNs struggle to differentiate items effectively.

Key Results

  • High Explanatory Power: The OLS linear regression models achieved exceptionally high goodness-of-fit, with adjusted $R^2$ values frequently exceeding 0.95 across models like LightGCN, DGCF, and SVD-GCN.
  • Dominance of Node Degree: Against the common assumption that complex multi-hop propagation is the sole source of GNN power, the factorization component and immediate node degree proved to be the most consistent and powerful predictors of performance.
  • The Detriment of Detached Users: A higher user-to-item ratio ("shape") is consistently inversely related to performance. For a fixed number of items, adding more users degrades GNN recommendation quality because it limits the model's ability to observe diverse interaction patterns.

Limitations and Future Work

  • The 1-WL Expressiveness Ceiling: Most message-passing GNNs are theoretically bounded by the 1-Weisfeiler-Lehman graph isomorphism test, meaning they cannot distinguish between certain non-isomorphic graph structures.
  • Bottlenecks in Depth: Over-smoothing (embeddings becoming identical) and over-squashing (information bottlenecks from distant nodes) restrict standard GNNs to shallow depths (typically 2–3 hops), preventing them from harnessing longer-range relationships.
  • Static Topology Assumption: Real-world recommendation graphs are highly dynamic and noisy. The authors highlight the need for generative models (like graph diffusion models or LLM-augmented graphs) to adaptively rewire and denoise graph structures.
  • Beyond Accuracy: Current evaluation protocols narrowly focus on accuracy metrics (Recall, NDCG). Future work must adopt holistic evaluation frameworks that incorporate diversity, novelty, and fairness.

Summary updated

BibTeX
@misc{malitesta2025impact,
  author = {Daniele Malitesta and Claudio Pomo and Vito Walter Anelli and Alberto Carlo Maria Mancino and Alejandro Bellogín and Tommaso Di Noia},
  title = {{On the Impact of Graph Neural Networks in Recommender Systems: A Topological Perspective}},
  year = {2025},
  eprint = {2512.07384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.07384},
}
Figure