---
title: "The Control-Flow Tax: Specialized Decision Routing for LLM Agent Workflows"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.32365v1"
permalink: "https://feed.astralor.com/items/itm_7a206633e1e99e33027e3a3a"
published: "2026-11-24T10:36:06.000Z"
score: 58
channel: "tech"
tags: ["LLM","AI Agent","The Control-Flow Tax","Specialized Decision Routing","LLM Agent Workflows","Lower","Jev","System"]
---

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

## At a glance

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 s…

## Key points

- 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.

## Full text

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.

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_7a206633e1e99e33027e3a3a
