Approximate nearest neighbor (ANN) search is increasingly used to power retrieval-augmented generation (a.k.a. RAG) pipelines, which are used to ground LLMs in external data. To keep retrieval accurate, existing methods set the search effort of a query before it runs, with the goal of hitting a predefined "recall target" at any cost. For a growing class of compute- or time-constrained workloads, this is not possible. Instead, their goal is to maximize recall under a fixed budget. Recall gains are known to diminish with search effort, and spending a budget uniformly across a query workload either (i) overspends effort on easy queries whose recall has flattened, or (ii) underspends it on hard queries whose recall is climbing. Adaptive methods, meanwhile, remain tied to recall targets. Either way, downstream tasks that operate under tight budgets suffer. This paper presents the Learned Effort BuDGEting for Recall (a.k.a. Ledger) framework, which maximizes the total recall of a workload under a fixed budget of effort. Given a batch of queries, Ledger first executes a "probe" up to the sparse upper layer of a hierarchical graph (e.g., HNSW), where a sample of features tells us how hard a query is. Ledger then groups the queries with similar hardness feature points into hierarchical spherical clusters that are indexed by the Budget-Allocation tree, a.k.a. Ball-tree. The Ball-tree uses tables to record cost-recall growth across varying search efforts. With these tables, we show that our problem can be seen as an instance of the multiple-choice knapsack problem, which Ledger solves to allocate budgets across a mix of easy and hard queries in the workload. Ledger provides guarantees on the quality of budgets given and replaces both (a) fixed-effort searches and (b) recall-tuning methods (that are budget-agnostic) with fast and principled allocations.


翻译:暂无翻译

0
下载
关闭预览

相关内容

八篇NeurIPS 2019【图神经网络(GNN)】相关论文
专知会员服务
44+阅读 · 2020年1月10日
“推荐系统”加上“图神经网络”
机器学习与推荐算法
12+阅读 · 2020年3月23日
Graph Neural Network(GNN)最全资源整理分享
深度学习与NLP
339+阅读 · 2019年7月9日
强化学习三篇论文 避免遗忘等
CreateAMind
20+阅读 · 2019年5月24日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
论文浅尝 | Improved Neural Relation Detection for KBQA
开放知识图谱
13+阅读 · 2018年1月21日
国家自然科学基金
52+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
八篇NeurIPS 2019【图神经网络(GNN)】相关论文
专知会员服务
44+阅读 · 2020年1月10日
相关资讯
“推荐系统”加上“图神经网络”
机器学习与推荐算法
12+阅读 · 2020年3月23日
Graph Neural Network(GNN)最全资源整理分享
深度学习与NLP
339+阅读 · 2019年7月9日
强化学习三篇论文 避免遗忘等
CreateAMind
20+阅读 · 2019年5月24日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
论文浅尝 | Improved Neural Relation Detection for KBQA
开放知识图谱
13+阅读 · 2018年1月21日
相关基金
国家自然科学基金
52+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
Top
微信扫码咨询专知VIP会员