Agent in a Bottle: Can LLM Agents Turn Their Capabilities Into Cheap, Scalable Artifacts?

LLM Other LLM Agent Agent Eval Benchmarks Autonomous Workflows
2026年10月06日
大语言模型(LLMs)虽能解决诸多特定任务,但若对数百万个相关实例逐一调用模型进行查询,则成本可能高得难以承受。那么,LLM智能体能否自主构建更经济高效的解决方案来应对此类大规模任务负载?我们将这一能力称为“封装”(bottling):即把通用能力转化为面向特定任务的解决方案,从而在答案质量与单位平均成本之间取得良好平衡。为此,我们提出了BOTTLED基准测试——在该基准中,智能体一次性接收全部未标注的任务负载,并须在严格限定的时间、计算资源及LLM API调用预算约束下完成全部任务。智能体可自主选择实现路径,例如训练一个轻量级模型,或编写一段可复用的程序。我们在十种不同模型和三项任务上开展实验,结果表明:零样本任务表现优异,并不能稳定地转化为强大的“封装”能力。即使零样本性能相近的模型,在完成“封装”后其实际表现也可能存在显著差异;在全部60次“封装”实验中,有48次的结果低于其对应模型零样本性能95%置信区间的下限。此外,在60次实验中,有31次的表现甚至不及两种轻量级模型蒸馏基线方法中性能更强者(二者均使用相同的token预算)。尽管如此,“封装”仍可带来极为可观的成本节约:在查询-商品相关性分类任务上,Opus 5模型经“封装”后,仍能保持其零样本宏F1分数约82%的水平,而报告成本却仅为其零样本推理成本的约1/657。同时,“封装”方案亦展现出与Jev模型相当甚至更优的性价比——Jev是一种专为低成本、高重复性推理而设计的“系统一”(System One)模型;在相同任务上,Opus 5经“封装”后所达到的宏F1分数约为Jev的94%,而其预估的全任务负载总成本仅为Jev的四分之一。BOTTLED基准为评估与提升智能体在面对大规模、高重复性任务负载时,将有限资源投入于构建可复用解决方案的能力,提供了坚实的基础。
Large language models (LLMs) can solve many narrow tasks, but querying them separately for millions of related instances can be prohibitively expensive. Can LLM agents autonomously create cheaper solutions for such workloads? We call this ability "bottling": the ability to turn general capabilities into task-specific solutions that balance answer quality and amortised cost. We introduce BOTTLED, a benchmark in which agents receive an entire unlabelled workload and must complete it under fixed time, compute and LLM API budgets. Agents choose their own approach, such as training a small model or writing a reusable program. Across ten models and three tasks, we find that strong zero-shot task performance does not reliably translate into strong bottling capabilities. Models with similar zero-shot scores can differ substantially after bottling, and 48 of 60 bottling runs score below the lower bound of the 95% confidence interval of their model's zero-shot performance. Moreover, 31 of 60 runs underperform the stronger of two small-model distillation baselines with the same token budget. Nevertheless, bottling can yield substantial savings: on query-product relevance classification, Opus 5 retains about 82% of its zero-shot macro-F1 at roughly 657 times lower reported cost. Bottling is also competitive with Jev, a "system one" model built especially for cheap, repetitive inference: Opus 5 on the same task recovers about 94% of Jev's macro-F1 at a quarter of Jev's projected full-workload cost. BOTTLED provides a basis for evaluating and improving agents' ability to invest limited resources in reusable solutions for large, repetitive workloads.
许愿