GRN: Generative Rerank Network for Context-wise Recommendation

Yufei Feng, Binbin Hu, Yu Gong, Fei Sun, Qingwen Liu, Wenwu OuarXiv 2021

Abstract

Traditional reranking methods in recommendation systems often rely on greedy sorting based on individual item scores, failing to account for the mutual influence between items in the final list. We present the Generative Rerank Network (GRN), a framework that treats reranking as a sequence generation task. By employing a generator-evaluator architecture, GRN models evolving user intent and item-to-item interactions within a cohesive context. Experimental results on large-scale datasets and online A/B tests at Taobao demonstrate significant improvements in user engagement and list diversity.

Introduction

In modern recommendation pipelines, the reranking stage is the final filter that determines the order of items presented to a user. The primary goal is to maximize overall list utility. However, most existing approaches are greedy: they predict scores for items independently (point-wise) or based on a fixed input list (list-wise) and then sort them.

This approach falls into the context-wise trap. An item's attractiveness is not static; it is highly dependent on its neighbors. For instance, a mid-priced product might appear more appealing when placed next to a premium alternative. Greedy algorithms fail because the context used to score an item often differs from the final permutation in which it is placed. GRN addresses this by modeling the mutual influence of all items in the final list simultaneously.

Comparison of traditional greedy list-wise methods versus the proposed context-wise reranking strategy.

Methodology: The Generative Rerank Network

GRN utilizes a two-component architecture inspired by actor-critic reinforcement learning, consisting of an Evaluator and a Generator.

The Evaluator (The Critic)

The Evaluator serves as a simulator of user behavior, predicting the interaction probability of items within a specific context. It employs two key mechanisms:

  • Bi-LSTM: Captures the bidirectional "intent evolution" as a user browses a list.
  • Self-Attention: Models the "mutual influence" between any two items in the list, regardless of their relative positions.

The Generator (The Actor)

The Generator constructs the final recommendation list step-by-step. It uses a Gated Recurrent Unit (GRU) to maintain the state of previously selected items and a Pointer Network with an attention mechanism to select the next item from the candidate pool.

Training via Advantage Reward

The Generator is trained using policy gradient methods. Instead of a simple binary click reward, GRN uses an Advantage Reward composed of:

  1. Self Reward: The predicted probability of the selected item being clicked.
  2. Differential Reward: The change in click probabilities for all other items in the list resulting from the addition of the new item. This explicitly encourages the selection of items that enhance the overall attractiveness of the list (e.g., the "halo effect").
The iterative training loop where the Evaluator guides the Generator via policy gradients.

Experimental Evaluation

The authors evaluated GRN on two datasets:

  • Rec: A massive proprietary dataset from Taobao with over 3 billion records.
  • Ad: A public dataset from Alimama, augmented with distractor items to simulate a reranking environment.

Key Results

  • Offline Performance: GRN significantly outperformed baselines like PRM and Seq2Slate. On the Rec dataset, GRN achieved an AUC of 0.693, compared to 0.630 for PRM.
  • Online Impact: In live A/B testing on Taobao’s "Guess You Like" feature, GRN led to a 5.2% increase in Page Views (PV) and a 6.1% increase in Item Page Views (IPV).
  • Diversity: Qualitative analysis indicates that GRN naturally promotes diversity. Unlike greedy models that might cluster similar high-scoring items, GRN recognizes when a user's interest in a category saturates and introduces variety to "reactivate" engagement.

Implementation and Deployment

To mitigate the latency of complex neural reranking, the Generator was deployed directly on the user's device (EdgeRec). This edge deployment saved approximately 30ms of network latency, making real-time, context-aware reranking feasible for high-traffic applications.

Conclusion and Future Work

GRN shifts the reranking paradigm from independent scoring to holistic sequence generation. By accounting for the dynamic nature of item context and mutual influence, it achieves superior performance and diversity. Future research will explore incorporating long-term rewards, such as multi-day user retention, into the reranking strategy.

Summary updated

BibTeX
@misc{feng2021grn,
  author = {Yufei Feng and Binbin Hu and Yu Gong and Fei Sun and Qingwen Liu and Wenwu Ou},
  title = {{GRN: Generative Rerank Network for Context-wise Recommendation}},
  year = {2021},
  eprint = {2104.00860},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.00860},
}
Figure