CASTER: Breaking the Cost-Performance Barrier in Multi-Agent Orchestration via Context-Aware Strategy for Task Efficient Routing
Authors:
- Shanyv LiuSLShanyv Liu
- Xuyang YuanXYXuyang Yuan
- Tao ChenTCTao Chen
- Zijun ZhanZZZijun Zhan
- Zhu HanZHZhu Han
- Danyang ZhengDZDanyang Zheng
- Weishan ZhangWZWeishan Zhang
- Shaohua CaoSCShaohua Cao
Preprint
Abstract
Graph-based Multi-Agent Systems (MAS) enable complex cyclic workflows but suffer from inefficient static model allocation, where deploying strong models uniformly wastes computation on trivial sub-tasks. We propose CASTER (Context-Aware Strategy for Task Efficient Routing), a lightweight router for dynamic model selection in graph-based MAS. CASTER employs a Dual-Signal Router that combines semantic embeddings with structural meta-features to estimate task difficulty. During training, the router self-optimizes through a Cold Start to Iterative Evolution paradigm, learning from its own routing failures via on-policy negative feedback. Experiments using LLM-as-a-Judge evaluation across Software Engineering, Data Analysis, Scientific Discovery, and Cybersecurity demonstrate that CASTER reduces inference cost by up to 72.4% compared to strong-model baselines while matching their success rates, and consistently outperforms both heuristic routing and FrugalGPT across all domains.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision, and the Road AheadACM Transactions on Software Engineering and Methodology, 2025
- OSC: Cognitive Orchestration through Dynamic Knowledge Alignment in Multi-Agent LLM Collaboration2025
- AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agents2024
- CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society2023
- G-Eval: NLG Evaluation using Gpt-4 with Better Human Alignment2023