Proceedings

Flow-based Time-aware Causal Structure Learning for Sequential Recommendation

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 3498-3506.

https://doi.org/10.24963/ijcai.2025/389

Abstract

Sequential models aim to predict future interactions based on users' historical interaction sequences. Traditional sequential methods primarily focus on capturing intra-historical sequence dependencies, overlooking the influence of unobserved confounders in recommendation scenarios. Recent studies incorporate time as additional information helps the model capture dynamic user preferences. However, time is just the external manifestation of the influence of confounders but not the actual cause of the dynamic of user preference. Additionally, improperly integrating time with item embeddings can obstruct the model's ability to capture sequence dependencies. To address these challenges, we first revisit the sequential recommendation problem from a causal perspective and incorporate confounders as a new task. We propose a new framework—Flow-based Time-aware Causal Structure for Sequential Recommendation (FCSRec)—explicitly incorporating unobserved confounders' influence in the recommendation process. Specifically, we use Normalizing Flows to learn the causal graph of confounders and incorporate time information as conditional info to capture confounders' time-sensitive representations. To balance the influence of confounders and sequence dependencies, we introduce a classifier-free training paradigm by randomly masking the influence of confounders during training to encourage the model to learn both sequence dependencies and confounders' influence equally. We validate FCSRec on manifold real-world datasets, and experimental results show that FCSRec outperforms several state-of-the-art methods in recommendation performance. Our code is available at Code-link.

  1. [Balgi et al., 2022] Sourabh Balgi, Jose M Pena, and Adel Daoud. Personalized public policy analysis in social sci- ences using causal-graphical normalizing flows. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 11810-11818, 2022.
  2. [Chao et al., 2023] Patrick Chao, Patrick Blöbaum, and Shiva Prasad Kasiviswanathan. Interventional and coun- terfactual inference with diffusion models. arXiv preprint arXiv:2302.00860, 4:16, 2023.
  3. [Chen and Li, 2024] Xingming Chen and Qing Li. Causality-driven user modeling for sequential rec- ommendations over time. In Companion Proceedings of the ACM Web Conference 2024, WWW '24, page 1400-1406, New York, NY, USA, 2024. Association for Computing Machinery.
  4. [Dang et al., 2023] Yizhou Dang, Enneng Yang, Guibing Guo, Linying Jiang, Xingwei Wang, Xiaoxiao Xu, Qinghui Sun, and Hong Liu. Uniform sequence bet- ter: time interval aware data augmentation for se- quential recommendation. In Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelli- gence and Thirty-Fifth Conference on Innovative Appli- cations of Artificial Intelligence and Thirteenth Sympo- sium on Educational Advances in Artificial Intelligence, AAAI'23/IAAI'23/EAAI'23. AAAI Press, 2023.
  5. [Hidasi and Karatzoglou, 2018] Balázs Hidasi and Alexan- dros Karatzoglou. Recurrent neural networks with top-k gains for session-based recommendations. In Proceedings of the 27th ACM international conference on information and knowledge management, pages 843-852, 2018.
  6. [Hidasi, 2015] B Hidasi. Session-based recommenda- tions with recurrent neural networks. arXiv preprint arXiv:1511.06939, 2015.
  7. [Ho, 2022] Jonathan Ho. Classifier-free diffusion guidance. ArXiv, abs/2207.12598, 2022.
  8. [Javaloy et al., 2024] Adrián Javaloy, Pablo Sánchez-Martín, and Isabel Valera. Causal normalizing flows: from theory to practice. Advances in Neural Information Processing Systems, 36, 2024.
  9. [Jiang et al., 2023] Yiheng Jiang, Yongjian Yang, Yuanbo Xu, and En Wang. Spatial-temporal interval aware indi- vidual future trajectory prediction. IEEE Transactions on Knowledge and Data Engineering, 2023. Jiang et al., 2024] Yiheng Jiang, Yuanbo Xu, Yongjian Yang, Funing Yang, Pengyang Wang, Chaozhuo Li, Fuzhen Zhuang, and Hui Xiong. Trimlp: A founda- tional mlp-like architecture for sequential recommenda- tion. ACM Trans. Inf. Syst., 42(6), October 2024.
  10. [Kang and McAuley, 2018] Wang-Cheng Kang and Julian McAuley. Self-attentive sequential recommendation. In 2018 IEEE international conference on data mining (ICDM), pages 197-206. IEEE, 2018.
  11. [Kocaoglu et al., 2017] Murat Kocaoglu, Christopher Sny- der, Alexandros G. Dimakis, and Sriram Vishwanath. Causalgan: Learning causal implicit generative models with adversarial training, 2017.
  12. [Li et al., 2020] Jiacheng Li, Yujie Wang, and Julian McAuley. Time interval aware self-attention for sequential recommendation. In Proceedings of the 13th International Conference on Web Search and Data Mining, WSDM '20, page 322-330, New York, NY, USA, 2020. Association for Computing Machinery.
  13. [Nasr-Esfahany et al., 2023] Arash Nasr-Esfahany, Moham- mad Alizadeh, and Devavrat Shah. Counterfactual identifi- ability of bijective causal models. In International Confer- ence on Machine Learning, pages 25733-25754. PMLR, 2023.
  14. [Tillman and Spirtes, 2011] Robert Tillman and Peter Spirtes. Learning equivalence classes of acyclic models with latent and selection variables from multiple datasets with overlapping variables. In Geoffrey Gordon, David Dunson, and Miroslav Dudík, editors, Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, volume 15 of Proceedings of Machine Learning Research, pages 3-15, Fort Lauderdale, FL, USA, 11-13 Apr 2011. PMLR.
  15. [Wang et al., 2022a] En Wang, Yiheng Jiang, Yuanbo Xu, Liang Wang, and Yongjian Yang. Spatial-temporal in- terval aware sequential poi recommendation. In 2022 IEEE 38th international conference on data engineering (ICDE), pages 2086-2098. IEEE, 2022.
  16. [Wang et al., 2022b] En Wang, Yiheng Jiang, Yuanbo Xu, Liang Wang, and Yongjian Yang. Spatial-temporal in- terval aware sequential poi recommendation. In 2022 IEEE 38th international conference on data engineering (ICDE), pages 2086-2098. IEEE, 2022.
  17. [Xia et al., 2022] Kevin Xia, Yushu Pan, and Elias Barein- boim. Neural causal models for counterfactual identifi- cation and estimation. arXiv preprint arXiv:2210.00035, 2022.
  18. [Xie et al., 2022] Xu Xie, Fei Sun, Zhaoyang Liu, Shiwen Wu, Jinyang Gao, Jiandong Zhang, Bolin Ding, and Bin Cui. Contrastive learning for sequential recommendation. In 2022 IEEE 38th International Conference on Data En- gineering (ICDE), pages 1259-1273, 2022.
  19. [Xu et al., 2019] Chengfeng Xu, Pengpeng Zhao, Yanchi Liu, Victor S Sheng, Jiajie Xu, Fuzhen Zhuang, Junhua Fang, and Xiaofang Zhou. Graph contextualized self- attention network for session-based recommendation. In IJCAI, volume 19, pages 3940-3946, 2019.
  20. [Xu et al., 2024] Hangtong Xu, Yuanbo Xu, and Yongjian Yang. Separating and learning latent confounders to en- hancing user preferences modeling. In International Con- ference on Database Systems for Advanced Applications, pages 67-82. Springer, 2024.
  21. [Xu et al., 2025] Hangtong Xu, Yuanbo Xu, Chaozhuo Li, and Fuzhen Zhuang. Causal structure representation learn- ing of unobserved confounders in latent space for recom- mendation. ACM Trans. Inf. Syst., April 2025. Just Ac- cepted.
  22. [Yuan et al., 2019] Fajie Yuan, Alexandros Karatzoglou, Ioannis Arapakis, Joemon M Jose, and Xiangnan He. A simple convolutional generative network for next item rec- ommendation. In Proceedings of the Twelfth ACM Interna- tional Conference on Web Search and Data Mining. ACM, 2019.
  23. [Zhao et al., 2021] Wayne Xin Zhao, Shanlei Mu, Yupeng Hou, Zihan Lin, Yushuo Chen, Xingyu Pan, Kaiyuan Li, Yujie Lu, Hui Wang, Changxin Tian, Yingqian Min, Zhichao Feng, Xinyan Fan, Xu Chen, Pengfei Wang, Wendi Ji, Yaliang Li, Xiaoling Wang, and Ji-Rong Wen. Recbole: Towards a unified, comprehensive and efficient framework for recommendation algorithms. In CIKM, pages 4653-4664. ACM, 2021.
  24. [Zheng et al., 2018] Xun Zheng, Bryon Aragam, Pradeep Ravikumar, and Eric P. Xing. Dags with no tears: Con- tinuous optimization for structure learning, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards