NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LAMaS: A Modular Platform for Learning Low-Latency Multi-Agent Orchestration

Xi Shi, Mengxin Zheng, Qian LouNeurIPS 2026

TL;DR

Throwing multiple AI agents at a problem improves reasoning, right up until you find yourself staring at a loading spinner for twenty minutes. Most multi-agent optimizers focus on saving money by trimming total tokens, ignoring the fact that wall-clock wait time is actually governed by the longest chain of sequential dependencies. LAMaS fixes this by explicitly penalizing that bottleneck chain during training and dynamically calling off redundant agents mid-flight once a clear answer emerges—slashing wait times in half without sacrificing accuracy.

What Problem Does This Paper Address?

Imagine cooking a complex dinner with four friends. If three friends chop vegetables in five minutes while one friend takes an hour to bake a potato, firing one of the vegetable choppers saves effort (cost), but dinner still takes an hour (latency).

Multi-Agent Systems (MAS) powered by LLMs face this exact distinction. Complex tasks in coding or autonomous research can take 10 to 60 minutes because agents wait on outputs from other agents. Existing automated orchestration frameworks optimize for accuracy and additive cost—total tokens or API dollars spent across all calls. However, wall-clock latency isn't additive; it is determined by the critical path, the longest sequential chain of dependent agent calls measured in time. Penalizing every agent equally for a slow response gives the wrong learning signal to parallel workers who aren't actually holding up the line. Furthermore, locking in a static execution plan before the first prompt is even sent ignores valuable clues that appear mid-run, like three early agents already agreeing on the exact same answer.

Methods

LAMaS (Latency-Aware Multi-agent System) acts as a modular orchestration layer sitting between agent frameworks and OpenAI-compatible model servers. While it uses a standard policy network over an "agentic supernet" (a probabilistic directed acyclic graph of reusable agentic operators) to sample query-specific workflows, its training and execution introduce three key mechanisms:

Figure 1: LAMaS connects agent frameworks to model servers and returns an answer and execution trace for each query. We integrate the full pipeline into GDesigner and AgentDropout, retaining each framework’s graph builder and retraining the execution controller on its traces.
  • Critical-Path-Aware Credit Assignment: Instead of a blanket time penalty, LAMaS calculates each operator's path-criticality weight—the length of the longest time path passing through that operator divided by the total critical-path latency. Bottleneck operators on the critical path take the full penalty, near-critical ones take a softened hit, and fast parallel operators aren't punished for delays they didn't cause.
  • Lagrangian Accuracy Floor ("Do-No-Harm"): If you only reward speed, the system will happily output garbage in 0.1 seconds. LAMaS sets a target accuracy floor ($S_0$, matched to an unconstrained baseline) and uses Lagrangian relaxation with an adaptive dual variable. If batch accuracy dips below the floor, the math automatically shifts focus back to correctness; once accuracy is safe, it pushes harder on latency.
  • Inference-Time Execution Control: Once the orchestrator is trained and frozen, the authors train a tiny neural network (an MLP controller) on its execution traces. During live inference, whenever an operator finishes, this controller checks the progress, query difficulty, and how strongly the completed candidates agree. If consensus is already solid, it cancels unlaunched future operators and jumps straight to the final answer stage.

Datasets

No new datasets are introduced; the authors evaluate across four established benchmarks spanning three domains:

  • Mathematical Reasoning: GSM8K (grade-school math) and MATH (competition-level problems).
  • Code Generation: HumanEval (functional correctness of Python code).
  • Knowledge Reasoning: MMLU-Pro (professional-level multi-step reasoning, using a custom stratified train/test split from the official test set).

Key Insights and Ideas

  • Cost and latency diverge in parallel graphs: You cannot optimize wall-clock speed with uniform additive rewards. Targeting the critical path reshapes workflows to be wider and shallower rather than simply starving the system of compute.
  • Naive latency penalties break accuracy: Ablation studies show that simply subtracting latency from the reward without an explicit accuracy floor or critical-path credit drops accuracy by up to 5.34 percentage points while barely improving speed.
  • Plug-and-play transferability: LAMaS isn't locked to its own graph builder. Because its credit assignment and stop-controller operate on execution traces, existing frameworks can adopt LAMaS's training objective and controller without rewriting their core topology generators.

Key Results

Evaluated using gpt-4o-mini-0718 across three independent runs per benchmark, LAMaS reduces end-to-end wall-clock latency by 55.6% to 75.6% compared to the strongest learning-based MAS baselines (MaAS, GDesigner, and AgentDropout), while maintaining or beating their accuracy:

Benchmark results comparing LAMaS against non-MAS and learning-based MAS baselines
  • GSM8K: Latency drops from 32.31s (GDesigner) and 48.11s (MaAS) down to 11.73s, with top accuracy at 93.65% and less than half the API cost of GDesigner.
  • HumanEval: Achieves 95.42% pass@1 in 21.00s, compared to MaAS at 93.38% in 47.32s.
  • MATH & MMLU-Pro: Cuts latency to 28.41s (vs. 60.71s–176.42s for MAS baselines) on MATH and 14.81s (vs. 46.66s–119.33s) on MMLU-Pro, taking the top accuracy spot on both.
  • Framework Integration: Dropping the LAMaS pipeline directly into GDesigner and AgentDropout (keeping their native graph builders) trims their latencies by 27% to 39% across all four benchmarks with no loss in accuracy.

Limitations and Future Work

Not explicitly isolated in a dedicated section, though two operational boundaries are noted in the methodology and experiments:

  • Single-step simplicity vs. MAS overhead: Simple single-agent prompting strategies (like direct generation or standard Chain-of-Thought) remain faster in raw wall-clock seconds (e.g., 5.43s on GSM8K), though they consistently trail MAS methods in accuracy.
  • Graceful stopping limits: When the inference-time controller decides to stop early, it only prevents unlaunched operators from starting; any LLM calls already in flight run to completion rather than being forcibly aborted mid-generation.

Summary updated

BibTeX
@inproceedings{shi2026lamas,
  author = {Xi Shi and Mengxin Zheng and Qian Lou},
  title = {{LAMaS: A Modular Platform for Learning Low-Latency Multi-Agent Orchestration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fbWOBQEle5},
}
Figure