Top-N Recommendation on Graphs

Zhao Kang, Chong Peng, Ming Yang, Qiang Cheng

Introduction: The Sparsity Challenge in Collaborative Filtering

Collaborative Filtering (CF) is the cornerstone of modern recommender systems, predicting user preferences based on the collective behavior of similar individuals. However, CF systems are perennially plagued by data sparsity. In typical real-world scenarios, a user interacts with only a tiny fraction of the available items. When the user-item interaction matrix is overwhelmingly empty, traditional methods like Matrix Factorization (MF) often fail to capture meaningful patterns, leading to uninterpretable results or convergence to local optima.

This research introduces a graph-based approach designed to overcome sparsity by explicitly modeling the intrinsic structural relationships between users and items. By enforcing "smoothness"—the principle that similar entities should have similar representations—the proposed method preserves the data's underlying geometry even in highly sparse environments.

Methodology: Graph Regularization and Convex Optimization

The proposed model shifts away from raw rating analysis toward a neighborhood-centric view of the recommendation ecosystem.

1. Dual Graph Construction

The researchers construct two undirected weighted graphs:

  • User Graph: Connects users with similar tastes.
  • Item Graph: Connects items that appeal to similar user groups. Similarity is calculated using Cosine similarity for explicit ratings and the Jaccard coefficient for implicit feedback (e.g., clicks or bookmarks).

2. Manifold Learning and the Objective Function

Leveraging the "manifold assumption," the model posits that if two nodes are close in the graph, their predicted scores should also be close. This is implemented via Graph Laplacians, which penalize large discrepancies between similar neighbors. The resulting objective function minimizes three components:

  • Reconstruction Error: Ensuring predicted ratings align with observed data.
  • Item Smoothness: Promoting consistency among similar items.
  • User Smoothness: Promoting consistency among similar users.

3. Optimization via the Sylvester Equation

A significant advantage of this formulation is its strong convexity. Unlike non-convex MF models that risk getting stuck in local minima, this model guarantees a unique, globally optimal solution. The optimization problem is reduced to solving the Sylvester equation ($AX + XB = C$), a well-studied mathematical form with efficient, scalable solvers.

Experimental Setup

The model was rigorously tested across six benchmark datasets representing both implicit and explicit feedback:

  • Implicit Feedback: Delicious, Last.fm, and BX.
  • Explicit Feedback: FilmTrust, Netflix, and Yahoo! Movies. These datasets feature varying densities (0.24% to 1.14%), providing a comprehensive evaluation of the model's robustness against sparsity.

Key Results

The graph-based model was benchmarked against established methods, including ItemKNN, PureSVD, and SLIM. It consistently matched or exceeded state-of-the-art performance across all metrics.

Hit-Rate (HR) performance on the FilmTrust dataset (explicit feedback).

On explicit feedback datasets like FilmTrust, the model achieved a Hit-Rate (HR) of 0.651, surpassing SLIM's 0.628. The improvements were even more pronounced in implicit feedback scenarios.

Hit-Rate (HR) performance on the Last.fm dataset (implicit feedback).

On the Last.fm dataset, the proposed method reached an HR of 0.198, representing a substantial improvement over the next best baseline, BPRKNN, which scored 0.145. These results suggest that by preserving the original matrix structure rather than forcing a low-rank approximation, the model retains vital information that other methods discard.

Discussion and Future Directions

The success of this approach highlights the power of combining user and item graph structures. Experiments confirmed that utilizing both graphs consistently outperforms single-graph variants, providing a more holistic view of user-item dynamics.

While the model is highly effective, it remains sensitive to the choice of similarity metrics and neighborhood sizes. Future work could explore automated metric selection or the integration of "side information"—such as user demographics or item metadata—directly into the graph construction phase to further enhance recommendation accuracy in extremely sparse settings.

Summary updated

BibTeX
@inproceedings{kang2016top,
  author = {Zhao Kang and Chong Peng and Ming Yang and Qiang Cheng},
  title = {{Top-N Recommendation on Graphs}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2016},
  doi = {10.1145/2983323.2983649},
}
Figure