JAG通过联合属性图提升过滤最近邻搜索的鲁棒性
JAG: Joint Attribute Graphs for Filtered Nearest Neighbor Search
- 构建联合属性图,用连续距离引导搜索路径
- 在五数据集四滤类型上吞吐量与召回率均超越基线
- 适合需应对未知查询选择性与多样过滤类型的场景
尽管过滤最近邻搜索是现代向量搜索系统中的基础任务,现有算法性能对查询选择性和过滤类型高度敏感。现有方案仅在特定过滤类别(如标签相等)或窄选择性范围(如低选择性预过滤)中表现良好,难以适应实际部署中对新过滤类型和未知选择性的泛化需求。本文提出JAG(联合属性图),一种基于图的算法,旨在实现全选择性范围内的稳健性能,并支持多种过滤类型。核心创新在于引入属性距离与过滤距离,将二值过滤约束转化为连续导航指引。通过构建同时优化向量相似性与属性接近性的邻近图,JAG避免导航死胡同,在各类过滤条件下持续优于现有图基方法。实验在五个数据集和四种过滤类型(标签、范围、子集、布尔)上验证,JAG显著优于现有最先进基线,在吞吐量与召回率鲁棒性方面表现优异。
原文摘要 · Abstract (English)
Despite filtered nearest neighbor search being a fundamental task in modern vector search systems, the performance of existing algorithms is highly sensitive to query selectivity and filter type. In particular, existing solutions excel either at specific filter categories (e.g., label equality) or within narrow selectivity bands (e.g., pre-filtering for low selectivity) and are therefore a poor fit for practical deployments that demand generalization to new filter types and unknown query selectivities. In this paper, we propose JAG (Joint Attribute Graphs), a graph-based algorithm designed to deliver robust performance across the entire selectivity spectrum and support diverse filter types. Our key innovation is the introduction of attribute and filter distances, which transform binary filter constraints into continuous navigational guidance. By constructing a proximity graph that jointly optimizes for both vector similarity and attribute proximity, JAG prevents navigational dead-ends and allows JAG to consistently outperform prior graph-based filtered nearest neighbor search methods. Our experimental results across five datasets and four filter types (Label, Range, Subset, Boolean) demonstrate that JAG significantly outperforms existing state-of-the-art baselines in both throughput and recall robustness.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。