Skip to content
Robotics.world

Research

SyncPlan: Long-Horizon LLM Coordination with Explicit Synchronization and Adaptive Correction

LLM-based multi-agent coordinators face a trade-off: querying the LLM repeatedly during execution adapts well but is too slow for real-time environments, while one-shot planning is cheap but produces…

The paper’s first page · arXiv:2608.01652
arXiv
2608.01652 · Preprint · not peer-reviewed
Published
2026-08-03
Authors
Shen You, Xiaoming Zhu, Weining Weng, Hefei Mei, Weixuan Wang, Zhongshen Li, Zeji LI, Ye-Wen Wang, Zijun Liao, Juchao Zhuo, Yang Wei, Fuhao Qiu, Siqin Li, Zhenjie Lian, Danei Gong, Junkai Ji, Xiangtao Li, Qiuzhen Lin, Liang Wang, Ka-Chun Wong

In plain words

LLM-based multi-agent coordinators face a trade-off: querying the LLM repeatedly during execution adapts well but is too slow for real-time environments, while one-shot planning is cheap but produces open-loop plans that go stale as other agents and the environment change. The goal is coordination that stays efficient, synchronized, and adaptive at the same time.

AI summary

Overview

Research area: Multi-agent coordination with large language models (LLM-based planning), evaluated on cooperative game benchmarks (Overcooked-AI and Honor of Kings).

Technical level: Intermediate. Readers benefit from familiarity with LLM planning/prompting, reinforcement learning fine-tuning (SFT, RL, GRPO), and standard multi-agent coordination metrics, but the core ideas are explained structurally rather than mathematically.

Scope (one sentence): The paper presents SyncPlan, a plan–execute–correct framework that lets a single LLM coordinator generate long-horizon action chains for multiple agents in one call, using explicit wait primitives, deadlock detection, and a lightweight learned "plan staleness" detector to decide when replanning is actually needed.

What This Paper Is About

LLM-based multi-agent coordinators face a trade-off: querying the LLM repeatedly during execution adapts well but is too slow for real-time environments, while one-shot planning is cheap but produces open-loop plans that go stale as other agents and the environment change. The goal is coordination that stays efficient, synchronized, and adaptive at the same time. SyncPlan addresses this by making inter-agent dependencies explicit and machine-checkable at runtime, and by replacing fixed-frequency replanning with a learned, event-driven trigger.

Key Contributions

  1. Executable synchronization primitives. Two primitives, Wait_agents (wait until a teammate reaches a specified milestone) and Wait_entity (wait until an environment entity satisfies a condition), convert implicit coordination intent expressed in free-form text into explicit runtime constraints that a low-level executor can verify and enforce, plus frame-level deadlock detection over a directed wait graph.
  2. A lightweight Plan Staleness Detector (PSD). A small model that takes a chain-entity incidence matrix, current entity states, and state differences, and outputs a replan probability, triggering the coordinator only when the remaining plan is actually invalidated rather than on a fixed schedule.
  3. Progressive composite rewards for planning-oriented RL. A reward combining task progress, an outcome-level success bonus, and penalties over five mutually exclusive execution outcomes (Success, SyntaxError, SemanticError, Deadlock, Timeout) to provide dense intermediate feedback for long-horizon credit assignment.
  4. An SFT + RL training pipeline with LoRA adapters that warm-starts a coordinator on structured multi-agent action chains and then refines it against real execution feedback, demonstrated across two environments.

Main Findings

  • Overcooked task achievement. On the public Overcooked benchmark, SyncPlan (Full) reaches 96.1% TAR on the standard Coordination setting, 93.0% on Dynamic (Coordination), 88.3% on Dynamic (Ring), and 100% on Dynamic (Symmetric). The paper reports an average improvement of 12.2 percentage points over the strongest LLM-based baseline in each setting, while requiring less than 0.05% of their wall-clock runtime (SyncPlan runtimes are reported in seconds, 4.32s–8.80s, versus hours for A-ToM and Collab and minutes for ProAgent and DPT-Agent).
  • Honor of Kings task achievement. SyncPlan (SFT + RL) achieves 86.3% ± 5.3% TAR with a Real-Time Ratio of 0.83 ± 0.07x, versus DPT-Agent at 68.7% ± 2.9% (RTR 21.76 ± 2.1x) on Gemini-3.5-Flash and 71.4% ± 4.8% (RTR 23.10 ± 2.8x) on DeepSeek-R1 (Thinking). The paper states this surpasses DPT-Agent by 17.6 percentage points and reduces relative runtime by over 26×.
  • Staleness detection matters more than replanning frequency. On the Coordination layout under dynamic events, removing the PSD costs 8+ TAR points (82.3% ± 9.5% versus 94.1% ± 5.9% for Full SyncPlan), while blind periodic replanning at 4 or 8 FPS collapses to 23.5% TAR with RT of 41.50s and 17.41s respectively. On the standard layout, removing the PSD has no effect (96.0% for both), because no perturbation invalidates the initial plan.
  • RL supplies execution-aligned behavior. Without RL, Full SyncPlan reaches 88.7% ± 3.2% dynamic TAR on Coordination; with RL it reaches 94.1% ± 5.9%. On HoK, SFT-only reaches 79.0% ± 2.5% TAR with ATR 3.9% ± 3.4%, improving to 86.3% ± 5.3% and ATR 2.3% ± 1.6% after RL. The authors attribute this to the SFT-only model not accounting for the bot executor's movement timing and collision dynamics.
  • Deadlock suppression comes from both training stages. Full SyncPlan maintains the lowest deadlock density during training, while the variant without SFT shows higher rates; SFT teaches structurally valid chains and RL reduces deadlocks further through execution-level collision feedback.
  • Model capacity has a threshold. Performance scales log-linearly with parameter count across LLaMA-3.2-1B/3B, LLaMA-3.1-8B and Qwen2.5-(0.5/1.5/3/7)B-Instruct, with a critical threshold between 1B and 1.5B; below 1B models fail to produce syntactically valid action chains at non-trivial rates, and gains plateau above 3B because the structured schema itself constrains the output space.
  • Backbone comparison. Across the ten evaluated LLMs, Gemini-3.5-Flash and DeepSeek-R1 are reported as the leading backbones.
  • Hardware/runtime profile is not reported. The paper does not report GPU types, training compute budgets, or absolute cost figures for training; it reports wall-clock runtime ratios and per-episode timings only.

Methodology in Plain English

The researchers separate thinking from acting. A single LLM coordinator is given the current environment state and a team-level task and returns one action chain per agent, each chain a short sequence of low-level actions and wait steps. A runtime executor walks each agent through its chain frame by frame; if an agent's next step is a wait step, only that agent is blocked while others continue.

Because waits can be mutual, the executor builds a graph where an edge means "agent i is waiting on agent j" and searches for cycles every frame; a cycle is a deadlock and triggers a replan. To decide when to replan for reasons other than deadlock, a small neural detector looks at which entities the remaining chains touch, what state those entities are in, and how the state recently changed, and outputs a single replan probability compared against a threshold. This replaces the fixed-frequency LLM calls used by prior coordinators.

For training, the coordinator is first fine-tuned on expert gameplay trajectories and distilled data so it produces valid structured chains, then trained with reinforcement learning where rewards come from actually executing the chains in the environment — partial task progress plus a success bonus, minus penalties for syntax errors, semantic errors, deadlocks, and timeouts. During RL, scripted dynamic perturbations are disabled, so the reported gains on dynamic evaluation come from better alignment with the real executor's timing and collision behavior rather than from training on the perturbations. Overcooked was augmented with three scripted perturbations (a dropped held item, partial scattering of pot contents, agent displacement); Honor of Kings provides a naturally dynamic 5v5 MOBA setting where up to five allied heroes are controlled and the rest act under built-in policies.

Why This Matters

The paper argues that the real bottleneck in LLM coordination is not plan quality alone but when to recompute, and shows that a cheap learned trigger plus explicit wait semantics can deliver both adaptivity and sub-0.05%-of-baseline runtime. This reframes LLM agents as slow, long-horizon planners paired with fast, deterministic runtimes rather than as per-step decision makers — a separation that generalizes beyond games.

Real-world applications (extrapolations from the paper's claims, not evaluations in the paper):

  • Multi-robot fleets and warehouse picking, where robots must wait on each other and on shared resources without a central LLM in the loop every frame.
  • Real-time game AI and NPC/teammate coordination, the paper's own testbeds (MOBA commander mode, cooperative cooking).
  • Industrial assembly or human-robot teams, where dependency-driven waiting and stall detection prevent destructive concurrent actions.
  • Emergency response and drone swarm tasking, where plans go stale quickly and communication latency rules out constant replanning.

Industry relevance: the results suggest that LLM coordination can be deployed under real-time response budgets by amortizing planning across frames and invoking the model on demand, and that small models (threshold between 1B and 1.5B parameters) can serve as coordinators once fine-tuned — relevant for on-device or latency-sensitive deployment.

Future Directions

  • Scalability and team size. The authors list scalability and larger team sizes as future work; the paper evaluates two agents in Overcooked and up to five controlled heroes in Honor of Kings.
  • Generalization to new environments. Transferring the coordinator and the staleness detector to unseen environments is named as open work; the current PSD is trained per setup.
  • Stronger recovery from failure modes. The authors plan to enhance recovery mechanisms against execution failures, persistent stalls, and rapid environmental dynamics — noting that the deadlock detector only handles cyclic Wait_agents dependencies, not unsatisfied Wait_entity predicates, timeouts, or other non-cyclic failures.
  • Where the adaptivity actually comes from. Because RL runs with scripted dynamic events disabled, an open question is how much further gains are available by training directly on perturbed execution feedback, and how sensitive the PSD threshold is across environments.

Target Audience

Robotics and embodied-AI researchers working on multi-agent coordination, LLM-based task planning, and real-time execution; game AI engineers building teammate or commander agents; and practitioners who need LLM planners to fit inside latency budgets. It is also useful for readers interested in the systems question of how to combine slow learned planners with deterministic, verifiable runtime machinery.

Authors’ abstract

LLM-based multi-agent coordination faces a fundamental trade-off between efficiency and adaptivity in dynamic environments. Existing approaches typically rely on repeated LLM invocations or multi-round communication to adapt decisions during execution, introducing substantial latency and making coordination vulnerable to asynchronous progress and environmental changes. Conversely, one-shot planning reduces coordination overhead but produces open-loop plans that can quickly…

The full abstract on arXiv
Read the original paper

Related papers