Vector search is now a database operator with many physical implementations. Index families, parameter settings, and compression levels each trade cost against fidelity, the fraction of a query's exact top-k neighbors that a configuration returns. Deployments nevertheless choose one configuration offline and run every query on it. They are sized for their hardest queries and overpay for the rest. On 5.8M LAION image-caption pairs with four embedding models, running each query on the cheapest configuration that suffices for it would roughly halve the cost in a typical setting. Capturing this saving requires predicting, before any search runs, how each configuration will do on a query. This is hard, because fidelity is defined by the exact search that approximate indexes avoid. We show that a query's position in the embedding space predicts it, and that the prediction must be kept per configuration. We study two estimators trained once on a labeled sample. A small neural network maps the query vector to a probability per configuration. A fidelity synopsis records, like an optimizer histogram, how often each configuration met the target in each region of the space. A budget rule turns either estimate into a per-query choice, tuned so that the workload misses the target no more often than a static deployment is allowed to. Against the best static choice among the 11 configurations we built, selection costs a median of 0.59x with the network and 0.70x with the synopsis. An advisor in the style of relational index advisors chooses which configurations to build. Three configurations keep the saving, at a fraction of the memory and labeling cost of the full catalog. Costs are estimated from per-configuration latencies measured with full batches.


翻译:暂无翻译

0
下载
关闭预览

相关内容

WWW24 | 从数据中心化的角度校准图神经网络
专知会员服务
14+阅读 · 2024年9月14日
高级地图匹配算法:研究现状和趋势
专知会员服务
18+阅读 · 2021年10月28日
专知会员服务
17+阅读 · 2021年9月18日
“推荐系统”加上“图神经网络”
机器学习与推荐算法
12+阅读 · 2020年3月23日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
讲透RCNN, Fast-RCNN, Faster-RCNN,将CNN用于目标检测
数据挖掘入门与实战
18+阅读 · 2018年4月20日
国家自然科学基金
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日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
11+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
10+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
6+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关VIP内容
WWW24 | 从数据中心化的角度校准图神经网络
专知会员服务
14+阅读 · 2024年9月14日
高级地图匹配算法:研究现状和趋势
专知会员服务
18+阅读 · 2021年10月28日
专知会员服务
17+阅读 · 2021年9月18日
相关基金
国家自然科学基金
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日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员