Abstract
Modern recommender systems primarily rely on implicit feedback, such as clicks or views, which are abundant but characterized by high sparsity and ambiguity. While pairwise ranking methods like Bayesian Personalized Ranking (BPR) are computationally efficient, they often fail to capture the collective structure of user preferences. Conversely, listwise approaches are mathematically rigorous but suffer from high computational complexity. We introduce Set2setRank, a model-agnostic framework that bridges this gap by employing a two-level ranking strategy: item-to-set and set-to-set comparisons. By optimizing the relative distances between sampled sets of observed and unobserved items, Set2setRank effectively denoises implicit signals and identifies "hard" negative samples. Experimental results on three large-scale datasets demonstrate that Set2setRank consistently outperforms state-of-the-art baselines while maintaining the efficiency of pairwise models.
Introduction
Implicit feedback is the cornerstone of modern recommendation, yet it presents significant modeling challenges. Because we only observe a fraction of potential interactions, it is difficult to distinguish between a user's dislike for an item and their simple lack of exposure to it. Traditional Learning to Rank (LTR) methods typically utilize pairwise comparisons, which treat each interaction in isolation. This approach ignores the broader context of a user's behavioral history.
Set2setRank addresses these limitations by moving beyond individual item comparisons to evaluate sets of items. This allows the model to exploit the underlying structure of user preferences, providing a more robust signal for learning in sparse data environments.
Methodology
Set2setRank operates by sampling a small set of observed items ($S_u^+$) and unobserved items ($S_u^-$) for each user. The framework then applies a two-level optimization process to refine the embedding space.
Two-Level Ranking Strategy
- Item-to-Set Comparison: This level encourages each sampled unobserved item to be ranked lower than the entire set of observed items. By comparing an individual item against a collective preference group, the model establishes a clearer boundary between "liked" and "unknown" items.
- Set-to-Set Comparison: This level introduces a margin-based optimization. It ensures that the summarized distance within the observed set is smaller than the distance between the observed set and the "hardest" (most confusing) unobserved item. This specifically targets items that the model currently misclassifies as high-preference, providing a stronger gradient for learning.
Adaptive Masking
To enhance generalization, the authors implement an adaptive masking technique. By randomly masking items in the observed set during training, the model learns to handle varying set sizes and becomes more resilient to noise, a technique inspired by masked language modeling in NLP.
Experimental Results
The framework was evaluated on three diverse datasets: Amazon Books, MovieLens-20M, and Yelp. Set2setRank was integrated with various base models, including Matrix Factorization (BPR) and Graph Convolutional Networks (LR-GCCF).
As shown in the results table, the adaptive version, Set2setRank(A), consistently achieved the highest performance. It delivered average relative improvements of 9% on Amazon Books, 11% on MovieLens-20M, and 4% on Yelp in terms of Hit Ratio (HR) and Normalized Discounted Cumulative Gain (NDCG). The framework proved to be model-agnostic, providing significant boosts to both simple and complex underlying architectures.
Discussion and Future Work
Set2setRank demonstrates that group-level comparisons provide a powerful "denoising" effect for implicit feedback. The inclusion of hard negative mining through set-to-set comparisons is a key driver of its superior performance. Crucially, the authors proved that the computational complexity of this method remains nearly identical to standard BPR, making it highly suitable for large-scale production systems.
Future research may explore more sophisticated set summarization techniques. While current distance metrics are effective, incorporating attention mechanisms could allow the model to dynamically weight the most influential items within a user's history, further refining the ranking process.
Summary updated