重新思考基于ANN的检索:用于大规模推荐系统的多维可学习索引
Rethinking ANN-based Retrieval: Multifaceted Learnable Index for Large-scale Recommendation System
AI总结:
本文提出MFLI,一种通过统一框架学习多维嵌入和索引的实时检索方法,有效提升推荐系统中召回率、冷内容交付和语义相关性。
摘要:
近似最近邻(ANN)搜索在大规模推荐系统的检索阶段被广泛应用。在该阶段,候选物品使用其学习的嵌入向量进行索引,并为每个用户(或物品)查询执行ANN搜索以检索一组相关物品。然而,基于ANN的检索有两个关键限制。首先,物品嵌入及其索引通常是单独阶段学习的:索引通常在嵌入训练之后离线执行,这可能导致检索质量不佳,尤其是对于新创建的物品。其次,尽管ANN提供的是亚线性查询时间,但仍然必须为每个请求运行,这在行业规模上会造成显著的计算成本。在本文中,我们提出了多维可学习索引(MFLI),一种可扩展、实时的检索范式,它在统一的框架中学习多维物品嵌入和索引,从而消除在服务时的ANN搜索。具体而言,我们通过残差量化物品嵌入构建了一个多维分层代码本,并与嵌入一起共同训练代码本。我们进一步引入了高效的多维索引结构和机制,以支持实时更新。在服务时,学习的分层索引直接用于识别相关物品,从而完全避免ANN搜索。在具有数十亿用户的现实数据上进行的大量实验表明,与先前最先进的方法相比,MFLI在参与任务的召回率上提高了高达11.8%,冷内容交付提高了高达57.29%,语义相关性提高了13.5%。我们还部署了MFLI到系统中,并报告了在线实验结果,显示了改进的参与度、较少的流行偏差和更高的服务效率。
英文摘要:
Approximate nearest neighbor (ANN) search is widely used in the retrieval stage of large-scale recommendation systems. In this stage, candidate items are indexed using their learned embedding vectors, and ANN search is executed for each user (or item) query to retrieve a set of relevant items. However, ANN-based retrieval has two key limitations. First, item embeddings and their indices are typically learned in separate stages: indexing is often performed offline after embeddings are trained, which can yield suboptimal retrieval quality-especially for newly created items. Second, although ANN offers sublinear query time, it must still be run for every request, incurring substantial computation cost at industry scale. In this paper, we propose MultiFaceted Learnable Index (MFLI), a scalable, real-time retrieval paradigm that learns multifaceted item embeddings and indices within a unified framework and eliminates ANN search at serving time. Specifically, we construct a multifaceted hierarchical codebook via residual quantization of item embeddings and co-train the codebook with the embeddings. We further introduce an efficient multifaceted indexing structure and mechanisms that support real-time updates. At serving time, the learned hierarchical indices are used directly to identify relevant items, avoiding ANN search altogether. Extensive experiments on real-world data with billions of users show that MFLI improves recall on engagement tasks by up to 11.8\%, cold-content delivery by up to 57.29\%, and semantic relevance by 13.5\% compared with prior state-of-the-art methods. We also deploy MFLI in the system and report online experimental results demonstrating improved engagement, less popularity bias, and higher serving efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。