PIER: Permutation-Level Interest-Based End-to-End Re-ranking Framework in E-commerce

Xiaowen Shi, Fan Yang, Ze Wang, Xiaoxu Wu, Muzhi Guan, Guogang Liao, Yongkang Wang, Xingxing Wang, Dong WangKDD 2023

Introduction

In modern e-commerce recommendation systems, the final stage of the pipeline—re-ranking—is critical for determining the actual user experience. While retrieval and ranking stages focus on selecting high-quality items, re-ranking is tasked with arranging these items into a "slate" or list. The specific order of items significantly influences user behavior due to the mutual influence between adjacent items, such as price comparisons or visual variety.

Traditional re-ranking methods often suffer from a disconnect between the generation of candidate lists and their subsequent evaluation. The PIER (Permutation-Level Interest-Based End-to-End Re-ranking) framework addresses these limitations by modeling user interest at the permutation level and training the selection and evaluation modules jointly.

The Challenges of Modern Re-ranking

The authors identify three primary hurdles in existing re-ranking architectures:

  1. Evaluation-before-Reranking: Many models predict item scores based on an initial list, but the act of re-ranking changes the context, rendering those initial predictions inaccurate.
  2. Heuristic Mismatch: Two-stage systems often rely on simple heuristics (like beam search) to generate candidates. These heuristics are frequently disconnected from the complex neural models used for final evaluation.
  3. Coarse Context Modeling: Existing models often focus on item-level interactions but fail to capture fine-grained "feature context," such as how specific attributes like price or delivery time compete across the entire list.

The PIER Framework

PIER introduces a two-stage architecture designed for end-to-end optimization, consisting of the Fine-grained Permutation Selection Module (FPSM) and the Omnidirectional Context-aware Prediction Module (OCPM).

Fine-grained Permutation Selection Module (FPSM)

To navigate the massive search space of possible permutations ($N!$), PIER treats permutations as first-class citizens. Instead of building a list item-by-item, FPSM selects candidate permutations based on the user's historical "permutation-level" interest.

The module utilizes SimHash (a locality-sensitive hashing technique) to map permutations into a high-dimensional space. By calculating the Hamming distance between a candidate permutation and the permutations a user has interacted with in the past, the system can efficiently retrieve the top-K most promising slates. This approach allows the model to capture the "vibe" or structure of lists that previously satisfied the user.

Omnidirectional Context-aware Prediction Module (OCPM)

Once the top-K candidates are selected, the OCPM performs a deep evaluation using three specialized units:

  • Omnidirectional Attention Unit (OAU): Unlike standard attention that looks at item embeddings, the OAU captures interactions between specific feature fields. For example, it can explicitly model how the "price" of one item competes with the "delivery fee" of another.
  • Target Attention Unit (TAU): This unit models the relationship between the current candidate slate and the user’s historical behavior, ensuring the list aligns with long-term preferences.
  • Context-aware Prediction Unit (CPU): Finally, the CPU predicts the list-wise Click-Through Rate (pCTR) for each item within the specific context of the permutation.

Joint Training via Contrastive Loss

A key innovation in PIER is the use of a comparative learning loss to bridge the gap between selection and evaluation. During training, the model is penalized if the average pCTR of the selected top-K permutations is not significantly higher than that of unselected permutations. This forces the FPSM generator to learn to identify slates that the OCPM evaluator will actually rank highly, ensuring the two modules work in harmony.

Experimental Results

The framework was validated using both offline datasets and online A/B testing.

Offline Performance

On the Avito search log dataset (36M+ ads) and a massive Meituan industrial dataset (230M+ requests), PIER demonstrated superior performance over state-of-the-art baselines like PRM and Edge-Rerank. It achieved an absolute AUC gain of 0.0189 on Avito and 0.0104 on Meituan.

Online Impact

In a live production environment on Meituan's food delivery platform, PIER delivered significant business impact:

  • CTR: +5.46%
  • GMV (Gross Merchandise Volume): +5.83%

Crucially, the SimHash-based retrieval kept inference latency within approximately 11ms, making it viable for high-traffic real-time applications.

Conclusion

PIER represents a shift from item-centric to permutation-centric re-ranking. By treating the arrangement of items as a cohesive unit and using end-to-end joint training, the framework effectively captures the nuances of user behavior in e-commerce. While challenges remain regarding the cold-start problem for new users and the exploration of the full permutation space, PIER provides a robust foundation for next-generation re-ranking systems.

Summary updated

BibTeX
@inproceedings{shi2023pier,
  author = {Xiaowen Shi and Fan Yang and Ze Wang and Xiaoxu Wu and Muzhi Guan and Guogang Liao and Yongkang Wang and Xingxing Wang and Dong Wang},
  title = {{PIER: Permutation-Level Interest-Based End-to-End Re-ranking Framework in E-commerce}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2023},
}
Figure