Papers

Jev/Sol 异构架构降低 LLM Agent 控制流成本近 50%

The Control-Flow Tax: Specialized Decision Routing for LLM Agent Workflows

Why we picked it

做 Agent 工作流的人值得看看这篇:它指出路由决策本身能吃掉四成多成本,并用 Jev + Sol 双模型架构在四个任务上把成本砍了 40%–50%。和单纯换便宜模型的路由方案不同,它强调轨迹设计也要配合省钱,跑 Agent 成本敏感业务的团队可以参考这套拆分思路。

arXiv 论文提出"控制流税"问题:在一个文档生成工作流中,Agent 决定"下一步做什么"的路由开销占基准参考成本的 42.5%,单纯降价并不能解决,因为便宜的路由模型会触发更多对昂贵生成模型的调用。

Body

论文设计异构架构:专用 System 1 决策模型 Jev 负责控制有限动作集合,Sol 负责文档生成。在四个软件任务、480 次有效运行中,Jev 全路由在所有任务上均取得最低平均成本和耗时,40 次专家控制运行全部沿最短轨迹完成。首个任务上平均成本降低 49.6%(95% bootstrap 区间 42.9%–56.3%),耗时降低 33.2%;另外三个任务成本降幅为 40.5%–42.9%。作为对照,仅使用存在但不参与路由的专用模型只省 1.8%。

在 100 个零售状态的动作选择评测中,Jev 与 Sol 各达成 100/100 准确率,但 Jev 的参考成本低 97.88%、平均请求时间低 72.30%。论文由此归纳出高效 Agent 控制的两个条件:决策要便宜,且轨迹设计要能保住这些节省。

Original · arXiv cs.AI

The Control-Flow Tax: Specialized Decision Routing for LLM Agent Workflows

An agent can spend almost as much deciding what to do as doing it. In our documentation workflow, control-flow routing accounts for 42.5% of baseline reference cost on the initial task. Lower token prices alone do not solve this control-flow tax: inexpensive general-purpose routers can trigger additional calls to the expensive generator. We evaluate a heterogeneous architecture in which Jev, a specialized System 1 decision model, controls finite actions while Sol generates documents. Across four software tasks, 480 valid runs comprise 470 completions and ten request-limit endpoints. Jev full routing achieves the lowest mean cost and elapsed time on every task, completing all 40 specialist-controlled runs along the shortest trajectory. On the initial task, mean cost falls by 49.6% (95% paired-bootstrap interval: 42.9% to 56.3%) and elapsed time by 33.2% (19.6% to 46.7%). Across three further tasks, cost reductions are 40.5% to 42.9% and concurrent elapsed-time reductions are 12.9% to 14.4%. Existence-only specialization saves just 1.8% on the initial task. Separately, Sol and Jev each select accepted actions on 100/100 reviewed retail states, with Jev using 97.88% less reference cost and 72.30% less mean request time. The results identify two requirements for efficient agent control: inexpensive decisions and trajectories that preserve those savings.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LLM, agents, arXiv papers, cost optimization.

Source attribution: curated from arXiv cs.AI (@Zhikai Cheng, Shuanghu Wang, Li Jiang).