GFlowGR: Fine-tuning Generative Recommendation Frameworks with Generative Flow Networks
Yejing Wang, Shengyu Zhou, Jinyu Lu, Qidong Liu, Xinhang Li, Wenlin Zhang, Feng Li, Pengjie Wang, Jian Xu, Bo Zheng, Xiangyu Zhao
TL;DR
This work tackles exposure bias in generative recommendations by framing fine-tuning as multi-step generation and applying Generative Flow Networks (GFlowNets). It introduces GFlowGR, which combines a four-strategy trajectory sampler, a multi-signal reward model, and DB/TB flow-matching objectives to jointly train LLMs with augmented trajectories and standard next-token supervision. Empirical results across three real datasets and two backbones show consistent improvements over SFT and RL-based baselines, with additional offline and production deployments in Taobao demonstrating practical gains (e.g., increased revenue). The approach advances GR by enabling diverse, high-reward trajectory generation and leveraging collaborative knowledge during training, offering a robust solution to exposure bias in large-scale, real-world recommender systems.
Abstract
Generative recommendations (GR), which usually include item tokenizers and generative Large Language Models (LLMs), have demonstrated remarkable success across a wide range of scenarios. The majority of existing research efforts primarily concentrate on developing powerful item tokenizers or advancing LLM decoding strategies to attain superior performance. However, the critical fine-tuning step in GR frameworks, which is essential for adapting LLMs to recommendation data, remains largely unexplored. Current approaches predominantly rely on either the next-token prediction loss of supervised fine-tuning (SFT) or recommendationspecific direct preference optimization (DPO) strategies. Both methods ignore the exploration of possible positive unobserved samples, which is commonly referred to as the exposure bias problem. To mitigate this problem, this paper treats the GR as a multi-step generation task and constructs a GFlowNets-based fine-tuning framework (GFlowGR). The proposed framework integrates collaborative knowledge from traditional recommender systems to create an adaptive trajectory sampler and a comprehensive reward model. Leveraging the diverse generation property of GFlowNets, along with sampling and heuristic weighting techniques, GFlowGR emerges as a promising approach to mitigate the exposure bias problem. Extensive empirical results on two real-world datasets and with two different GR backbones highlight the effectiveness and robustness of GFlowGR.
