Deep Causal Reasoning for Recommendations

Yaochen Zhu, Jing Yi, Jiayi Xie, Zhenzhong ChenACM TIST 2022 · DOI

Abstract

Traditional recommender systems aim to estimate a user's rating to an item based on observed ratings from the population. As with all observational studies, hidden confounders, which are factors that affect both item exposures and user ratings, lead to a systematic bias in the estimation. Consequently, a new trend in recommender system research is to negate the influence of confounders from a causal perspective. Observing that confounders in recommendations are usually shared among items and are therefore multi-cause confounders, we model the recommendation as a multi-cause multi-outcome (MCMO) inference problem. Specifically, to remedy confounding bias, we estimate user-specific latent variables that render the item exposures independent Bernoulli trials. The generative distribution is parameterized by a DNN with factorized logistic likelihood and the intractable posteriors are estimated by variational inference. Controlling these factors as substitute confounders, under mild assumptions, can eliminate the bias incurred by multi-cause confounders. Furthermore, we show that MCMO modeling may lead to high variance due to scarce observations associated with the high-dimensional causal space. Fortunately, we theoretically demonstrate that introducing user features as pre-treatment variables can substantially improve sample efficiency and alleviate overfitting. Empirical studies on simulated and real-world datasets show that the proposed deep causal recommender shows more robustness to unobserved confounders than state-of-the-art causal recommenders.

Introduction: The Challenge of Confounding Bias

In the world of recommender systems, we often assume that a user's rating for a movie is a pure reflection of their taste. However, the reality is messier. Factors like movie genre or popularity act as "hidden confounders," influencing both which movies a user is exposed to and how they eventually rate them. This creates a systematic bias that traditional models struggle to overcome.

An intuitive example of confounding bias where horror movies are under-represented despite user preference, leading to skewed observations.

Standard collaborative filtering assumes ratings are independent of exposure. When they aren't, the model learns a skewed version of user preference. While some causal methods exist, they often rely on "single-cause" assumptions (one factor affecting one item) or shallow models that can't capture the complex, non-linear relationships in modern web-scale data.

Methodology: Deep-Deconf

Deep-Deconf frames recommendation as a multi-cause multi-outcome (MCMO) problem. It operates in two main stages:

1. The Exposure Model (Deconfounding)

The authors observe that most confounders (like genre) are shared across many items. They use a factorized Variational Auto-Encoder (VAE) to learn user-specific latent variables ($z_u$). These variables act as "substitute confounders" that render item exposures conditionally independent. Essentially, it reconstructs the "why" behind what a user was shown.

2. The Outcome Model (Rating Prediction)

A deep neural network predicts the potential ratings. Crucially, it takes three inputs: the item exposures ($a_u$), the inferred substitute confounders ($z_u$), and additional user features ($x_u$) like age or location.

The structure of the outcome prediction model, combining exposures, substitute confounders, and user features.

To handle the high variance that comes with high-dimensional causal spaces (where there are $2^I$ possible exposure combinations), the authors theoretically prove that including user features as "pre-treatment variables" significantly improves sample efficiency and prevents overfitting.

Experimental Evaluation

The authors evaluated Deep-Deconf on three benchmarks: a Simulated Dataset with ground-truth control, and two semi-synthetic datasets, ML-causal (MovieLens-1m) and VG-causal (Amazon-Videogames). In the semi-synthetic cases, VAEs were used to "causalize" real-world data, simulating different strengths of confounding to test model recovery of true preferences.

Key Results

Deep-Deconf consistently outperformed state-of-the-art baselines, including matrix factorization (WMF), inverse propensity weighting (IPW-MF), and previous causal models like Deconf-MF.

  • Robustness: On the ML-causal dataset, Deep-Deconf maintained high Recall@20 and NDCG@20 even as confounding levels increased, whereas traditional models saw significant performance drops.
  • Variance Reduction: Empirical tests showed that adding user features as pre-treatment variables led to a measurable increase in precision and lower variance in rating estimation.

Discussion and Insights

  • The Duality of Multi-Cause Confounders: Confounders are both a "blessing" and a "curse." They provide useful collaborative information but also introduce systematic bias. Performance often peaks at moderate confounding levels where the collaborative signal is strong but the bias hasn't yet overwhelmed the model.
  • Explainable Jacobians: The authors show that the Jacobians (gradients) of their network can be linked to the Conditional Average Treatment Effect (CATE). This provides a mathematical bridge between deep learning weights and causal impact, allowing for better model interpretability.

Conclusion

Deep-Deconf offers a powerful template for moving beyond simple correlation and toward a more principled, causal understanding of user behavior. By combining deep generative modeling for deconfounding with variance-reduction strategies, it achieves more robust and accurate recommendations in the presence of unobserved biases.

Summary updated

BibTeX
@article{zhu2022deep,
  author = {Yaochen Zhu and Jing Yi and Jiayi Xie and Zhenzhong Chen},
  title = {{Deep Causal Reasoning for Recommendations}},
  journal = {ACM Trans. Intell. Syst. Technol.},
  year = {2022},
  doi = {10.1145/3653985},
}
Figure