Agentic systems chain model and non-model calls, and are rerun after edits, as replicates and comparisons, concurrently and after crashes. We model a run as a DAG whose nodes are these calls. Because runs repeat, nodes meet the same inputs again, and caching could save their tokens, compute and time. But many nodes are random, and storing one output per input turns repeated calls into copies, while voting and replicates need them independent. Recent LLM caches therefore number repeated calls: the k-th identical call within a run reads the k-th stored sample, drawn only if missing. Repeated calls stay independent, but a replicate meant to be averaged rereads earlier runs' samples instead of drawing fresh ones. They also number only model calls, so a random non-model call upstream changes every downstream request, and costly ones, such as code execution, web APIs and simulators, rerun. Key observation: sharing a node's sample never changes the distribution any one run sees, only the correlation between runs. Whether runs share is thus an experimental-design choice set by how outputs are used: sharing is a pure saving for a run whose output is not combined with other runs', usually lowers the variance of the difference between compared runs, such as an edit and its base, and raises the variance of the mean of replicates. Based on this principle, Copula supports making full use of the cache to reduce computations and allowing the variance of nodes to adapt to the purpose of their running results. Replicated A/B tests reach the precision of independent runs at 0.51-0.59 of the CPU and tokens; prompt optimizers keep held-out quality equivalent at 0.42-0.69 of the task model's GPU cost. Synthetic-data pipeline edits cost 0.39-0.49 of a full rerun's tokens and return 2.8 times sooner; a code-repair agent's edits cost 0.34 of the tokens and 0.39 of the sandbox CPU; no quality loss is significant.


翻译:暂无翻译

0
下载
关闭预览

相关内容

ACM/IEEE第23届模型驱动工程语言和系统国际会议,是模型驱动软件和系统工程的首要会议系列,由ACM-SIGSOFT和IEEE-TCSE支持组织。自1998年以来,模型涵盖了建模的各个方面,从语言和方法到工具和应用程序。模特的参加者来自不同的背景,包括研究人员、学者、工程师和工业专业人士。MODELS 2019是一个论坛,参与者可以围绕建模和模型驱动的软件和系统交流前沿研究成果和创新实践经验。今年的版本将为建模社区提供进一步推进建模基础的机会,并在网络物理系统、嵌入式系统、社会技术系统、云计算、大数据、机器学习、安全、开源等新兴领域提出建模的创新应用以及可持续性。 官网链接:http://www.modelsconference.org/
Agent建模讲义:复杂系统与Agent模型
专知会员服务
83+阅读 · 2024年4月24日
COLING2024 | 面向编程的自然语言处理综述
专知会员服务
28+阅读 · 2024年4月23日
《DeepGCNs: Making GCNs Go as Deep as CNNs》
专知会员服务
32+阅读 · 2019年10月17日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
近期语音类前沿论文
深度学习每日摘要
14+阅读 · 2019年3月17日
读扩散?写扩散?推拉架构一文搞定!
架构师之路
17+阅读 · 2019年2月1日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
AI综述专栏 | 深度神经网络加速与压缩
人工智能前沿讲习班
32+阅读 · 2018年10月31日
一文读懂生成对抗网络GANs(附学习资源)
数据派THU
10+阅读 · 2018年2月9日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
8+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年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日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
8+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员