Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Flow Matching for Collaborative Filtering

About

Generative models have shown great promise in collaborative filtering by capturing the underlying distribution of user interests and preferences. However, existing approaches struggle with inaccurate posterior approximations and misalignment with the discrete nature of recommendation data, limiting their expressiveness and real-world performance. To address these limitations, we propose FlowCF, a novel flow-based recommendation system leveraging flow matching for collaborative filtering. We tailor flow matching to the unique challenges in recommendation through two key innovations: (1) a behavior-guided prior that aligns with user behavior patterns to handle the sparse and heterogeneous user-item interactions, and (2) a discrete flow framework to preserve the binary nature of implicit feedback while maintaining the benefits of flow matching, such as stable training and efficient inference. Extensive experiments demonstrate that FlowCF achieves state-of-the-art recommendation accuracy across various datasets with the fastest inference speed, making it a compelling approach for real-world recommender systems. The code is available at https://github.com/chengkai-liu/FlowCF.

Chengkai Liu, Yangtian Zhang, Jianling Wang, Rex Ying, James Caverlee• 2025

Related benchmarks

TaskDatasetResultRank
Collaborative FilteringYelp 2018 (test)
Recall@206.59
45
Collaborative FilteringYelp 2018
Training Time (s)1.79e+3
12
Collaborative FilteringGowalla
Training Time (s)2.11e+3
12
Collaborative FilteringGowalla (test)
Recall@1011.6
10
Collaborative FilteringAmazon-Book
Training Time (s)3.24e+3
6
Showing 5 of 5 rows

Other info

Follow for update