TL;DR
Multi-agent LLM systems often suffer from "infrastructure blindness," routing requests based purely on static task features while ignoring real-time GPU cluster congestion. INFRAMIND introduces an infrastructure-aware orchestration framework that dynamically adapts planning, routing, and reasoning depth based on live system metrics and latency budgets. By framing this as a hierarchical constrained MDP solved via reinforcement learning, it achieves up to 7× lower latency at low load and maintains up to 99.9% SLO compliance under heavy traffic.
What Problem Does This Paper Address?
Multi-agent LLM systems—where multiple models collaborate through debate, review, or sequential chains—are the dominant paradigm for solving complex tasks. Current state-of-the-art orchestrators route queries to specific models based entirely on static task features (e.g., query difficulty or semantic embeddings).
However, when deployed on shared GPU clusters under concurrent load, this creates a massive blind spot: a highly preferred model might accumulate a massive request queue, while an equally capable alternative sits completely idle. In multi-step agent pipelines, these bottlenecks compound exponentially downstream, leading to severe resource underutilization and latency explosions. The authors term this failure mode infrastructure blindness.
Methods
INFRAMIND addresses infrastructure blindness across three distinct layers of the multi-agent stack, framing the problem as a Hierarchical Constrained Markov Decision Process (CMDP) trained end-to-end via Reinforcement Learning:
- Infrastructure-Aware Planner: At query arrival, it uses Feature-wise Linear Modulation (FiLM) to condition the multi-agent topology, agent count, and roles on a summary of current system load and the total latency budget. It biases toward simpler interaction graphs under high congestion and richer graphs under low load.
- Infrastructure-Aware Executor: At each individual agent step, a dual-pathway RL policy reads live system metrics (queue depth, KV-cache utilization, E2E latency) alongside semantic features to jointly select the next model to call and its reasoning depth (
Flashfor direct answers,Concisefor 2–3 steps, orDeepThinkfor thorough reasoning). - Budget-Aware Scheduler: Reorders pending requests in each model's queue using an Earliest-Deadline-First (EDF) strategy, ensuring urgent, tight-budget queries aren't blocked behind relaxed ones.
Datasets
The framework was evaluated across five diverse benchmarks spanning mathematical reasoning, code generation, and knowledge-intensive QA:
- MATH (Advanced mathematics)
- GSM-Hard (Mathematical reasoning)
- MBPP (Python code generation)
- HumanEval (Coding proficiency)
- MMLU-Pro (Knowledge-intensive QA)
The shared model pool consisted of a heterogeneous mix of open-weight models: DeepSeek-R1-Distill-Qwen-32B, Mistral-Small-24B, Qwen2.5-Coder-14B, Llama-3.1-8B, and Llama-3.2-3B, served via vLLM on NVIDIA B200 GPUs.
Key Insights and Ideas
- Trading Queue Time for Reasoning Depth: A key "aha" moment is that an infrastructure-aware router can choose a smaller, faster model that is currently idle, and use the saved queue time to invest in a deeper reasoning strategy (like
DeepThink). This matches or exceeds the accuracy of a larger, congested model at a fraction of the latency. - Cross-Layer Coupling: Planning, routing, and scheduling decisions are fundamentally coupled. A choice made by the planner alters the downstream load that the executor and scheduler must handle. Training these components jointly via a shared Lagrange multiplier constraint allows the system to automatically discover optimal quality-latency trade-offs.
- Client-Side Proxies for Blackbox APIs: The authors show that infrastructure awareness doesn't require deep whitebox server access. By using client-side proxies (like exponential moving averages of latency and artificial congestion signals based on rate limits), INFRAMIND successfully extends to commercial, closed-source API pools.
Key Results
- SLO Compliance: Under high load (100 req/min) with a 300-second Service Level Objective (SLO), INFRAMIND sustains up to 99.9% SLO compliance (on HumanEval), whereas traditional baselines (like MoA and GPTSwarm) collapse to below 12% due to cascading queue delays.
- Latency & Accuracy Boost: At low load, INFRAMIND achieves up to +7.6 pp higher accuracy over the prior baseline on MATH while running up to 7× faster on HumanEval (5s vs. 70s) and 6.3× faster on MBPP (40s vs. 253s).
- Graceful Degradation: As cluster load increases, INFRAMIND dynamically simplifies agent topologies and shortens reasoning paths, allowing accuracy to degrade gracefully rather than causing a catastrophic latency explosion.
Limitations and Future Work
- Static Planning Commitments: The planner commits to a specific multi-agent topology at the very beginning of a query's lifecycle. If cluster load shifts dramatically mid-workflow, the system cannot dynamically revise the collaboration structure on the fly.
- Fixed Model Pools: The current formulation assumes a static set of model replicas and does not account for dynamic hardware configurations like autoscaling or hot model swaps.
Summary updated