Recent advances in multimodal retrieval-augmented generation (RAG) have increased the demand for efficient out-of-distribution (OOD) vector search, in which query and base vectors follow different distributions. Mainstream graph-based indexes perform well for in-distribution (ID) queries but often require substantially more distance computations for OOD queries to achieve the same recall. Although existing OOD methods use sampled queries to improve graph construction, searches still need to examine many candidates. In this paper, we propose Matrix, a graph-based index that learns how to adjust distances during graph construction. Specifically, we derive a unique symmetric positive definite matrix that matches the second moments of distance differences for transformed base vectors and OOD queries. We also prove that paired transformations preserve the original query distances during graph repair. To further improve search efficiency, we learn a binary tree from sampled OOD queries and their nearest neighbors to quickly select suitable entry vertices. Extensive experiments on four real-world OOD datasets show that, at matched Recall@10, Matrix achieves up to 2.97x the throughput of the fastest state-of-the-art OOD index and up to 43% fewer distance computations than the baseline with the lowest count, while maintaining a modest index cost.


翻译:暂无翻译

0
下载
关闭预览

相关内容

【ICML2024】揭示Graph Transformers 中的过全局化问题
专知会员服务
21+阅读 · 2024年5月27日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
【SIGGRAPH2019】TensorFlow 2.0深度学习计算机图形学应用
专知会员服务
41+阅读 · 2019年10月9日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
读书报告 | Deep Learning for Extreme Multi-label Text Classification
科技创新与创业
48+阅读 · 2018年1月10日
国家自然科学基金
5+阅读 · 2017年12月31日
国家自然科学基金
1+阅读 · 2016年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
Arxiv
13+阅读 · 2021年10月22日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关基金
国家自然科学基金
5+阅读 · 2017年12月31日
国家自然科学基金
1+阅读 · 2016年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员