Improving Implicit Recommender Systems with View Data

Jingtao Ding, Guanghui Yu, Xiangnan He, Yuhan Quan, Yong Li, Tat-Seng Chua, Depeng Jin, Jiajie Yu

Abstract

Implicit feedback, such as clicks and purchases, is the backbone of modern recommendation engines. However, standard methods often struggle with data sparsity and the ambiguous nature of "view" data. This paper presents VALS (View-enhanced element-wise Alternating Least Squares), a framework that treats views as intermediate signals between purchases and non-interactions. By employing a margin-based pairwise ranking objective and a highly optimized "whole-data" learning algorithm, VALS achieves significant performance improvements—up to 28.4%—on large-scale industrial datasets while maintaining linear scalability.

Introduction

Most recommendation systems rely on implicit feedback because explicit ratings (like stars) are rare. Within implicit feedback, there is a clear hierarchy of intent: a purchase indicates stronger preference than a view, and a view indicates more interest than no interaction at all. Despite this, many existing systems either ignore view data or treat it as a binary label, failing to capture these nuanced relationships.

The "View Dilemma" arises because a view is a positive signal relative to an unseen item but a negative signal relative to a purchased one. Traditional pointwise methods, which assign fixed numerical values to these actions, are often arbitrary. While pairwise ranking methods like Bayesian Personalized Ranking (BPR) are theoretically better suited for this hierarchy, they typically rely on negative sampling, which ignores the vast majority of the user-item matrix and limits accuracy.

Methodology: The VALS Framework

To address these challenges, the authors propose VALS (View-enhanced element-wise Alternating Least Squares). The framework introduces two primary innovations: a view-enhanced ranking objective and a computationally efficient optimization algorithm.

View-enhanced Ranking Objective

VALS moves away from simple labeling. Instead, it utilizes a margin-based pairwise ranking objective that enforces a strict preference hierarchy: Purchased Item > Viewed Item > Non-viewed Item. By introducing tunable margins ($\gamma_1$ and $\gamma_2$), the model learns the relative distance between these engagement levels. This allows the system to recognize that a user's preference for a viewed item sits between a "buy" and an "ignore" without requiring a fixed numerical score.

Fast Learning Algorithm

Optimizing a pairwise objective across every viewed and non-viewed item is computationally expensive, typically $O(N^2)$. VALS overcomes this through a fast learning algorithm that leverages the bilinear structure of Matrix Factorization. By pre-computing and caching specific matrices ($D^q$ and $E^q$) that are independent of individual users, the authors reduce training complexity.

Algorithm 1: The VALS optimization process, showing the iterative updates of user and item factors using cached terms to maintain efficiency.

As shown in the algorithm above, the complexity is reduced to being dependent only on the number of observed interactions rather than the total number of items. This "whole-data" learning approach allows the model to consider the entire user-item matrix—including all missing entries—with the speed of sampling-based methods.

Experimental Results

The model was evaluated on two large-scale e-commerce datasets: Beibei (maternal/infant products, ~26M interactions) and Tmall (IJCAI-2015 benchmark, ~1.8M interactions).

Performance and Sensitivity

VALS consistently outperformed state-of-the-art baselines like eALS and BPR by 10% to 28.4% on average. The gains were particularly dramatic on the Tmall dataset, where Hit Ratio (HR) and NDCG improved by over 133% and 116%, respectively.

Performance sensitivity of VALS on Beibei and Tmall datasets across different margin values ($\gamma$) and confidence weights ($c_0$).

The results in the figure above highlight the importance of the margin parameter ($\gamma$). Performance typically peaks at specific margin values, confirming that the "distance" between different interaction types is a critical factor in recommendation quality. Furthermore, the sensitivity to $c_0$ (the weight of unobserved items) demonstrates that learning from the "whole data" provides a significant advantage over sampling.

Conclusion and Future Work

VALS demonstrates that incorporating view data through a pairwise ranking lens significantly improves recommendation accuracy without sacrificing scalability. The "aha moment" of the research is that the exact value of a view is less important than its relative position in the preference hierarchy.

Future work includes extending VALS to incorporate content features (e.g., item descriptions) via Neural Factorization Machines and exploring its application in the final "re-ranking" stage of production pipelines. While the current implementation is highly efficient, further research into fully parallelizing item vector updates could unlock even greater speeds for massive industrial deployments.

Summary updated

BibTeX
@inproceedings{ding2018improving,
  author = {Jingtao Ding and Guanghui Yu and Xiangnan He and Yuhan Quan and Yong Li and Tat-Seng Chua and Depeng Jin and Jiajie Yu},
  title = {{Improving Implicit Recommender Systems with View Data}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/464},
}
Figure