π€ AI Summary
Diffusion models suffer from inaccurate user preference modeling in sequential recommendation due to bidirectional noise perturbations in both forward and reverse processes. To address this, we propose FMRecβthe first framework to introduce Flow Matching (FM) into sequential recommendation. Our key contributions are: (1) a straight-line flow trajectory design coupled with a task-specific flow matching loss; (2) integration of a forward reconstruction loss to enhance robustness against noise; and (3) replacement of stochastic sampling with a deterministic ODE-based backward generator to improve recommendation consistency. Extensive experiments on four benchmark datasets demonstrate that FMRec consistently outperforms state-of-the-art methods by an average of 6.53% in top-K recommendation metrics. The implementation is publicly available.
π 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.