Sequential Recommendation with User Causal Behavior Discovery

Zhenlei Wang, Xu Chen, Rui Zhou, Quanyu Dai, Zhenhua Dong, Ji-Rong Wen

TL;DR

This paper introduces "Causer," a novel framework that enhances sequential recommendation by incorporating causal discovery. By learning a causal graph of user behaviors, Causer can filter out spurious correlations and focus on true causal relationships, leading to improved recommendation accuracy and more interpretable explanations.

What Problem Does This Paper Address?

Traditional sequential recommendation models often rely on item co-occurrences to infer relationships. However, these co-occurrences can be misleading, capturing spurious correlations (e.g., buying paper and ink because you bought a printer) rather than true causal links (e.g., buying a printer causes you to need ink). This can lead to suboptimal recommendations and explanations that lack genuine insight. The paper aims to bridge this gap by explicitly modeling causal relationships between user behaviors to improve both recommendation performance and explainability.

Methods

The core innovation is the integration of a causal discovery module into sequential recommendation. The authors propose a framework called "Causer" that:

  • Learns a Causal Graph: Instead of relying on pre-defined causal relationships, Causer learns a causal graph from observational data. This graph is regularized to be directed and acyclic (DAG) to adhere to causality principles.
  • Cluster-Level Causal Graph: To handle the large number of items in recommender systems, the causal graph is defined at the cluster level rather than the item level. Items are first represented as mixtures of latent clusters using an encoder-decoder architecture. This significantly enhances scalability and robustness.
  • Causal Filtering: The learned causal graph is used to filter "causally irrelevant" history information before it's fed into the sequential recommender model (e.g., LSTM or GRU). This purification step aims to provide a cleaner, more focused representation of user behavior.
  • Theoretical Guarantees: The paper provides theoretical analysis on the identifiability of the learned causal graph, ensuring that it can be reliably recovered under certain assumptions.

Datasets

The experiments were conducted on several real-world datasets:

  • Epinions (user ratings and reviews)
  • Foursquare (location-based check-ins)
  • Amazon datasets: Baby, Patio, and Video (e-commerce purchase records)

Additionally, the authors created a new dataset by manually labeling causal relationships between items for evaluating the model's explainability.

Key Insights and Ideas

  • Causality is Key for Robustness: User behavior is inherently causal. Ignoring this can lead to recommendations based on coincidental co-occurrences, which are less stable and interpretable than true causal links.
  • Scalability through Clustering: Directly learning item-level causal graphs is computationally prohibitive. By moving to a cluster-level representation, the authors achieve a scalable solution that still captures meaningful relationships.
  • Causal Filtering Improves Recommendations: Removing spurious correlations from user history leads to a more accurate understanding of user intent, directly boosting recommendation performance.
  • Causality Enhances Explainability: Explanations based on causal links are more intuitive and trustworthy than those based solely on attention or co-occurrence.

Key Results

  • Performance Improvement: Causer achieved state-of-the-art results on all tested datasets and metrics. On average, it improved F₁ by 6.1% and NDCG by 11.3% compared to the best baselines.
  • Ablation Studies: Removing specific components like clustering, reconstruction loss, or attention mechanism led to performance degradation, highlighting the importance of each design choice. Notably, removing the causal graph component significantly lowered performance.
  • Explainability Evaluation: Quantitative and qualitative analyses showed that Causer provided more accurate and intuitive explanations compared to models relying solely on attention or causal discovery without attention.

Limitations and Future Work

  • Static Causal Graph: The current model assumes a static causal graph, which may not capture evolving user preferences. Future work could explore dynamic causal graphs.
  • Unobserved Confounders: The model doesn't explicitly account for unobserved factors that might influence causal relationships. Modeling latent confounders is a suggested future direction.
  • One-to-One Causal Relations: The current framework primarily captures one-to-one causal relationships. Extending it to handle multi-to-one, one-to-multi, and multi-to-multi causal relations is a promising avenue.

Summary updated

BibTeX
@inproceedings{wang2023sequential,
  author = {Zhenlei Wang and Xu Chen and Rui Zhou and Quanyu Dai and Zhenhua Dong and Ji-Rong Wen},
  title = {{Sequential Recommendation with User Causal Behavior Discovery}},
  booktitle = {ICDE},
  year = {2023},
  url = {https://openreview.net/forum?id=E3sRPUO8qiO},
}
Figure