Optimize Once, Execute Fast: Latency-Aware Multi-Agent Workflow Learning for Recurrent Queries
Enpei Zhang, Feiyu Qu, Zheng Huang, Dawei Zhou, Elynn Chen, Yujun Yan
Abstract
Large Language Model-based Multi-Agent Systems (LLM-based MAS) have shown remarkable success in solving complex tasks by coordinating specialized agents through multi-step workflows. To overcome the high cost and specificity of manually designed workflows, recent research has shifted toward learning them automatically. However, a key limitation remains: while agent calls introduce significant latency due to model inference time and service congestion, most automated methods optimize solely for downstream performance, ignoring execution time (makespan). This issue is amplified when workflows are reused across recurring queries, making latency accumulate over time. This limits deployment in recurrent applications such as AI customer support and AI cloud troubleshooting, where users expect fast responses. To bridge this gap, we introduce a new problem, termed latency-aware workflow generation, where the objective is to minimize workflow makespan while aiming to retain downstream performance. We propose LAWA (Latency-Aware Workflow optimizAtion), a novel framework that reduces makespan via theoretically grounded graph edits targeting critical-path bottlenecks. By unifying a graph generator with this graph-editing procedure, LAWA supports both de novo workflow generation and refinement of existing ones. Empirical results across seven benchmarks demonstrate that LAWA significantly reduces makespan while achieving competitive task performance, supporting efficient reuse of multi-agent workflows for recurrent queries.
Create a lesson
Related papers
Fast and Scalable Multi-Agent Distribution Matching via Partitioned Optimal Transport
Shared title terminology · Kooktae Lee, Ruchika Singh
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Shared title terminology · Zijia Cao, Hanqing Dou
Kaer: Security-Aware Replanning for Multi-Agent Systems
Shared title terminology · Tushin Mallick, Evan Rose, Matthew Laws et al.
Even Loose Proximity Constraints Make Makespan-optimal Unlabeled Multi-agent Pathfinding Hard
Shared title terminology · Takahiro Suzuki, Keisuke Okumura
ReSUM: Reasoning-Driven Multi-Agent Framework for Query-Focused Summarization
Shared title terminology · Sonali, Deeksha Varshney, Asif Ekbal
Pixie: A Context-Aware Multi-Agent Multi-Modal Large Language Models (LLM) Architecture for Digital Marketing
Shared title terminology · Vivek Vishwas Vichare, Akshat Singhal, Kirill Dubovikov et al.