Grafy News
Try Grafy free

New Partial Routing Method Optimizes AI Agent Efficiency

Researchers have introduced partial routing to help frontier AI models delegate subtasks to cheaper workers, reducing costs while improving performance.

Illustration for the news story: New Partial Routing Method Optimizes AI Agent EfficiencySource: Grafy Research Lab

AI agents often struggle with a fundamental efficiency dilemma: using a powerful, expensive frontier model for every step of a long task wastes resources, but using a cheap model for the entire task leads to failure. A new research paper introduces "partial routing," a method that allows a lead model to intelligently delegate specific subtasks to a cheaper worker model during execution.

How does partial routing work?

According to the paper by Siddharth Arya and Kshitij Jain, partial routing does not require retraining any models. Instead, it relies on a profiling process. The researchers take the lead model and a potential worker model and have them perform the same set of tasks individually. An LLM annotator then identifies recurring subtasks within those execution traces, and an LLM judge scores the quality of each model's performance on those specific subtasks.

This data creates a delegation policy that includes a parameter, δ\delta, which allows users to control how much work is delegated. During a live task, the lead model receives this guidance in its prompt. It can then decide, in real-time, which subtasks are suitable to hand off to the cheaper worker and which require its own high-level reasoning. This makes the delegation process dynamic and informed by actual performance data rather than just static model descriptions.

What are the performance benefits?

In evaluations using the ViBench and Terminal-Bench 4.0 benchmarks, partial routing demonstrated significant improvements over existing methods. On the ViBench benchmark, which involves building full-stack web applications, the researchers found that using partial routing with δ=0.75\delta = 0.75 increased the lead model's score from 70.2 to 78.5. Crucially, this performance boost was achieved while reducing costs by 19% compared to using the lead model alone.

On the Terminal-Bench 4.0 benchmark, which focuses on command-line tasks, the method raised the pass rate from 54% to 61% while maintaining similar cost levels. The authors also noted that even if the lead model is not given a worker but is simply provided with the subtask breakdown (a "plan alone" approach), it can still reduce costs significantly—by 39% on ViBench and 16% on Terminal-Bench—while maintaining or even improving scores.

How does this compare to existing routing methods?

Existing model routing typically happens at the task level, meaning a router decides which model handles an entire request before it begins. While efficient, this fails to account for the varying difficulty of subtasks within a single complex agentic workflow. Other methods, such as unguided subagents, allow for dynamic delegation, but the lead model makes these decisions based solely on its own judgment without any measured data on the worker's actual capabilities.

Partial routing differs by being "trace-tuned." It uses the actual history of model runs to build a profile of quality and cost. Unlike trained orchestrators that require expensive retraining whenever a model is updated, partial routing remains lightweight. Because it injects guidance via the prompt, it can be applied to proprietary frontier models without needing access to their weights.

Why is this important for agentic workflows?

As AI agents move from simple chat interactions to long-running workflows that can span hours, the cost of running frontier models becomes a major barrier to production deployment. A single complex task might involve routine steps like formatting text or checking syntax, alongside highly complex steps like architectural planning or debugging.

By enabling a lead model to recognize when it is performing "routine" work and delegating that to a cheaper model, developers can achieve a better balance of intelligence and economy. The ability to control this via the δ\delta parameter gives developers a knob to tune the system based on whether they prioritize absolute quality or maximum cost savings.

How can you apply these concepts in Grafy?

While partial routing is a specialized research method for building autonomous agents, the core principle of selecting the right model for the right task is central to multimodal workflows. Users looking to experiment with different model capabilities and costs can use Grafy Chat to run multiple models side by side. This allows for manual "routing" by comparing how a frontier model handles a complex reasoning task versus how a smaller, faster model handles a simpler instruction, providing a practical way to observe the cost-quality trade-offs discussed in the research.

Frequently asked questions

Does partial routing require training the AI models?

No, partial routing does not require training or fine-tuning the lead or worker models. It functions by profiling the models' past performance on specific subtasks and then providing that performance data to the lead model through its prompt. This allows the method to work with proprietary models where the weights are not accessible.

What does the delta parameter control?

The δ\delta parameter acts as a control mechanism for the user to manage the balance between cost and quality. It determines the extent to which the lead model is encouraged to delegate work to the cheaper worker model, allowing for adjustable levels of resource efficiency depending on the specific needs of the workflow.

Can partial routing improve task performance?

Yes, partial routing can improve performance by allowing the lead model to focus its reasoning capabilities on the most difficult parts of a task. By delegating simpler, routine subtasks to a worker model based on measured success rates, the overall system can achieve higher accuracy and better pass rates on complex benchmarks.

Source: Siddharth Arya and Kshitij Jain, "Partial Routing: Trace-Tuned Delegation for Resource-Efficient Agentic Workflows"


Source: Grafy Research Lab — Partial Routing: Trace-Tuned Delegation for Resource-Efficient Agentic Workflows