Causal Analysis Framework for Recommendation

Peng Wu, Haoxuan Li, Yuhao Deng, Wenjie Hu, Quanyu Dai, Zhenhua Dong, Jie Sun, Rui Zhang, Xiao-Hua Zhou

Abstract

Recently, recommender system (RS) based on causal inference has gained much attention in the industrial community, as well as the states of the art performance in many prediction and debiasing tasks. Nevertheless, a unified causal analysis framework has not been established yet. Many causal-based prediction and debiasing studies rarely discuss the causal interpretation of various biases and the rationality of the corresponding causal assumptions. In this paper, we first provide a formal causal analysis framework to survey and unify the existing causal-inspired recommendation methods, which can accommodate different scenarios in RS. Then we propose a new taxonomy and give formal causal definitions of various biases in RS from the perspective of violating the assumptions adopted in causal analysis. Finally, we formalize many debiasing and prediction tasks in RS, and summarize the statistical and machine learning-based causal estimation methods, expecting to provide new research opportunities and perspectives to the causal RS community.

Introduction: The Need for Causal Rigor

Modern recommender systems (RS) are inherently plagued by various biases. Users only interact with a small subset of items (exposure bias), tend to follow popular trends (popularity bias), and are influenced by the presentation order (position bias). While numerous debiasing algorithms have been proposed, they often lack a shared mathematical foundation. This fragmentation makes it difficult to compare models or understand the underlying assumptions that justify their performance.

The core challenge lies in bridging the gap between the "Imaginary World" of counterfactuals—what would happen if we changed the system—and the "Real World" of observational data. This paper addresses this by introducing a unified causal analysis framework based on the Potential Outcome Framework (Rubin Causal Model), transforming recommendation from simple pattern matching into a robust causal discovery process.

A Unified Causal Workflow

The authors propose a structured three-step workflow to guide the development and evaluation of causal RS models. This workflow explicitly separates the conceptual goals from the data-driven estimation.

The Causal Analysis Framework: Bridging the Imaginary and Real Worlds
  1. Define the Causal Estimand: The process begins in the "Imaginary World" by clearly stating the scientific question. Rather than just predicting a click, one might define "uplift"—the change in click probability specifically caused by the recommendation.
  2. Discuss Recoverability (Identifiability): Before touching data, one must determine if the desired causal effect can be calculated from observational data. This requires validating assumptions like Positivity (every user-item pair has a non-zero exposure probability) and Exchangeability (no unmeasured confounders).
  3. Build Models: Only after ensuring identifiability are statistical or machine learning estimators (e.g., Inverse Propensity Scoring or Doubly Robust learners) applied to the "Real World" data to produce results.

Mapping Biases to Causal Assumptions

A significant contribution of this work is the formal mapping of common RS biases to violations of specific causal assumptions. By framing biases as violations of the Potential Outcome Framework, the authors provide a "Rosetta Stone" for the community.

Taxonomy of Biases: Linking RS Biases to Causal Violations

For instance, position bias is re-interpreted as a violation of the Stable Unit Treatment Value Assumption (SUTVA), specifically the "no multiple versions of treatment" clause. Similarly, exposure bias is viewed as a violation of the positivity assumption, where certain user-item interactions have zero probability of being observed in the data.

Formalizing Recommendation Tasks

By adopting this framework, several classic RS problems can be formalized into causal language:

  • Missing Not At Random (MNAR): Re-framed as a selection bias problem where the goal is to estimate the true potential outcome $Y(1)$ using available features $X$.
  • CTR/Uplift Modeling: Defined as the difference between potential outcomes $Y(1) - Y(0)$, representing the true incremental effect of a recommendation.
  • Non-compliance: The paper introduces the concept of the "Exposure-Click-Conversion" chain. A system "treats" a user by showing an item, but the user may not "comply" (click), complicating the measurement of the final conversion effect.

Future Directions

While the framework provides a solid foundation, several frontiers remain for the causal RS community:

  • Data Fusion: Combining small, unbiased experimental data with massive, biased observational datasets.
  • Sequential Dynamics: Moving beyond static snapshots to model how recommendations change user interests over time (feedback loops).
  • Interference: Developing models for social contexts where one user's treatment affects another's outcome, explicitly violating SUTVA.

By unifying these concepts, the paper provides a path forward for more transparent, robust, and theoretically grounded recommender systems.

Summary updated

BibTeX
@inproceedings{wu2022causal,
  author = {Peng Wu and Haoxuan Li and Yuhao Deng and Wenjie Hu and Quanyu Dai and Zhenhua Dong and Jie Sun and Rui Zhang and Xiao-Hua Zhou},
  title = {{Causal Analysis Framework for Recommendation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/787},
}
Figure