KuaiFormer: Transformer-Based Retrieval at Kuaishou

Chi Liu, Jiangxia Cao, Rui Huang, Kai Zheng, Qiang Luo +2 more
11/15/2024
cs.IRcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2024kuaiformer,
  title  = {KuaiFormer: Transformer-Based Retrieval at Kuaishou},
  author = {Chi Liu and Jiangxia Cao and Rui Huang and Kai Zheng and Qiang Luo and Kun Gai and Guorui Zhou},
  year   = {2024},
  eprint = {2411.10057},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.10057v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.10057.svg)](https://codeofpaper.com/paper/2411.10057)

Discussion