LazUnirec: Unifying Retrieval and Ranking in Multi-scenario Industrial Recommendation
Modern industrial recommendation systems typically divide retrieval and ranking into two separate cascaded stages, leading to inconsistent optimization objectives, redundant encoding of user sequences, and a waste of computational resources. Previous efforts have investigated using Transformers to model both retrieval and ranking simultaneously. However, these studies still face two major limitations: (1) Since retrieval and ranking share a single Transformer backbone, the gradient conflict arises when the gradient directions of the two tasks are inconsistent. (2) When gradient conflict occurs, the model cannot determine a reliable direction for gradient updates. To this end, we propose a Unified Retrieval and Ranking approach for Multi-scenario Industrial Recommendation, termed as LazUnirec. Specifically, we construct task-shared and task-private parameters on the Transformer backbone to mitigate the gradient conflict. Wherein, for the attention components, we propose LoRA-modulated attention, enabling retrieval and ranking to share attention parameters while preserving task-private parameters. For the feed-forward networks (FFN), we present task-adaptive sparse mixture-of-experts (MoE) to mitigate gradient conflict by constructing task-shared and task-private experts. Moreover, we propose an uncertainty estimation that evaluates the gradient reliability of the retrieval and ranking, thereby guiding the model toward a more reliable gradient update direction when gradient conflict occurs. In addition, knowledge distillation from ranking to retrieval further enables cross-task knowledge transfer. Extensive offline experiments and online A/B testing demonstrate the effectiveness and superiority of LazUnirec. LazUnirec has been deployed in online multi-scenario industrial recommendation system and currently delivers significant gains for the platform.
Authors
- Shichao Nie
- Xurong Li (ORCID: https://orcid.org/0000-0003-3770-723X)
- Jinyuan Dang
- Tao Luo (ORCID: https://orcid.org/0009-0009-5374-4226)
- Ziyue Guo (ORCID: https://orcid.org/0000-0003-3368-1482)
- Jianan Yan
- Zhanming Ou
- Xiaoyi Zeng
- Junfeng Zhang
- Xinxin Xu
- Yiming Liu
- Xiaodong Li
Publication Details
- Journal
- arXiv
- Published
- 2026-11-24
- DOI
- https://doi.org/10.48550/arxiv.2611.32590
- Primary Topic
- Recommender Systems and Techniques
- Type
- preprint