用重排模型分数优化嵌入,实现轻量候选检索。
Relevance-Based Embeddings: Lightweight Candidate Retrieval via Heavy-Ranker Calls
- 用重排模型得分构建查询与项目的新嵌入表示
- 在多个数据集上达到接近全搜索的召回率
- 适合需要高效检索的生产系统使用
在众多机器学习应用中,需高效检索与查询最相关的项目。相关性函数通常为昂贵的相似度模型,导致全量搜索不可行。传统方案是训练一个独立模型,将查询和项目映射到向量空间,通过点积或余弦相似度快速搜索,再由昂贵的重排模型重新排序候选项。本文提出一种替代方法:利用重排模型的得分来改进查询和项目的表征。核心思想是通过查询(项目)对一组支持项目(查询)的相关性来描述其特征,并据此生成新的嵌入表示。理论证明,在适度条件下,此类嵌入可逼近任意复杂相似度模型。同时研究了支持项的选择,这是该方法的关键因素。在多样化的学术与生产数据集上的实验验证了该方法的有效性。
原文摘要 · Abstract (English)
In many machine learning applications, the most relevant items for a query should be efficiently retrieved. The relevance function is usually an expensive similarity model, making the exhaustive search infeasible. A typical solution is to train another model that separately embeds queries and items to a vector space, where similarity is defined via the dot product or cosine similarity. This allows one to search the relevant items through fast approximate nearest neighbor search at the cost of some reduction in quality. To compensate for this reduction, the found items (candidates) are re-ranked by the expensive ranking model. In this paper, we investigate an alternative approach to candidate selection that utilizes the scores of the expensive model to improve the representations of queries and items. The idea is to describe each query (item) by its relevance to a set of support items (queries) and use these new representations to obtain query (item) embeddings. We theoretically prove that such embeddings are powerful enough to approximate any complex similarity model (under mild conditions). We also investigate the choice of support items, which is a crucial ingredient of the proposed approach. The experiments on diverse academic and production datasets illustrate the power of our method.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。