ZICQ
中 Log in / Sign up
Newsroom Agentic #Model Routing #Agentic Workflows #Subtask Delegation #Cost Optimization #Trace Analysis

Partial Routing Cuts ViBench Costs by 19% Through Subtask-Level Delegation

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Partial Routing replaces task-level model selection with subtask-level delegation. It mines recurring subtasks from historical runs of a stronger lead model and a cheaper worker, estimates each model's quality and cost for those subtasks, and converts the measurements into runtime guidance. The lead remains in control of when and what to delegate, and neither model requires training. With a delegation parameter of δ=0.75, the method raises the reported ViBench score from 70.2 to 78.5 while redu


Partial Routing: Moving Model Routing Down to the Subtask Level

Core Result

Partial Routing changes the unit of model-routing decisions from an entire task to individual subtasks. Instead of assigning a complete task to one model, the system examines historical runs from a stronger lead model and a cheaper worker, identifies recurring subtasks, and records how well and how expensively each model handled them. These measurements become runtime guidance, allowing the lead model to decide whether a particular subtask should be delegated.

No model is trained. A parameter, δ, controls the extent of delegation. On held-out tasks from ViBench and Terminal-Bench 4.0, δ=0.75 raises the ViBench score from 70.2 to 78.5 while reducing cost by 19%. On Terminal-Bench 4.0, the pass rate rises from 54% to 61% at approximately unchanged cost. The method also reports higher mean task performance than using the lead alone or performing task-level routing.

Mechanism: Offline Profiling and Runtime Delegation

1. Recurring subtasks are recovered from past traces

The system analyzes execution traces from both models and extracts subtasks that repeatedly appear. It then records each model's quality and cost on those subtasks. Unlike a separately trained router, Partial Routing behaves more like an operational policy derived from execution logs: it consumes historical behavior without updating model parameters.

The abstract does not specify how subtasks are segmented, clustered, or labeled, so it would be unsafe to claim that the method relies on embeddings, rules, or a classification model. For an engineering implementation, the important property is that a subtask should correspond to a verifiable unit of work, such as an independent retrieval step, a code change, or a group of terminal operations.

2. Per-subtask quality and cost profiles are built

For a subtask s, the historical behavior can be abstracted into four quantities: lead-model quality q_L(s), worker quality q_W(s), lead cost c_L(s), and worker cost c_W(s). These measurements are converted into delegation guidance. The lead model can then weigh whether delegating a particular subtask is worthwhile rather than selecting the cheapest model automatically.

A useful engineering abstraction for the cost model is:

C_task(δ) ≈ Σ_s[(1-d_s(δ))c_L(s)+d_s(δ)(c_W(s)+c_call(s))]+C_orch

Here, d_s(δ) represents the probability or expected fraction of subtask s that is delegated. C_orch covers trace lookup, context construction, result integration, and retries. This formula is an analytical abstraction rather than an equation disclosed by the paper, and the abstract does not define the exact semantics of δ. In particular, δ=0.75 should not automatically be interpreted as delegating exactly 75% of all subtasks.

Delegation produces a net saving only when:

c_L(s)-c_W(s) > c_call(s)+c_context(s)+p_fail×C_retry

The worker's price advantage must therefore exceed invocation, state-transfer, and failure-recovery costs. It remains unclear whether the reported 19% reduction already includes these orchestration expenses.

3. The lead model retains runtime control

Delegation is not a fixed pipeline. The lead reads the subtask profiles and guidance, then decides during execution whether and what to delegate before integrating the worker's result. This avoids forcing a separate router to compress the full task context a second time and lets the lead retain control when a subtask exceeds the worker's demonstrated capability.

The tradeoff is that incorrect delegation remains a failure of the lead's judgment. Stale profiles, distribution shifts, or faulty subtask boundaries can cause the lead to hand a high-risk step to an undersized worker, creating a cascading error.

How It Differs from Task-Level Routing

| Strategy | Routing granularity | Execution model | Main limitation | |---|---|---|---| | Lead only | Entire task | One model handles every step | Simple, but cannot exploit model price differences | | Task-level routing | Entire task | One model handles the whole task | Cannot optimize mixed-difficulty workflows at step level | | Partial Routing | Subtask | The lead dynamically invokes a worker | Depends on trace quality, delegation decisions, and context transfer | | Breakdown only | No worker delegation | The lead follows a decomposed plan | Helps isolate gains caused by planning itself |

The final setting is an important ablation. Giving the lead only the subtask breakdown, without access to a worker, also reduces cost on both benchmarks and raises the Terminal-Bench pass rate. This indicates that some gains may come from clearer decomposition and planning rather than from the worker alone. The abstract does not provide the corresponding numbers, so the two contributions cannot yet be cleanly separated.

Reported Results

| Benchmark | Metric | Lead baseline | Partial Routing, δ=0.75 | Cost change | |---|---|---:|---:|---:| | ViBench | Task score | 70.2 | 78.5 | 19% lower | | Terminal-Bench 4.0 | Pass rate | 54% | 61% | Approximately unchanged |

ViBench improves by 8.3 points, while Terminal-Bench 4.0 improves by 7 percentage points; the latter should not be described as a 7% relative gain. The paper also states that Partial Routing achieves higher mean task performance than task-level routing, but it does not provide the latter's exact score, cost curve, or statistical significance.

Questions About Evaluation Validity

  • Held-out tasks are not the full leaderboard. The experiments use held-out tasks from two benchmarks. Subset size, selection procedure, and confidence intervals are not disclosed.
  • The cost definition is unclear. It is unknown whether cost means API spend, token usage, or an internal accounting unit, and whether trace lookup, decomposition, integration, and retries are included.
  • Baseline fairness depends on configuration. Equal prompts, tool permissions, token limits, and retry budgets are necessary for a meaningful comparison between the lead, task-level routing, and partial routing.
  • Trace leakage must be checked. Held-out tasks reduce task-level leakage, but the abstract does not establish whether historical traces used to build subtask profiles overlap with held-out tasks or closely related templates.
  • Mean scores can hide tail failures. Partial routing may improve average performance while making a small number of difficult tasks more fragile. Worst-group results, failure categories, and escalation-recovery rates are not reported.
  • Latency and system overhead are absent. If worker calls are inserted sequentially into the lead trajectory, cumulative waiting time can offset monetary savings. End-to-end latency, throughput, and concurrency are not reported.

Engineering Trade-offs

  1. Price advantage versus orchestration overhead. Smaller subtasks can improve model matching, but they also increase prompt splitting, context transfer, result validation, and error-recovery overhead.
  2. Average quality versus difficult-task tails. A router should not optimize historical average savings alone. High-risk, state-dependent, or low-confidence subtasks need a no-delegation region and an escalation path back to the lead.
  3. Sequential latency versus parallel execution. Independent subtasks can be delegated concurrently, but terminal operations with state dependencies are usually sequential, sharply reducing the latency benefit.
  4. Trace staleness and version drift. Changes to model versions, prompts, tools, or task distributions can invalidate historical profiles. Statistics should be segmented by model version and prompt version.
  5. Data security and permission isolation. Traces may contain source code, credentials, terminal output, and business data. The delegation layer should minimize transferred context and restrict the worker's available tools and data.
  6. Auditability. Production logs should record why a subtask was delegated, which historical profile informed the decision, the worker version, tool calls, validation results, and escalation path.

Deployment Guidance

  1. Start with a structured trace format. Record task IDs, subtask labels, lead and worker versions, tokens, latency, tool calls, retries, and final outcomes. Subtask labels should be derived from deterministic state transitions or tool boundaries where possible.
  2. Do not copy δ=0.75 blindly. Replay each workload offline across multiple δ values, then select a threshold using quality bounds, cost budgets, and expected recovery costs.
  3. Shrink sparse estimates. Raw success rates are unstable when a subtask has few historical examples. Techniques such as Beta-Binomial shrinkage can provide better quality estimates, while cost should be summarized with quantiles rather than means alone.
  4. Treat delegation as a controlled action. Give the lead a compact profile and recommendation, require structured worker output, and validate state or tests before downstream execution continues.
  5. Build an escalation path. Force the lead to handle safety-critical, irreversible, expensive, or low-confidence subtasks, and cap automatic retries so worker failures do not amplify.
  6. Use shadow traffic before canarying. Log routing decisions without executing them first, compare those decisions with human or stronger-model judgments, and then run an A/B test against the lead and task-level router under equal token budgets.
  7. Track operational metrics. Beyond task success and spend, monitor p95 latency, delegation rate, incorrect-delegation rate, escalation rate, retry cost, tool-failure rate, and gains by task category.

The central contribution of Partial Routing is not a new model, but a smaller routing unit. If the full experiments confirm the cost accounting, statistical significance, and tail behavior, the method could be added as a lightweight policy layer over an existing agent orchestration stack without changing or fine-tuning the underlying models.


Source: ArXiv AI (cs.AI) (2026-11-27)

— END —

Tags: #Model Routing #Agentic Workflows #Subtask Delegation #Cost Optimization #Trace Analysis

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
🚀 Explore & Submit Works

Community Comments

Loading live comments and annotations…