PolyCF: Towards Optimal Spectral Graph Filters for Collaborative Filtering

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

Introduction

Collaborative Filtering (CF) remains the cornerstone of modern recommender systems. Most state-of-the-art models, particularly Graph Neural Networks (GNNs) like LightGCN, operate by mapping users and items into a shared embedding space of dimension $d$. While effective, this paradigm suffers from a fundamental mathematical constraint: the rank of the predicted interaction matrix is strictly bounded by the embedding dimension. In practical scenarios where $d$ is kept small for efficiency, the model lacks the expressiveness to capture complex, high-rank interaction patterns.

PolyCF addresses this "rank bottleneck" by reframing collaborative filtering as a task in Graph Signal Processing (GSP). Instead of relying solely on low-dimensional embeddings, PolyCF employs learnable polynomial filters across multiple generalized eigenspaces, allowing it to approximate the optimal spectral response for any given dataset.

The Rank Bottleneck Problem

In traditional embedding-based CF, the interaction between a user $u$ and an item $i$ is typically modeled as the inner product of their respective $d$-dimensional vectors. Mathematically, the entire predicted interaction matrix $\hat{R}$ can be expressed as $U V^T$, where $U \in \mathbb{R}^{M \times d}$ and $V \in \mathbb{R}^{N \times d}$. Consequently, the rank of $\hat{R}$ is at most $d$.

The authors of PolyCF provide theoretical evidence (Theorem 4.1) that this low-rank nature limits the model's ability to represent the true underlying signal in sparse user-item graphs. While some GSP-based methods have attempted to solve this by working directly with the graph Laplacian, they often use fixed, "hand-crafted" filters (e.g., simple low-pass filters) that fail to adapt to the specific noise profiles of different datasets.

The PolyCF Framework

PolyCF introduces a flexible architecture designed to learn the optimal filter directly from the data. Its methodology is built upon three core components:

1. Generalized Normalization and Spectral Diversity

Standard graph filters typically utilize symmetric or random-walk normalization of the adjacency matrix. PolyCF generalizes this by introducing a parameter $\gamma$, creating a family of "Generalized Gram Filters." By applying a set of different $\gamma$ values, the model views the user-item graph through multiple spectral "lenses." This allows the framework to capture diverse structural patterns—ranging from local neighborhood similarities to global community structures—that a single normalization scheme might miss.

2. Learnable Polynomial Kernels

Rather than assuming a fixed filter shape, PolyCF treats the filter as a $K$-order polynomial. By using robust polynomial bases such as Chebyshev or Bernstein polynomials, the model can learn complex frequency response functions. The coefficients of these polynomials are optimized during training, enabling the model to adaptively "wiggle" its spectral response to emphasize relevant signals and suppress noise specific to the dataset.

3. Low-pass Enhancement via SVD

To further stabilize the learning process and handle the inherent sparsity of interaction data, PolyCF incorporates an ideal low-pass filter derived from Singular Value Decomposition (SVD). This component ensures that the model retains a strong focus on the most informative, low-frequency collaborative signals, which represent the primary trends in user behavior.

Optimization Strategy

The model is trained using a multi-objective loss function:

  • Bayesian Personalized Ranking (BPR) Loss: Ensures that observed interactions are ranked higher than unobserved ones, maintaining the core recommendation objective.
  • Graph Optimization Objective: Acts as a spectral denoising mechanism, encouraging the learned filters to be robust against perturbations in the graph signal.

This dual approach allows PolyCF to balance individual ranking accuracy with global graph consistency.

Experimental Evaluation

The effectiveness of PolyCF was evaluated on three benchmark datasets: Amazon-Book, Yelp2018, and Gowalla. These datasets vary significantly in scale and density, providing a comprehensive testing ground.

PolyCF consistently outperformed leading baselines, including LightGCN, UltraGCN, and GF-CF. Key performance highlights include:

  • Accuracy Gains: A relative improvement in Recall@20 of up to 1.5% on Amazon-Book and 0.94% on Gowalla.
  • Ranking Quality: A significant 2.9% improvement in NDCG@20 on Amazon-Book, suggesting that PolyCF is particularly adept at placing relevant items at the very top of the recommendation list.
  • Ablation Insights: Removing the "Generalized Normalization" or the joint optimization objective led to noticeable performance degradation, confirming that both spectral diversity and the denoising objective are critical to the model's success.

Conclusion

PolyCF represents a significant shift in collaborative filtering by moving beyond the rank limitations of standard embedding-based models. By combining the theoretical foundations of Graph Signal Processing with the flexibility of learnable polynomial kernels, it provides a more expressive and adaptive framework for recommendation. Future work may involve extending this spectral approach to more complex graph structures, such as multi-relational or temporal interaction networks, and further optimizing the computational efficiency of high-order spectral convolutions on massive graphs.

Summary updated

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