PolyCF: Towards Optimal Spectral Graph Filters for Collaborative Filtering

Yifang Qin, Wei Ju, Yiyang Gu, Ziyue Qiao, Zhiping Xiao, Ming Zhang

TL;DR

PolyCF moves beyond the inherent expressiveness limits of standard embedding-based recommendation models by reframing collaborative filtering as a graph signal processing task. By employing learnable polynomial filters across multiple "generalized" eigenspaces, it achieves state-of-the-art accuracy without being bottlenecked by fixed embedding dimensions.

What Problem Does This Paper Address?

Most modern recommender systems rely on Collaborative Filtering (CF), specifically using Graph Neural Networks (GNNs) like LightGCN. These models map users and items into a shared "embedding space" of dimension $d$.

However, the authors of PolyCF point out a fundamental mathematical limitation: the rank of the predicted interaction matrix in these models is strictly bounded by the embedding size $d$. If $d$ is small (to save memory/computation), the model physically cannot represent complex, high-rank interaction patterns. While some researchers have tried using Graph Signal Processing (GSP) to bypass embeddings, they often rely on "manually crafted" filters (like simple low-pass filters) that aren't flexible enough to adapt to the unique "noise" and "signal" of different datasets.

Methods

PolyCF introduces a flexible, learnable framework for graph filtering. Its architecture is built on three main pillars:

  1. Generalized Normalization: Standard graph filters usually use symmetric or random-walk normalization. PolyCF introduces a parameter $\gamma$ that allows for a family of "Generalized Gram Filters." By using a set of different $\gamma$ values, the model can capture spectral features from diverse eigenspace structures—essentially looking at the user-item graph through multiple "lenses."
  2. Learnable Polynomial Kernels: Instead of assuming a fixed filter shape, PolyCF uses a $K$-order polynomial (using bases like Chebyshev or Bernstein). The coefficients of these polynomials are learned during training, allowing the model to approximate the "optimal" response function for a specific dataset.
  3. Low-pass Enhancement: To handle the inherent noise in user-item interactions, the model incorporates an ideal low-pass filter derived from Singular Value Decomposition (SVD). This ensures the model focuses on the most informative, low-frequency collaborative signals.

Optimization: The model is trained using a dual objective: a standard Bayesian Personalized Ranking (BPR) loss to ensure correct item ordering, and a Graph Optimization Objective that encourages the filter to be robust against signal perturbations (acting somewhat like a spectral denoising autoencoder).

Datasets

The authors evaluated PolyCF on three widely-used, large-scale benchmarks:

  • Amazon-Book: A very large and sparse dataset of book reviews.
  • Yelp2018: A medium-density dataset of business reviews and interactions.
  • Gowalla: A sparse dataset of location-based check-ins.

These datasets represent a range of densities and interaction types, providing a robust test for the model's flexibility.

Key Insights and Ideas

  • The Rank Bottleneck is Real: The paper provides a theoretical proof (Theorem 4.1) showing that embedding-based models are essentially low-rank factorizations. PolyCF's use of the item Gram matrix allows it to reach a much higher rank ($\approx$ number of items), unlocking significantly more expressive power.
  • Spectral Diversity Matters: The ablation studies show that using "Generalized Normalization" is superior to standard normalization. Different $\gamma$ values allow the model to pick up on both local neighborhood similarities and more global structural patterns simultaneously.
  • Learned vs. Manual Filters: While simple low-pass filters (like those in GF-CF) are good, they are sub-optimal. PolyCF’s learned polynomials often take on a "low-pass-like" shape but with specific "wiggles" or steepness tailored to the data, which accounts for its performance edge.

Key Results

PolyCF consistently outperformed state-of-the-art baselines (including LightGCN, UltraGCN, and GF-CF) across all metrics:

  • Accuracy: It achieved a relative improvement in Recall@20 of up to 1.5% on Amazon-Book and 0.94% on Gowalla compared to the best existing methods.
  • Ranking Quality: Improvements in NDCG@20 were even more pronounced, reaching 2.9% on Amazon-Book.
  • Robustness: The joint optimization strategy (Graph Objective + BPR) proved crucial; removing either component led to a significant drop in performance, especially on the sparser Gowalla dataset.

Limitations and Future Work

While PolyCF is powerful, the authors and the methodology suggest a few areas for further exploration:

  • Hyperparameter Sensitivity: The model introduces several new hyperparameters, including the set of $\gamma$ values, the polynomial order $K$, and the SVD cutoff $s$. Finding the optimal configuration requires careful tuning.
  • Computational Overhead: Although the authors use sparse matrix factorizations to keep the model efficient, performing SVD and high-order polynomial convolutions on extremely massive graphs (millions of nodes) remains a computational challenge.
  • Beyond Bipartite Graphs: Currently, PolyCF is designed for user-item bipartite graphs. Extending this spectral approach to multi-relational graphs or dynamic graphs where interactions change over time is a promising next step.

Summary updated

Abstract

Collaborative Filtering (CF) is a pivotal research area in recommender systems that capitalizes on collaborative similarities between users and items to provide personalized recommendations. With the remarkable achievements of node embedding-based Graph Neural Networks (GNNs), we explore the upper bounds of expressiveness inherent to embedding-based methodologies and tackle the challenges by reframing the CF task as a graph-signal processing problem. To this end, we propose PolyCF, a flexible graph signal filter that leverages polynomial graph filters to process interaction signals. PolyCF exhibits the capability to capture spectral features across multiple eigenspaces through a series of Generalized Gram filters and is able to approximate the optimal polynomial response function for recovering missing interactions. A graph optimization objective and a pairwise ranking objective are jointly used to optimize the parameters of the convolution kernel. Experiments on three widely adopted datasets demonstrate the superiority of PolyCF over the state-of-the-art CF methods.
BibTeX
@article{qin2025polycf,
  author = {Yifang Qin and Wei Ju and Yiyang Gu and Ziyue Qiao and Zhiping Xiao and Ming Zhang},
  title = {{PolyCF: Towards Optimal Spectral Graph Filters for Collaborative Filtering}},
  journal = {ACM Trans. Information Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=gE2CSAETtU},
}

Loading related content...

Figure