Robust Cost-Sensitive Learning for Recommendation with Implicit Feedback

Peng Yang, Peilin Zhao, Yong Liu, Xin Gao

Recommender systems are the silent engines behind our digital lives, suggesting everything from the next movie we watch to the next product we buy. However, most of the data these systems rely on is "implicit feedback"—clicks, views, or purchases—which is notoriously messy. In this paper, researchers from Nanyang Technological University and other institutions propose a new framework called CSRR (Robust Cost-Sensitive Learning for Recommendation) to tackle the dual challenges of noisy data and extreme class imbalance.

TL;DR

The authors introduce CSRR, a framework that decomposes the user-item matrix into a low-rank component (common preferences) and a sparse component (individual quirks/outliers). By combining this "robust" decomposition with cost-sensitive learning, the model effectively handles the massive imbalance between rare positive clicks and the sea of unlabeled data, significantly outperforming existing state-of-the-art methods.

What Problem Does This Paper Address?

Implicit feedback is the most common scenario in recommendation, but it presents two major hurdles:

  1. Class Imbalance: In a typical user-item matrix, "positives" (like a purchase) are extremely rare. Most entries are zeros, which represent a mix of "I don't like this" and "I haven't seen this yet." Traditional models often struggle to find the needle in this haystack.
  2. The Rigid Low-Rank Assumption: Most collaborative filtering models assume the user-item matrix is "low-rank," meaning user behavior can be explained by a few latent factors. In reality, users have unique, specific preferences (outliers) that don't fit the general mold. Forcing these into a low-rank model creates noise and degrades performance.

Existing algorithms usually tackle one of these problems but fail at the other. This paper aims to solve both simultaneously.

Methods

The core of the CSRR framework is a two-pronged strategy:

  • Robust Matrix Decomposition: Instead of forcing the entire user-item matrix into a low-rank space, the authors decompose it into $X = U + V$.
  • $U$ (Low-Rank): Captures the "wisdom of the crowd"—common preferences shared among similar users.
  • $V$ (Sparse): Captures "personalized traits"—individual user preferences or outliers that deviate from the norm.
  • Cost-Sensitive Learning: To address class imbalance, the model doesn't treat all errors equally. It imposes a higher penalty for "false negatives" (missing a potential positive item) than for "false positives." This is achieved by embedding a cost-sensitive loss function directly into the optimization objective.
  • Efficient Optimization: The authors use an Accelerated Projected Gradient (APG) method to solve the resulting non-smooth convex objective. For massive datasets where standard Singular Value Decomposition (SVD) is too slow, they introduce CSRR-e, which uses bilinear factorization to maintain efficiency without sacrificing much accuracy.

Datasets

The researchers evaluated their model on three widely used benchmark datasets:

  • MovieLens-100K: 100,000 ratings from 943 users on 1,682 movies.
  • MovieLens-1M: ~1 million ratings from 6,039 users on 3,628 movies.
  • EachMovie: ~2.8 million ratings from 61,265 users on 1,623 movies.

To simulate implicit feedback, they treated ratings higher than 3 as "observed positives" (1s) and everything else as unlabeled (0s).

Key Insights and Ideas

  • The Power of "V": One of the biggest "aha" moments is the realization that outliers aren't just noise to be ignored; they are often the signal of a user's unique taste. By explicitly modeling the sparse component ($V$), the low-rank component ($U$) becomes much cleaner and more reliable.
  • Theoretical Soundness: The authors provide a theoretical bound showing that the expected cost of the model is upper-bounded by $O(\alpha/\sqrt{mn})$. This means that even with very few observed positives, the model remains stable and accurate as the dataset grows.
  • Cost-Sensitivity is Key: The experiments show that treating unobserved data as purely negative (the standard approach) significantly harms performance. Adjusting the "bias" ($\alpha$) to favor the minority positive class is essential for real-world recommendation.

Key Results

CSRR consistently outperformed state-of-the-art baselines like BPRMF (Bayesian Personalized Ranking) and WRMF (Weighted Regularized Matrix Factorization) across multiple metrics:

  • Accuracy Boost: On the MovieLens-100K dataset, CSRR-I improved the NDCG@5 (a measure of ranking quality) by approximately 17.2% over BPRMF and 4.03% over MC-Shift.
  • Robustness: The "ablation study" (removing the $V$ component) showed a clear degradation in performance, proving that the robust decomposition is doing heavy lifting.
  • Scalability: The "e" version of the algorithm (CSRR-e) proved capable of handling the larger EachMovie dataset while maintaining competitive accuracy, showing the framework can scale to industry-sized problems.

Limitations and Future Work

While robust, the basic CSRR algorithm relies on SVD, which can be computationally expensive for very large matrices (though the authors mitigated this with the bilinear factorization in CSRR-e).

The authors suggest several promising directions for future research:

  • Applying robust cost-sensitive learning to online graph classification.
  • Exploring applications in bioinformatics, such as the disease-gene identification problem.
  • Further refining the automated tuning of the cost-sensitive bias ($\alpha$), which currently requires cross-validation.

Summary updated

BibTeX
@inproceedings{yang2018robust,
  author = {Peng Yang and Peilin Zhao and Yong Liu and Xin Gao},
  title = {{Robust Cost-Sensitive Learning for Recommendation with Implicit Feedback}},
  booktitle = {SDM},
  year = {2018},
  doi = {10.1137/1.9781611975321.70},
}

Loading related content...

Figure