GReF: A Unified Generative Framework for Efficient Reranking via Ordered Multi-token Prediction

Zhijie Lin, Zhuofeng Li, Chenglei Dai, Wentian Bao, Shuai Lin, Enyun Yu, Haoxiang Zhang, Liang Zhao · DOI

TL;DR

This paper introduces GReF, a novel unified framework for efficient recommendation reranking. GReF addresses the limitations of traditional two-stage reranking methods by enabling end-to-end training and significantly improving inference speed through an "Ordered Multi-token Prediction" technique, making it suitable for real-time applications.

What Problem Does This Paper Address?

In multi-stage recommendation systems, reranking is a critical step that refines a list of candidate items to improve the final recommendation quality. The core challenge lies in efficiently exploring the vast combinatorial space of possible item orderings (permutations) to find the optimal sequence. Existing approaches often fall into two categories: one-stage methods that score items individually and two-stage methods that use a generator to produce sequences and an evaluator to select the best one.

However, these two-stage methods suffer from two major drawbacks:

  1. Separation of Generator and Evaluator: This separation hinders end-to-end training, leading to increased system complexity, misaligned optimization objectives, and limited generalization.
  2. Inference Efficiency: Autoregressive generators, commonly used in the generation stage, produce items sequentially, resulting in slow inference times that are impractical for real-time recommendation systems with millions of users.

This paper aims to bridge this gap by proposing a unified framework that allows for end-to-end training and efficient inference, making advanced reranking feasible in production environments.

Methods

The proposed framework, GReF, is built around a novel autoregressive model called Gen-Reranker and an efficient training and inference strategy.

  • Gen-Reranker: This model integrates a bidirectional encoder to capture contextual information from candidate items and a dynamic autoregressive decoder. The decoder generates causal reranking sequences. A key innovation is the dynamic matching mechanism, which uses candidate item embeddings as the output vocabulary, effectively limiting the prediction space to the given candidates and avoiding the need to consider the entire item catalog.
  • Pre-training: Gen-Reranker is first pre-trained on large-scale, unlabeled item exposure orders from recommendation systems. This leverages the "world knowledge" embedded in these orders to provide high-quality parameter initialization and enhance generalization, similar to how large language models are pre-trained.
  • Rerank-DPO (Direct Preference Optimization): To address the separation of generator and evaluator and enable end-to-end training, the paper proposes Rerank-DPO. This method adapts the DPO technique from LLMs to construct preference pairs from item exposure orders and user feedback. It then uses these pairs to fine-tune Gen-Reranker, directly integrating user preferences into the model without a separate evaluator.
  • Ordered Multi-token Prediction (OMTP): To tackle the inference efficiency challenge of autoregressive models, OMTP is introduced. Instead of predicting one item at a time, OMTP trains Gen-Reranker to simultaneously generate multiple future items in a single forward pass while preserving their correct order. This significantly reduces latency and makes real-time deployment practical.

Datasets

The paper uses two datasets for evaluation:

  • Avito: A public dataset of user search logs containing millions of lists, users, and ads. The task is to predict item-wise click-through rates.
  • Kuaishou: An industrial dataset collected from the Kuaishou short-video app, featuring millions of users, items, and requests. The task is to predict whether an item is chosen for exposure.

Key Insights and Ideas

  • Unified Framework for End-to-End Training: By integrating generation and evaluation into a single training pipeline (via Rerank-DPO), GReF overcomes the limitations of traditional two-stage methods, leading to better generalization and simpler system architecture.
  • Leveraging Exposure Order for Pre-training: Using readily available item exposure data for pre-training is a smart way to initialize the model with rich contextual information, improving its performance and robustness, especially in data-scarce scenarios.
  • OMTP for Real-time Performance: The development of OMTP is a significant breakthrough. It demonstrates that autoregressive models can achieve near non-autoregressive inference speeds by predicting multiple tokens simultaneously while still maintaining order, which is crucial for sequential recommendation tasks.
  • DPO for Preference Alignment: Adapting DPO for reranking effectively aligns the model with user preferences, enhancing personalization without the need for a separate reward model or complex reinforcement learning setups.

Key Results

  • Performance: GReF consistently outperforms state-of-the-art reranking baselines on both the Avito and Kuaishou datasets in terms of AUC and NDCG. For instance, on Avito, GReF achieved a ~1.5% higher AUC than the next best model.
  • Inference Speed: GReF, with OMTP, achieves inference times comparable to non-autoregressive models. Specifically, it is over 4x faster than Seq2Slate and close to NAR4Rec (12.97 ms vs. 12.67 ms on Kuaishou), while significantly outperforming them in accuracy. Without OMTP, GReF's inference time is much higher (24.29 ms).
  • Online A/B Testing: In real-world deployment on Kuaishou, GReF showed significant improvements across various metrics, including a +0.33% increase in Views, +0.42% in Long Views, +1.19% in Likes, +2.98% in Forwards, and +1.78% in Comments, indicating enhanced user engagement and satisfaction.

Limitations and Future Work

  • Limitations: The paper notes that while OMTP significantly speeds up inference, it still relies on an autoregressive decoder. The performance gains from OMTP are substantial, but further research into even faster generation techniques could be beneficial. The paper also mentions that directly applying DPO on user feedback in a cold-start scenario can lead to training instability, which Rerank-DPO aims to mitigate by leveraging pre-training.
  • Future Work: The authors suggest that future work will focus on further enhancing the capabilities of GReF. This could involve exploring more advanced generative techniques, improving personalization further, and potentially extending the framework to other recommendation tasks.

Summary updated

BibTeX
@inproceedings{lin2025gref,
  author = {Zhijie Lin and Zhuofeng Li and Chenglei Dai and Wentian Bao and Shuai Lin and Enyun Yu and Haoxiang Zhang and Liang Zhao},
  title = {{GReF: A Unified Generative Framework for Efficient Reranking via Ordered Multi-token Prediction}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3761540},
}
Figure