Density-Ratio Based Personalised Ranking from Implicit Feedback

Riku Togashi, Masahiro Kato, Mayu Otani, Shin'ichi Satoh

Abstract

Modern recommendation systems often struggle to balance the computational efficiency of pointwise training with the ranking accuracy of pairwise methods. This paper introduces DREGN-CF, a framework that reframes recommendation as a Density Ratio Estimation (DRE) problem. By utilizing a novel adaptive weighting strategy and non-negative risk correction, DREGN-CF achieves significant training speedups—up to 13x on large-scale datasets—while delivering superior ranking performance compared to state-of-the-art models like LightGCN and Multi-VAE.

Introduction

Most recommendation systems rely on implicit feedback (e.g., clicks, views), which presents a "one-class" challenge: we only observe positive interactions, making it difficult to distinguish between items a user dislikes and those they simply haven't seen. Traditional solutions fall into two categories: pointwise methods, which are efficient but lack ranking precision, and pairwise methods, which offer high ranking accuracy but suffer from quadratic computational complexity as the number of items grows.

The authors propose a "third way" that maintains the efficiency of pointwise training while achieving the ranking effectiveness of pairwise approaches through Density Ratio Estimation. This approach focuses on the relative density of positive interactions, aligning more naturally with the goal of sorting items for a user.

Methods

The core of the proposed framework is the estimation of the ratio between the density of positive interactions and the density of all possible interactions. Key technical innovations include:

  • Weighted DRE Risk: A loss function based on Bregman divergence, enabling the model to be trained efficiently using standard mini-batch Stochastic Gradient Descent (SGD).
  • Hard-Sample Weighting: An adaptive strategy that assigns higher weights to "difficult" samples—positive items currently ranked low and unobserved items currently ranked high—forcing the model to focus on the decision boundary.
  • Self-Normalization: A technique allowing for "listwise" weighting across users without significant computational overhead, ensuring the model works across varying levels of user activity.
  • Non-Negative Risk Correction: Borrowed from semi-supervised learning, this stabilizes training for complex models like Graph Neural Networks (GNNs) by preventing overfitting on the DRE task.

The authors implemented this framework on top of LightGCN, a state-of-the-art GNN for recommendation, naming the resulting model DREGN-CF.

Experimental Setup

The model was evaluated on three standard real-world benchmarks: Gowalla, Yelp2018, and Amazon-Book. These datasets vary in scale and density, providing a robust testing ground for scalability and ranking performance.

Statistics of the datasets used in the evaluation.

Results and Discussion

DREGN-CF demonstrated significant improvements in both efficiency and accuracy. On the large-scale Amazon-Book dataset, the standard pairwise LightGCN took over 103,000 seconds to converge, while DREGN-CF achieved better results in just 7,884 seconds—roughly a 13x speedup.

Performance comparison of DREGN-CF against state-of-the-art baselines across three datasets.

Key insights from the results include:

  • Rank-Aware Pointwise Training: The adaptive weighting strategy effectively mimics pairwise ranking benefits within a pointwise framework, proving that explicit pair comparison is not strictly necessary for high-quality ranking.
  • Superior Scalability: Unlike non-sampling methods like ENMF, which can see performance degradation as item counts increase, DREGN-CF remains robust, making it ideal for massive datasets like Amazon-Book.
  • Accuracy Gains: DREGN-CF consistently outperformed baselines. For instance, on Amazon-Book, it improved the Recall@20 from 0.0421 (LightGCN) to 0.0482.

Conclusion

DREGN-CF offers a powerful alternative for large-scale recommendation by combining DRE with adaptive weighting. While the model is sensitive to certain hyper-parameters like the risk correction constant, its efficiency and accuracy make it a compelling choice for production environments. Future work will explore direct Top-K optimization and alternative divergence metrics to further refine the framework.

Summary updated

BibTeX
@inproceedings{togashi2021density,
  author = {Riku Togashi and Masahiro Kato and Mayu Otani and Shin'ichi Satoh},
  title = {{Density-Ratio Based Personalised Ranking from Implicit Feedback}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3450027},
}
Figure