KuaiFormer: Transformer-Based Retrieval at Kuaishou
Not on the map. Why?
Abstract (arXiv)
In large-scale content recommendation systems, retrieval serves as the initial stage in the pipeline, responsible for selecting thousands of candidate items from billions of options to pass on to ranking modules. Traditionally, the dominant retrieval method has been Embedding-Based Retrieval (EBR) using a Deep Neural Network (DNN) dual-tower structure. However, applying transformer in retrieval tasks has been the focus of recent research, though real-world industrial deployment still presents significant challenges. In this paper, we introduce KuaiFormer, a novel transformer-based retrieval framework deployed in a large-scale content recommendation system. KuaiFormer fundamentally redefines the retrieval process by shifting from conventional score estimation tasks (such as click-through rate estimate) to a transformer-driven Next Action Prediction paradigm. This shift enables more effective real-time interest acquisition and multi-interest extraction, significantly enhancing retrieval performance. KuaiFormer has been successfully integrated into Kuaishou App's short-video recommendation system since May 2024, serving over 400 million daily active users and resulting in a marked increase in average daily usage time of Kuaishou users. We provide insights into both the technical and business aspects of deploying transformer in large-scale recommendation systems, addressing practical challenges encountered during industrial implementation. Our findings offer valuable guidance for engineers and researchers aiming to leverage transformer models to optimize large-scale content recommendation systems.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 16 of its 38 references that are in the map. First posted on arXiv 15 Nov 2024.
Builds on
16 of 38 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
- 2019When Does Label Smoothing Help?cited by 988
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
- 2022On The Computational Complexity of Self-Attentioncited by 139
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
4 more
- 2022PinnerFormer: Sequence Modeling for User Representation at Pinterestcited by 57
- 2020Large Scale Product Graph Construction for Recommendation in E-commercecited by 28
- 2024DimeRec: A Unified Framework for Enhanced Sequential Recommendation via Generative Diffusion Modelscited by 22
- 2019Accelerating Large-Scale Inference with Anisotropic Vector Quantizationcited by 9
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 4.
6 papers.
- 2025GR-LLMs: Recent Advances in Generative Recommendation Based on Large Language Modelscited by 3
- 2026PROMISE: Process Reward Models Unlock Test-Time Scaling Laws in Generative Recommendationscited by 2
- 2024CRM: Retrieval Model with Controllable Conditioncited by 1
- 2026Efficient Sequential Recommendation for Long Term User Interest Via Personalizationcited by 1
- 2026Learning Variable-Length Tokenization for Generative Recommendationcited by 1
- 2026Real-Time Hard Negative Sampling via LLM-based Clustering for Large-Scale Two-Tower Retrievalcited by 0
- 2026Real-Time Hard Negative Sampling via LLM-based Clustering for Large-Scale Two-Tower Retrieval1 Jul 2026
- 2026Learning Variable-Length Tokenization for Generative Recommendation18 May 2026
- 2026PROMISE: Process Reward Models Unlock Test-Time Scaling Laws in Generative Recommendations8 Jan 2026
- 2026Efficient Sequential Recommendation for Long Term User Interest Via Personalization7 Jan 2026
- 2025GR-LLMs: Recent Advances in Generative Recommendation Based on Large Language Models9 Jul 2025
- 2024CRM: Retrieval Model with Controllable Condition18 Dec 2024