Papers
Topics
Authors
Recent
Search
2000 character limit reached

Memory Is No Longer a Bottleneck: Memory-Efficient Graph Filtering for Scalable Collaborative Filtering

Published 19 Jun 2026 in cs.LG, cs.AI, cs.IR, cs.IT, and cs.SI | (2606.21540v1)

Abstract: Graph convolutional networks (GCNs) have demonstrated significant success in capturing complex user-item relationships for collaborative filtering (CF). However, due to their reliance on extensive model training, training-free graph filtering (GF)-based CF methods have emerged as a promising alternative, offering computational efficiency by smoothing graph signals via matrix operations. In particular, polynomial GF-based approaches demonstrate improved accuracy through their ability to design more expressive and flexible filtering functions. Despite these advantages, existing GF methods suffer from a critical memory bottleneck: they necessitate storing the full item similarity graph, incurring prohibitive memory costs for large-scale datasets, which limits their practical applicability. To tackle this challenge, we propose Mem-GF (Memory-efficient GF), a new GF-based CF method that departs from conventional designs by principally leveraging the structure of Krylov subspaces as a core mechanism for approximating polynomial graph filters without explicitly storing the item similarity graph. We theoretically analyze the minimum Krylov subspace size that guarantees lossless approximation. Through extensive experiments, we demonstrate that Mem-GF achieves up to 5.74$\times$ lower memory usage and 4.38$\times$ speedup in runtime, while consistently exceeding the recommendation accuracy of state-of-the-art GF and GCN-based methods. Mem-GF robustly scales to datasets with tens of millions of interactions, establishing itself as a practically viable and theoretically grounded solution for efficient CF.

Authors (2)

Summary

  • The paper introduces Mem-GF, a novel approach that leverages user-specific Krylov subspaces to achieve memory-efficient graph filtering for scalable collaborative filtering.
  • It employs Lanczos iterations and polynomial filter approximations to bypass full item similarity matrix storage, reducing memory usage by up to 5.74×.
  • Experimental results demonstrate linear scaling in runtime and memory while delivering state-of-the-art recommendation accuracy without sacrificing filter expressiveness.

Memory-Efficient Graph Filtering for Scalable Collaborative Filtering: The Mem-GF Paradigm

Motivation and Problem Statement

The paper addresses a critical limitation of training-free graph filtering (GF)-based collaborative filtering (CF) methods: the memory bottleneck associated with storing the full item similarity graph. Despite their computational advantages and applicability to diverse recommendation scenarios, current polynomial GF-based approaches require a universal ∣I∣×∣I∣|\mathcal{I}|\times|\mathcal{I}| matrix for graph filtering, incurring prohibitive RAM/VRAM costs at scale. This bottleneck impedes large-scale deployment of GF-based CF systems, especially for real-time inference, and often results in out-of-memory errors even on high-spec GPU hardware. Figure 1

Figure 1: Memory usage (RAM/VRAM) comparison among six representative GF-based CF methods and Mem-GF on the Amazon-book dataset, highlighting severe OOM failures of classical methods.

Figure 2

Figure 2: Space consumption scaling curves contrasting conventional GF-based CF designs with Mem-GF, showing quadratic growth for classical approaches and linear scaling for Mem-GF.

Mem-GF: Krylov Subspace-Based Filtering

Mem-GF proposes a fundamentally new approach by leveraging user-specific Krylov subspaces to approximate polynomial graph filters without explicitly constructing or storing the item similarity matrix. For each user's interaction vector, repeated matrix-vector products construct a compact basis capturing the relevant spectral properties. The filter is then applied in this Krylov-reduced space, ensuring polynomial filter expressiveness with dramatically lower memory requirements. Figure 3

Figure 3: Schematic overview of Mem-GF: per-user Krylov subspace construction and compact polynomial filtering, fully circumventing explicit item similarity matrix formation.

Methodological Details

  • Adjusted Interaction Matrix: Instead of direct Hadamard-power transforms on the item graph, Mem-GF adjusts the normalized interaction matrix, regularizing the original user-item signal.
  • Lanczos Algorithm: Krylov subspaces are constructed via the Lanczos iteration, yielding a user-specific orthonormal basis and tridiagonal projection of the item similarity matrix.
  • Polynomial Filtering: Arbitrary-order polynomial filters are efficiently computed in the Krylov space, allowing high-order designs previously unattainable due to memory constraints.
  • Zero-Error Guarantee: If the Krylov basis dimension K>NK > N (filter order), Mem-GF provides a lossless approximation under exact arithmetic, as formally proven in the paper.

Filter Design and Expressiveness

Mem-GF supports expressive polynomial graph filters of arbitrary order, including fifth-order approximations of Gaussian low-pass filters for spectral graph smoothing. Figure 4

Figure 4: Comparison of the function h(λ)=e−γλ2h(\lambda) = e^{-\gamma \lambda^2} and its polynomial approximations for N=1,2,5N = 1, 2, 5, demonstrating decreased approximation error with increasing polynomial order.

This advances the field beyond the classical restriction to linear/ideal low-pass filters, enabling broader frequency response control and personalized filter selection per user.

Memory and Runtime Scaling

Theoretical complexity analysis and extensive experiments confirm that Mem-GF achieves linear space and runtime scaling in the number of items, users, and interactions. No full item-item matrix is ever formed; only the adjusted interaction matrix and compact Krylov structures are held in memory. Figure 5

Figure 5: Empirical scaling of Mem-GF memory usage and runtime as the number of users, items, and interactions increase, confirming linear complexity.

Figure 6

Figure 6: Total memory and runtime comparison among GF-based CF methods as a function of item set cardinality, with Mem-GF consistently outperforming classical competitors.

Key empirical results:

  • Up to 5.74×5.74\times lower memory usage and 4.38×4.38\times preprocessing speedup versus best classical GF competitors.
  • OOM errors eliminated for all datasets, including tens-of-millions scale MovieLens-20M.
  • Even high-order (fifth) polynomial filters incur negligible additional overhead.

Recommendation Accuracy and Ablations

Mem-GF not only achieves substantial efficiency improvements but also consistently yields state-of-the-art recommendation accuracy, outperforming both GF-based and GCN-based methods across datasets.

Contradictory claim: Despite its focus on efficiency, Mem-GF achieves higher recommendation accuracy than competing GF and GCN methods, refuting the common tradeoff assumption between scalability and expressiveness.

Empirical ablation on Krylov basis dimension confirms the zero-error guarantee: for K>NK > N, Mem-GF matches the baseline performance, while K≤NK \leq N leads to degradation.

Hyperparameter Sensitivity

Mem-GF's accuracy exhibits mild sensitivity to two key hyperparameters: the normalization exponent γ\gamma and the adjustment parameter ss. The optimal settings vary across datasets but cluster closely around typical values (K>NK > N0, K>NK > N1). Figure 7

Figure 7: Sensitivity curves of Mem-GF accuracy as a function of K>NK > N2 and K>NK > N3, illustrating robust performance within typical parameter ranges.

Practical Implications and Limitations

Mem-GF is directly deployable in real-world recommender systems for candidate generation and scoring, as its core operations are naturally parallelizable and training-free. Its compact memory footprint enables scaling beyond prior limitations. Extensions to heterogeneous graphs, social networks, and cold-start scenarios may require further filter design. Extreme sparsity or noise in user signals remains a potential limitation, as Krylov subspaces may not adequately capture structure.

Conclusion

Mem-GF introduces user-adaptive, memory-efficient graph filtering for CF based on Krylov subspace principles, providing strong theoretical guarantees and empirical evidence for linear scaling, robust expressiveness, and accuracy. This paradigm eliminates the classical memory bottleneck, facilitates high-order filter design, and supports deployment in large-scale, real-time recommendation systems. Future developments may generalize Mem-GF to multi-modal, cross-domain, and distributed CF architectures, and further integrate with adaptive optimization for filter selection.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.