Offline Recommender Learning Meets Unsupervised Domain Adaptation

Yuta Saito

TL;DR

This paper tackles the challenge of building effective recommender systems when user feedback is biased (missing-not-at-random, MNAR). They propose a novel approach that bypasses the need to estimate tricky "propensity scores" by framing the problem as unsupervised domain adaptation and using adversarial learning to minimize a theoretical bound. This leads to better performance in realistic scenarios where true propensities are unknown.

What Problem Does This Paper Address?

Recommender systems often rely on user ratings, but real-world data is rarely complete. The missing ratings aren't random; they're "missing-not-at-random" (MNAR). This bias arises from two main sources: the recommendation policy itself (popular items get more ratings) and user self-selection (users tend to rate items they like). This bias makes it hard to train accurate recommender models.

A common solution is to use "inverse propensity scoring" (IPS), which tries to correct for this bias by weighting observed data based on how likely it was to be observed (the propensity score). However, accurately estimating these propensity scores is difficult, especially when you don't have "missing-completely-at-random" (MCAR) data, which is the ideal but often unavailable scenario. This creates a "propensity contradiction": IPS methods need MCAR data to estimate propensities, but they're supposed to work when only MNAR data is available. This paper aims to resolve this contradiction.

Methods

The core of the paper's contribution lies in two main areas:

  1. Propensity-Independent Generalization Error Bound: They derive a theoretical bound on how well a recommender system will perform. Crucially, this bound does not depend on knowing the true propensity scores. It quantifies the error in terms of the naive loss on observed data and a new "Propensity Matrix Divergence" (PMD) measure, which captures the difference between different missing data mechanisms.
  2. Domain Adversarial Matrix Factorization (DAMF): Based on the theoretical bound, they propose an algorithm that minimizes it. DAMF uses a matrix factorization approach and employs adversarial learning. Specifically, it tries to minimize the naive loss on MNAR data while simultaneously minimizing the PMD between the observed MNAR data and a hypothetical MCAR data distribution. This adversarial process allows the model to learn a robust predictor without needing to estimate propensity scores directly.

Datasets

The authors evaluate their method on two publicly available real-world datasets:

  • Yahoo! R3: Contains five-star user-song ratings. The training data is MNAR, and the test data is MCAR.
  • Coat: Features five-star user-coat ratings. Similar to Yahoo! R3, it has MNAR training data and MCAR test data.

These datasets are notable because they are among the few publicly available that include MCAR test sets, allowing for a direct comparison of methods that require or don't require MCAR data for evaluation.

Key Insights and Ideas

  • The "Propensity Contradiction" is a real problem: The paper clearly articulates why relying on propensity scores is problematic in practice, especially when MCAR data is unavailable.
  • Unsupervised Domain Adaptation (UDA) as a framework: Framing the problem as UDA provides a powerful theoretical lens to address the distributional shift caused by selection bias.
  • Adversarial learning can learn without explicit propensity estimation: DAMF demonstrates that adversarial techniques can implicitly handle the bias without needing to explicitly calculate propensity scores, which are notoriously difficult to estimate accurately.
  • Theoretical bound guides practical algorithm: The derivation of a propensity-independent generalization error bound directly informs the design of the DAMF algorithm, showing a strong link between theory and practice.

Key Results

  • Superior Rating Prediction: DAMF consistently outperformed baseline methods (MF, MF-IPS, MF-DR, CausE) on both Yahoo! R3 and Coat datasets in terms of Mean Squared Error (MSE). For Yahoo! R3, DAMF achieved a significant improvement over MF-IPS and MF-DR (by 26.3% and 26.7% respectively).
  • Robustness to Propensity Estimators: The paper highlights that propensity-based methods (MF-IPS, MF-DR) perform poorly when using estimated propensities from MNAR data, often underperforming even the naive MF method. This empirically validates the "propensity contradiction."
  • Strong Ranking Performance: DAMF also showed superior performance in ranking metrics (NDCG@5, Recall@5) on both datasets, indicating its effectiveness in providing relevant recommendations.
  • Theoretical Bound Minimization: Figure 1 shows that DAMF effectively minimizes both its theoretical upper bound and the ideal loss function during training, supporting the validity of their approach.

Limitations and Future Work

  • Focus on Rating Prediction: The current theoretical framework and algorithm are primarily designed for rating prediction. The authors suggest extending this to develop a corresponding theory for ranking tasks.
  • Offline Evaluation: The current work focuses on offline evaluation. They propose that testing their method in an online experimental setting would further validate its reliability.
  • Hyperparameter Tuning: While they used an adaptive hyperparameter tuning procedure, the performance of DAMF, like any machine learning model, is still dependent on careful hyperparameter selection.

Summary updated

BibTeX
@misc{saito2019offline,
  author = {Yuta Saito},
  title = {{Offline Recommender Learning Meets Unsupervised Domain Adaptation}},
  year = {2019},
  eprint = {1910.07295},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.07295},
}
Figure