Unbiased Learning for the Causal Effect of Recommendation

Masahiro Sato, Sho Takemori, Janmajay Singh, Tomoko Ohkuma · DOI

Abstract

Increasing users' positive interactions, such as purchases or clicks, is an important objective of recommender systems. Recommenders typically aim to select items that users will interact with. If the recommended items are purchased, an increase in sales is expected. However, the items could have been purchased even without recommendation. Thus, we want to recommend items that results in purchases caused by recommendation. This can be formulated as a ranking problem in terms of the causal effect. Despite its importance, this problem has not been well explored in the related research. It is challenging because the ground truth of causal effect is unobservable, and estimating the causal effect is prone to the bias arising from currently deployed recommenders. This paper proposes an unbiased learning framework for the causal effect of recommendation. Based on the inverse propensity scoring technique, the proposed framework first constructs unbiased estimators for ranking metrics. Then, it conducts empirical risk minimization on the estimators with propensity capping, which reduces variance under finite training samples. Based on the framework, we develop an unbiased learning method for the causal effect extension of a ranking metric. We theoretically analyze the unbiasedness of the proposed method and empirically demonstrate that the proposed method outperforms other biased learning methods in various settings.

Introduction: Moving Beyond Clicks

In the world of recommender systems, the gold standard has long been predicting user interaction. If a model can predict that you are 90% likely to click on a specific pair of shoes, it’s considered a "good" model. But there is a hidden flaw in this logic: what if you were going to buy those shoes anyway, even without the recommendation?

This research tackles this exact problem by shifting the focus from predicting simple interactions to predicting the causal effect—the actual "uplift" or change in behavior triggered specifically by the recommendation. The goal is to optimize for recommendations that drive incremental value rather than just capturing existing intent.

The Confounding Challenge

The core challenge in estimating causal effects is twofold. First, the "Fundamental Problem of Causal Inference" states that we can never observe the counterfactual; we cannot see what a user would have done both with and without a recommendation at the same moment. Second, historical data is often plagued by confounding bias.

Causal diagrams illustrating the difference between selection bias and confounding in recommendation systems.

As illustrated in Figure 1, while previous research focused on selection bias (missing data), this work addresses confounding, where common causes (like user features $X_u$ or item features $X_i$) influence both the recommendation assignment ($Z_{ui}$) and the outcome ($Y_{ui}$). If a system previously only recommended popular items, the data suggests those are the only items users like, creating a feedback loop that obscures the true causal impact of the recommendation itself.

Methodology: Unbiased Causal Ranking

The authors bridge the gap between causal inference and "learning to rank" (LTR) by redefining standard metrics to account for the causal effect ($\tau$).

Notation and definitions for the causal recommendation framework.

Key technical contributions include:

  • Unbiased IPS Estimators: Using Inverse Propensity Scoring (IPS), the framework weights observed interactions by the inverse of the probability that the item was recommended (the "propensity," $P_{ui}$). This creates an unbiased estimate of ranking metrics despite the unobservable nature of the true causal effect.
  • Propensity Capping: To address the high variance associated with small propensities, the authors introduce a capping threshold. This trades a small amount of bias for a significant reduction in variance, stabilizing the training process.
  • The DLCE Algorithm: The proposed Debiased Learning for Causal Effect (DLCE) method derives a differentiable upper bound for the Causal Average Rank, allowing for optimization via Stochastic Gradient Descent (SGD).

Experimental Results

Evaluation was conducted using semi-synthetic datasets based on the Dunnhumby retail dataset, which allowed for "ground truth" causal effects to be modeled. The researchers tested the model on both category-level and product-level data (over 11,000 items).

The DLCE method consistently outperformed biased baselines, such as ULBPR. Notably, DLCE showed the most significant gains in "Personalized" settings where the training data was highly biased toward existing user preferences. This demonstrates the model's ability to "see through" historical bias to identify true causal drivers. Furthermore, the method proved robust even when propensity scores were slightly misspecified, a vital trait for real-world application.

Conclusion

This work provides a robust framework for moving recommendation systems toward true value creation. By focusing on uplift rather than just interaction, and by providing a mathematically sound way to de-bias historical data, the DLCE framework offers a path toward more effective and efficient recommendation strategies. Future work may explore "doubly robust" estimators to further refine accuracy and reduce variance.

Summary updated

BibTeX
@inproceedings{sato2020unbiased,
  author = {Masahiro Sato and Sho Takemori and Janmajay Singh and Tomoko Ohkuma},
  title = {{Unbiased Learning for the Causal Effect of Recommendation}},
  booktitle = {RecSys},
  year = {2020},
  url = {https://openreview.net/forum?id=3C82zUkFUt},
}
Figure