Proceedings

Flow Matching Based Sequential Recommender Model

Download BibTeX Cite

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

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

Abstract

Generative models, particularly diffusion model, have emerged as powerful tools for sequential recommendation. However, accurately modeling user preferences remains challenging due to the noise perturbations inherent in the forward and reverse processes of diffusion-based methods. Towards this end, this study introduces FMRec, a Flow Matching based model that employs a straight flow trajectory and a modified loss tailored for the recommendation task. Additionally, from the diffusion-model perspective, we integrate a reconstruction loss to improve robustness against noise perturbations, thereby retaining user preferences during the forward process. In the reverse process, we employ a deterministic reverse sampler, specifically an ODE-based updating function, to eliminate unnecessary randomness, thereby ensuring that the generated recommendations closely align with user needs. Extensive evaluations on four benchmark datasets reveal that FMRec achieves an average improvement of 6.53% over state-of-the-art methods. The replication code is available at https://github.com/FengLiu-1/FMRec.

  1. [de Souza Pereira Moreira et al., 2018] Gabriel de Souza Pereira Moreira, Felipe Ferreira, and Adilson Marques Da Cunha. News session-based recommendations using deep neural networks. In Proceedings of the 3rd workshop on deep learning for recommender systems, pages 15-23, 2018.
  2. [Dervishaj and Cremonesi, 2022] Ervin Dervishaj and Paolo Cremonesi. Gan-based matrix factorization for recom- mender systems. In Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, pages 1373-1381, 2022.
  3. [Donkers et al., 2017] Tim Donkers, Benedikt Loepp, and Jürgen Ziegler. Sequential user-based recurrent neural net- work recommendations. In Proceedings of the eleventh ACM conference on recommender systems, pages 152- 160, 2017.
  4. [Esser et al., 2024] Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boe- sel, et al. Scaling rectified flow transformers for high- resolution image synthesis. In Forty-first International Conference on Machine Learning, 2024.
  5. [Fan et al., 2022] Ziwei Fan, Zhiwei Liu, Yu Wang, Al- ice Wang, Zahra Nazari, Lei Zheng, Hao Peng, and Philip S Yu. Sequential recommendation via stochastic self-attention. In Proceedings of the ACM web conference 2022, pages 2036-2047, 2022.
  6. [Gong et al., 2022] Shansan Gong, Mukai Li, Jiangtao Feng, Zhiyong Wu, and LingPeng Kong. Diffuseq: Sequence to sequence text generation with diffusion models. arXiv preprint arXiv:2210.08933, 2022.
  7. [Guo et al., 2024] Zhiqiang Guo, Guohui Li, Jianjun Li, Chaoyang Wang, and Si Shi. Dualvae: Dual disentangled variational autoencoder for recommendation. In Proceed- ings of the 2024 SIAM International Conference on Data Mining (SDM), pages 571-579. SIAM, 2024.
  8. [Harper and Konstan, 2015] F Maxwell Harper and Joseph A Konstan. The movielens datasets: History and context. Acm transactions on interactive intelligent systems (tiis), 5(4):1-19, 2015.
  9. [Harvey et al., 2022] William Harvey, Saeid Naderiparizi, Vaden Masrani, Christian Weilbach, and Frank Wood. Flexible diffusion modeling of long videos. Advances in Neural Information Processing Systems, 35:27953-27965, 2022.
  10. [Hidasi et al., 2015] Balázs Hidasi, Alexandros Karat- zoglou, Linas Baltrunas, and Domonkos Tikk. Session- based recommendations with recurrent neural networks. arXiv preprint arXiv:1511.06939, 2015.
  11. [Ho et al., 2020] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840-6851, 2020.
  12. [Ho et al., 2022] Jonathan Ho, Tim Salimans, Alexey Grit- senko, William Chan, Mohammad Norouzi, and David J Fleet. Video diffusion models. Advances in Neural Infor- mation Processing Systems, 35:8633-8646, 2022.
  13. [Huang et al., 2024] Hongtao Huang, Chengkai Huang, Xi- aojun Chang, Wen Hu, and Lina Yao. Dual conditional diffusion models for sequential recommendation. arXiv preprint arXiv:2410.21967, 2024.
  14. [Jiangzhou et al., 2024] Deng Jiangzhou, Wang Songli, Ye Jianmei, Ji Lianghao, and Wang Yong. Dgrm: Diffusion-gan recommendation model to alleviate the mode collapse problem in sparse environments. Pattern Recognition, page 110692, 2024.
  15. [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.
  16. [Li et al., 2023] Zihao Li, Aixin Sun, and Chenliang Li. Dif- furec: A diffusion model for sequential recommendation. ACM Transactions on Information Systems, 42(3):1-28, 2023.
  17. [Li et al., 2024a] Nuo Li, Bin Guo, Yan Liu, Yasan Ding, Lina Yao, Xiaopeng Fan, and Zhiwen Yu. Hierarchical constrained variational autoencoder for interaction-sparse recommendations. Information Processing & Manage- ment, 61(3):103641, 2024.
  18. [Li et al., 2024b] Wuchao Li, Rui Huang, Haijun Zhao, Chi Liu, Kai Zheng, Qi Liu, Na Mou, Guorui Zhou, Defu Lian, Yang Song, et al. Dimerec: A unified framework for en- hanced sequential recommendation via generative diffu- sion models. arXiv preprint arXiv:2408.12153, 2024.
  19. [Lipman et al., 2022] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.
  20. [Liu et al., 2022] Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022.
  21. [Liu et al., 2023] Sijia Liu, Jiahao Liu, Hansu Gu, Dong- sheng Li, Tun Lu, Peng Zhang, and Ning Gu. Autoseqrec: Autoencoder for efficient sequential recommendation. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pages 1493- 1502, 2023.
  22. [Nakkiran et al., 2024] Preetum Nakkiran, Arwen Bradley, Hattie Zhou, and Madhu Advani. Step-by-step diffusion: An elementary tutorial. arXiv preprint arXiv:2406.08929, 2024.
  23. [Ni et al., 2019] Jianmo Ni, Jiacheng Li, and Julian McAuley. Justifying recommendations using distantly- labeled reviews and fine-grained aspects. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP- IJCNLP), pages 188-197, 2019.
  24. [Nichol and Dhariwal, 2021] Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion proba- bilistic models. In International conference on machine learning, pages 8162-8171. PMLR, 2021.
  25. [Sedhain et al., 2015] Suvash Sedhain, Aditya Krishna Menon, Scott Sanner, and Lexing Xie. Autorec: Autoen- coders meet collaborative filtering. In Proceedings of the 24th international conference on World Wide Web, pages 111-112, 2015.
  26. [Song et al., 2020] Jiaming Song, Chenlin Meng, and Ste- fano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020.
  27. [Sun et al., 2019] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. Bert4rec: Se- quential recommendation with bidirectional encoder rep- resentations from transformer. In Proceedings of the 28th ACM international conference on information and knowl- edge management, pages 1441-1450, 2019.
  28. [Tang and Wang, 2018] Jiaxi Tang and Ke Wang. Person- alized top-n sequential recommendation via convolutional sequence embedding. In Proceedings of the eleventh ACM international conference on web search and data mining, pages 565-573, 2018.
  29. [Tang et al., 2024] Min Tang, Lixin Zou, Shujie Cui, Shiuan- ni Liang, and Zhe Jin. Unbiased recommendation through invariant representation learning. In Joint European Con- ference on Machine Learning and Knowledge Discovery in Databases, pages 280-296. Springer, 2024.
  30. [Tang et al., 2025] Min Tang, Shujie Cui, Zhe Jin, Shiuan- ni Liang, Chenliang Li, and Lixin Zou. Sequential rec- ommendation by reprogramming pretrained transformer. Information Processing & Management, 62(1):103938, 2025.
  31. [Vaswani, 2017] A Vaswani. Attention is all you need. Ad- vances in Neural Information Processing Systems, 2017.
  32. [Wang et al., 2023] Wenjie Wang, Yiyan Xu, Fuli Feng, Xinyu Lin, Xiangnan He, and Tat-Seng Chua. Diffusion recommender model. In Proceedings of the 46th Interna- tional ACM SIGIR Conference on Research and Develop- ment in Information Retrieval, pages 832-841, 2023.
  33. [Wang et al., 2024] Yu Wang, Zhiwei Liu, Liangwei Yang, and Philip S Yu. Conditional denoising diffusion for se- quential recommendation. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pages 156-169. Springer, 2024.
  34. [Wu et al., 2017] Chao-Yuan Wu, Amr Ahmed, Alex Beu- tel, Alexander J Smola, and How Jing. Recurrent recom- mender networks. In Proceedings of the tenth ACM inter- national conference on web search and data mining, pages 495-503, 2017.
  35. [Wu et al., 2019] Qiong Wu, Yong Liu, Chunyan Miao, Bin- qiang Zhao, Yin Zhao, and Lu Guan. Pd-gan: Adversarial learning for personalized diversity-promoting recommen- dation. In IJCAI, volume 19, pages 3870-3876, 2019. IJCAI
  36. [Wu et al., 2023] Tong Wu, Zhihao Fan, Xiao Liu, Hai-Tao Zheng, Yeyun Gong, Jian Jiao, Juntao Li, Jian Guo, Nan Duan, Weizhu Chen, et al. Ar-diffusion: Auto-regressive diffusion model for text generation. Advances in Neural Information Processing Systems, 36:39957-39974, 2023.
  37. [Xu et al., 2019] Chengfeng Xu, Pengpeng Zhao, Yanchi Liu, Jiajie Xu, Victor S Sheng S. Sheng, Zhiming Cui, Xiaofang Zhou, and Hui Xiong. Recurrent convolutional neural network for sequential recommendation. In The world wide web conference, pages 3398-3404, 2019.
  38. [Yang et al., 2024] Zhengyi Yang, Jiancan Wu, Zhicai Wang, Xiang Wang, Yancheng Yuan, and Xiangnan He. Gener- ate what you prefer: Reshaping sequential recommenda- tion via guided diffusion. Advances in Neural Information Processing Systems, 36, 2024.
  39. [Ye et al., 2023] Yaowen Ye, Lianghao Xia, and Chao Huang. Graph masked autoencoder for sequential recom- mendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Infor- mation Retrieval, pages 321-330, 2023.
  40. [Yu et al., 2024] Pinrui Yu, Dan Luo, Timothy Rupprecht, Lei Lu, Zhenglun Kong, Pu Zhao, Yanyu Li, Octavia Camps, Xue Lin, and Yanzhi Wang. Fastervd: on accel- eration of video diffusion models. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, pages 8838-8842, 2024. IJCAI
  41. [Yu et al., 2025] Qing Yu, Lixin Zou, Xiangyang Luo, Xi- angyu Zhao, and Chenliang Li. Uniform graph pre- training and prompting for transferable recommendation. ACM Transactions on Information Systems, 2025.
  42. [Zou et al., 2019] Lixin Zou, Long Xia, Zhuoye Ding, Ji- axing Song, Weidong Liu, and Dawei Yin. Reinforce- ment learning to optimize long-term user engagement in recommender systems. In Proceedings of the 25th ACM SIGKDD international conference on knowledge discov- ery & data mining, pages 2810-2818, 2019.
  43. [Zou et al., 2020] Lixin Zou, Long Xia, Yulong Gu, Xiangyu Zhao, Weidong Liu, Jimmy Xiangji Huang, and Dawei Yin. Neural interactive collaborative filtering. In Proceed- ings of the 43rd international ACM SIGIR conference on research and development in information retrieval, pages 749-758, 2020.

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

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