Preference Completion: Large-scale Collaborative Ranking from Pairwise Comparisons

Dohyung Park, Joe Neeman, Jin Zhang, Sujay Sanghavi, Inderjit S. Dhillon

Introduction

Most recommendation systems rely on explicit numerical ratings, such as 1-to-5 star scales. However, numerical ratings are notoriously noisy—one user’s "4" might be another’s "5"—and are often difficult to collect at scale. In contrast, pairwise preferences (e.g., a user choosing Option A over Option B) are more natural, more consistent, and ubiquitous in "implicit" data like clickstreams or purchase histories.

This paper tackles the challenge of Collaborative Ranking: predicting a full ranking of items for thousands of users when each user only provides a tiny handful of pairwise comparisons. To be effective, a model must be personalized to individual tastes, collaborative enough to leverage patterns across the entire user base, and scalable to millions of users and items. The authors introduce AltSVM, a highly scalable non-convex algorithm that treats preference completion as a series of alternating Support Vector Machine (SVM) problems, achieving state-of-the-art ranking accuracy and near-linear parallel speedups.

Methods: From Theory to Practice

The authors propose two distinct approaches to fit a low-rank "score matrix" to observed pairwise data, bridging the gap between theoretical guarantees and practical scalability.

1. Convex Relaxation

First, they analyze a model using nuclear norm regularization, a standard proxy for enforcing low-rank matrices. They provide a rigorous statistical proof showing that the number of comparisons needed per user to guarantee good results is roughly $O(r \log^2 d)$, where $r$ is the rank and $d$ is the number of items. This is a critical theoretical milestone, proving that pairwise data—despite appearing "thinner" than numerical data—requires essentially the same sample complexity as traditional matrix completion.

2. AltSVM: The Practical Contribution

Recognizing that convex solvers struggle to scale to massive datasets, the authors develop a non-convex algorithm. They factor the score matrix into two smaller matrices for users and items. By fixing one matrix and solving for the other, the problem decomposes into a set of standard SVM problems.

  • Alternating Updates: The algorithm alternates between updating user vectors and item vectors.
  • Parallelization: To ensure the algorithm scales across multiple CPU cores without bottlenecking, they employ an asynchronous, lock-free stochastic dual coordinate descent (similar to the "Hogwild!" approach).

Key Insights

  • SVM as a Building Block: Framing the item vector update as a single, large SVM problem is a clever optimization. By exploiting the sparsity of the feature matrices, the authors transformed a seemingly intractable global update into a highly efficient process.
  • Hinge Loss Wins: While many ranking models (like Bayesian Personalized Ranking, or BPR) use logistic loss, this research finds that the L2 hinge loss used in AltSVM provides better empirical performance and fits the SVM framework perfectly.

Key Results

The authors evaluated their approach on several industry-standard collaborative filtering benchmarks, including MovieLens (100k, 1m, 10m), the Netflix Prize Dataset, and a Binarized MovieLens dataset. Numerical ratings were converted into pairwise preferences to test the models.

Performance and scalability of AltSVM across different datasets compared to baselines.
  • Superior Ranking: AltSVM consistently outperformed common baselines like BPR and CofiRank in terms of NDCG@10 (Normalized Discounted Cumulative Gain), a metric that prioritizes the accuracy of the top-10 recommendations.
  • Speed and Scalability: On the MovieLens datasets, AltSVM converged significantly faster than competing methods.
  • Linear Speedup: The algorithm demonstrated excellent parallel efficiency. As shown in the performance graphs, scaling from 1 to 4 to 16 threads drastically reduced computation time. On a 16-core machine, it achieved an 8.7x speedup, proving it is exceptionally well-suited for high-performance computing environments.
  • Robustness: Even when the number of comparisons per user was very low, the collaborative nature of the model allowed it to maintain high prediction accuracy.

Limitations and Future Work

While AltSVM is highly effective in practice, the authors note a few limitations. Because it is a non-convex approach, providing the same rigorous global convergence guarantees as the convex version remains a theoretical challenge. Additionally, like most collaborative filtering methods, the model struggles with "cold start" scenarios where a brand-new user or item has zero prior comparisons.

A promising future direction is "active" preference completion: dynamically determining which specific pairs of items a user should be asked to compare in order to maximize the model's learning rate with the fewest possible questions.

Summary updated

BibTeX
@inproceedings{park2015preference,
  author = {Dohyung Park and Joe Neeman and Jin Zhang and Sujay Sanghavi and Inderjit S. Dhillon},
  title = {{Preference Completion: Large-scale Collaborative Ranking from Pairwise Comparisons}},
  booktitle = {International Conference on Machine Learning},
  year = {2015},
  url = {https://openreview.net/forum?id=HJ-vlobO-B},
}
Figure