论文

研究显示静态重试策略可能推高每次任务完成的成本

The Retry Tax: Why Static Same-Task Retries Can Cost More per Completion

精选理由

这篇论文算清了重试的账:4 次尝试比 1 次多做 10 个百分点的任务,但单次完成成本从 0.70 美元涨到 1.32 美元。做智能体产品和计费的人值得对照自己的重试上限算一算。

arXiv 论文《The Retry Tax》分析智能体失败后重试的成本结构:在固定配置、静态策略下(重试不传入反馈、达到验证成功或尝试上限即停止),OpenHands 配置的回放估计显示,1 次尝试完成率为 59.

正文

7%,4 次尝试提升到 70.0%,但每次完成的成本从约 0.

70 美元升至 1.32 美元。

论文用经典幸存者选择框架证明,成本 per completion 不低于一次性服务,且每增加一次尝试的边际成本单调不降。机制在于混合任务中简单任务早成功被筛掉,剩余未解决任务偏向更难的,拉高后续尝试的平均成本。

论文还区分了两个常被混淆的量:平均到所有完成上的成本,与为多出的完成新增的边际成本。作者提醒设定尝试上限时应把额外支出与应用对额外完成的价值做比较,而非默认重试更划算。

原文 · arXiv cs.AI

The Retry Tax: Why Static Same-Task Retries Can Cost More per Completion

Retrying an agent after failure can complete more tasks while increasing the cost per completion. We study a static policy that stops at verified success or an attempt cap and otherwise resets the original prompt and workspace without passing feedback to the next request. Under stationary task success probabilities, independent attempts conditional on the task, and a common attempt cost, easier tasks tend to succeed earlier. When task success probabilities differ, the unresolved mix shifts toward harder tasks. Specializing classical survivor selection, we show that cost per completion is at least as high as in one-shot serving and that marginal cost per additional completion is nondecreasing wherever the completion increments are positive. These are different quantities: one averages spending over all completions, while the other prices the completions added by another attempt. We then arrange each task's existing benchmark runs in different orders, stop each sequence at verified success or the attempt cap, and average the resulting completion and spending at each supported cap. For one OpenHands configuration, replay estimates completion of 59.7 percent with one attempt and 70.0 percent with four, while cost per completion rises from about USD 0.70 to USD 1.32. The recorded trade-off describes fixed configurations on the available tasks. Choosing a cap requires comparing the additional spending with the application's value for the additional completions.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:OpenHands、智能体、成本优化,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Wei-Jung Huang),经 AITOP 多维评分管线结构化提炼。