效用主义方法用于多样相似性搜索
Welfarist Formulations for Diverse Similarity Search
AI总结:
本文提出基于效用主义的NNS方法,通过适应性平衡相关性与多样性,提升搜索结果的多样性同时保持高相关性。
摘要:
最近邻搜索(NNS)是数据结构中的基本问题,具有广泛的应用,如网络搜索、推荐系统,以及最近的检索增强生成(RAG)。在这些近期应用中,除了返回邻居的相关性(相似性)外,邻居之间的多样性也是核心要求。在本文中,我们开发了NNS中的原则性福利基于公式,以实现属性间的多样性。我们的公式基于数学经济学中的效用函数,这些函数满足中央多样性(公平性)和相关性(经济效率)公理。特别关注纳什社会效用,我们注意到我们的效用基于公式提供了适应性平衡相关性和多样性的目标函数。值得注意的是,这种平衡在以前的约束方法中不存在,该方法强制固定水平的多样性并优化相关性。此外,我们的公式提供了一种参数方法来控制相关性和多样性之间的权衡,为实践者提供了灵活性,以根据任务特定需求定制搜索结果。我们开发了具有可证明保证的高效最近邻算法,用于效用基于目标。值得注意的是,我们的算法可以基于任何标准ANN方法(即使用标准ANN方法作为子程序)来高效找到近似最大化我们效用基于目标的邻居。实验结果表明,我们的方法是实用的,并且在保持检索邻居高相关性的同时显著提高了多样性。
英文摘要:
Nearest Neighbor Search (NNS) is a fundamental problem in data structures with wide-ranging applications, such as web search, recommendation systems, and, more recently, retrieval-augmented generations (RAG). In such recent applications, in addition to the relevance (similarity) of the returned neighbors, diversity among the neighbors is a central requirement. In this paper, we develop principled welfare-based formulations in NNS for realizing diversity across attributes. Our formulations are based on welfare functions -- from mathematical economics -- that satisfy central diversity (fairness) and relevance (economic efficiency) axioms. With a particular focus on Nash social welfare, we note that our welfare-based formulations provide objective functions that adaptively balance relevance and diversity in a query-dependent manner. Notably, such a balance was not present in the prior constraint-based approach, which forced a fixed level of diversity and optimized for relevance. In addition, our formulation provides a parametric way to control the trade-off between relevance and diversity, providing practitioners with flexibility to tailor search results to task-specific requirements. We develop efficient nearest neighbor algorithms with provable guarantees for the welfare-based objectives. Notably, our algorithm can be applied on top of any standard ANN method (i.e., use standard ANN method as a subroutine) to efficiently find neighbors that approximately maximize our welfare-based objectives. Experimental results demonstrate that our approach is practical and substantially improves diversity while maintaining high relevance of the retrieved neighbors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。