Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Multi-Objective Scheduling of LLM-Based Multi-Agent Workflows in Cloud Computing

This paper addresses the challenge of efficiently scheduling large language model-based multi-agent workflows in cloud computing by formulating it as a multi-objective optimization problem to minimize cost and latency while maximizing resource utilization.

Share
AI-generated conceptual illustration accompanying: Multi-Objective Scheduling of LLM-Based Multi-Agent Workflows in Cloud Computing
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Problem Formulation and Motivation

Multi-objective scheduling of large language model (LLM)-based multi-agent workflows in cloud computing presents a complex challenge. As open-weight models continue to close the performance gap with proprietary ones, the focus of competitive advantage in the artificial intelligence market is shifting away from model parameters arXiv Distributed. However, the efficient scheduling of these models onto distributed infrastructure, such as the cloud, remains largely unaddressed in the literature arXiv Distributed. This problem is becoming increasingly critical as LLMs are composed into multi-agent workflows to accomplish complex, multi-step tasks arXiv Distributed. The challenge lies in optimizing for multiple objectives, including overall latency, monetary cost, and resource utilization, which are essential for scalable and cost-effective deployment in cloud environments.

Limitations of Existing Frameworks

Limitations of Existing Frameworks

Existing agentic workflow frameworks mostly focus on output quality and task success rates over popular benchmarks, rarely accounting for execution dynamics of LLM-based agents such as inference latency, computation power of heterogeneous resources, cloud-specific billing period and resource provisioning overheads [arXiv Distributed]. Therefore, this paper formulates multi-agent scheduling in cloud computing as a multi-objective optimization problem that jointly minimizes makespan and cost while maximizing resource utilization [arXiv Distributed]. Building on this formulation, we propose MO-SAIC (Multi-Objective Scheduling of Multi-Agent Workflows in Cloud Computing), a scheduling framework comprising four multi-objective schedulers with Non-Dominated Sorting Genetic Algorithm II (NSGA-II), Weighted-Sum Genetic Algorithm (W-GA), a multi-objective adaptation of Heterogeneous Earliest Finish Time (MO-HEFT) and a random baseline (RAND) [arXiv Distributed].

Proposed Framework and Evaluation Methodology

The proposed framework for multi-objective scheduling of LLM-based multi-agent workflows in cloud computing is evaluated from three key perspectives: workflow scheduling, multi-objective optimization, and system performance. This approach aims to measure overall performance, the quality of Pareto-optimal fronts, and the impact of factors such as workflow topology, cloud resource composition, and scalability parameters (arXiv Distributed). Experimental results are reported with statistical significance using the Wilcoxon test, ensuring robust validation of the framework's effectiveness. The evaluation methodology emphasizes the importance of considering multiple objectives simultaneously, such as cost, latency, and resource utilization, to achieve optimal scheduling outcomes in complex cloud environments. This approach aligns with real-world applications, as demonstrated by Walmart Global Tech's deployment of multi-agent LLM workflows across 4,700 stores for nightly batch inventory forecasting (infoq.com).

Real-World Deployment and Cost Reduction

In real-world deployment, multi-objective scheduling of LLM-based multi-agent workflows has demonstrated significant cost reduction in cloud computing environments. As discussed in infoq.com, addressing production hurdles such as schema violations, cross-department data mismatches, and network drops through MCP grounding and loop agents has led to a substantial decrease in cloud inference costs, from $100k+ to $10k per month, by shifting from pay-per-token units (PTUs) to a pay-as-you-go model. This approach has been implemented across a large-scale rollout, as noted in infoq.com, which mentions deployment to all 4,700-plus stores. The initiative began with a 10-store pilot, as described in infoq.com, where initial feedback on recommendations was positive, indicating successful early adoption and scalability of the solution.

Workflow Architecture and Grounding Mechanism

The workflow architecture of LLM-based multi-agent systems in cloud computing is designed as a sequential flow of agents rather than a monolithic structure. This approach allows each agent to process and analyze data from previous steps, incorporating real-time and forecasting model inputs to make informed decisions. A key component of this architecture is the grounding mechanism, which ensures that the output from one agent is accurately interpreted and contextualized by the next. For instance, an agent may analyze sales trends and recommend a 15% stock increase for high-selling produce items over the weekend, based on contextual and predictive data. These sequential interactions enable precise decision-making, such as determining optimal inventory levels for store managers. The grounding mechanism plays a critical role in maintaining coherence and accuracy across the workflow, ensuring that each agent's output aligns with the overall objectives of the system.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more