arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.07343cs.DB
收藏

DEG:使用动态边导航图的高效混合向量搜索

DEG: Efficient Hybrid Vector Search Using the Dynamic Edge Navigation Graph

Ziqi Yin, Jianyang Gao, Pasquale Balsebre, Gao Cong, Cheng Long

AI总结:

针对混合向量查询中$α$动态变化导致现有固定$α$索引性能下降的问题,提出动态边导航图(DEG)索引,通过贪心帕累托前沿搜索、动态边剪枝和边种子方法,在$α$变化时保持高效准确,实验验证其性能优于现有方法。

摘要:

图像-文本对这类双模态数据在数字时代日益普遍。混合向量查询(HVQ)是查询此类数据的有效方法,近期受到研究者的广泛关注。它通过两个向量各自相似度的加权和计算双向量表示对象的相似度得分,其中查询特定参数$α$用于确定权重。现有的HVQ方法通常构建具有固定$α$值的近似最近邻搜索(ANNS)索引,当查询的$α$根据不同场景和需求动态变化时,这会导致性能显著下降。在本研究中,我们提出动态边导航图(DEG),这是一种基于图的ANNS索引,能在$α$值变化时保持效率和准确性。它包含三个新组件:(1)贪心帕累托前沿搜索算法,为每个节点计算候选邻居集,该集合包含节点在所有可能$α$值下的近似最近邻;(2)动态边剪枝策略,从候选集中确定最终边并为每条边分配活动范围,该活动范围能基于查询的$α$值动态使用相对邻域图的剪枝策略,在查询时跳过冗余边,实现更好的准确性-效率权衡;(3)边种子方法,加速查询过程。在真实世界数据集上的大量实验表明,在$α$值变化的情况下,DEG相较于现有方法表现出更优的性能。

英文摘要:

Bimodal data, such as image-text pairs, has become increasingly prevalent in the digital era. The Hybrid Vector Query (HVQ) is an effective approach for querying such data and has recently garnered considerable attention from researchers. It calculates similarity scores for objects represented by two vectors using a weighted sum of each individual vector's similarity, with a query-specific parameter $α$ to determine the weight. Existing methods for HVQ typically construct Approximate Nearest Neighbors Search (ANNS) indexes with a fixed $α$ value. This leads to significant performance degradation when the query's $α$ dynamically changes based on the different scenarios and needs. In this study, we introduce the Dynamic Edge Navigation Graph (DEG), a graph-based ANNS index that maintains efficiency and accuracy with changing $α$ values. It includes three novel components: (1) a greedy Pareto frontier search algorithm to compute a candidate neighbor set for each node, which comprises the node's approximate nearest neighbors for all possible $α$ values; (2) a dynamic edge pruning strategy to determine the final edges from the candidate set and assign each edge an active range. This active range enables the dynamic use of the Relative Neighborhood Graph's pruning strategy based on the query's $α$ values, skipping redundant edges at query time and achieving a better accuracy-efficiency trade-off; and (3) an edge seed method that accelerates the querying process. Extensive experiments on real-world datasets show that DEG demonstrates superior performance compared to existing methods under varying $α$ values.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑