Skip to content
Robotics.world

Research

When Replanning Becomes the Bottleneck: Budgeted Replanning for Embodied Agents

Embodied agents constantly replan to recover from execution drift, partial observability and coordination hazards, but every LLM-based replanning call carries an accumulated textual context — task…

The paper’s first page · arXiv:2608.01428
arXiv
2608.01428 · accepted · ICML
Published
2026-08-02
Authors
Shuaijun Liu, Feiyang You, Xingwei Chen, Ningxin Su

In plain words

Embodied agents constantly replan to recover from execution drift, partial observability and coordination hazards, but every LLM-based replanning call carries an accumulated textual context — task specs, history, failure traces and, in multi-agent settings, messages from other agents — that grows over time and across agents.

AI summary

Overview

Research area: Embodied AI systems — specifically the systems-level cost of LLM/VLA-based replanning in closed-loop robotic agents (navigation, manipulation, multi-agent coordination).

Technical level: Advanced. The paper assumes familiarity with transformer inference, token budgets, tail-latency metrics and service-level objectives (SLOs), and embodied benchmarks such as Meta Habitat, RoboFactory and AirSim.

Scope (one sentence): The paper reframes replanning in embodied agents as a budgeted control problem — deciding whether to replan, which mode to use, and how many tokens and how much latency to spend per call — and introduces a controller (BRACE) plus a token-pruning module (E-RECAP) to keep replanning within real-time deadlines as accumulated context grows.

What This Paper Is About

Embodied agents constantly replan to recover from execution drift, partial observability and coordination hazards, but every LLM-based replanning call carries an accumulated textual context — task specs, history, failure traces and, in multi-agent settings, messages from other agents — that grows over time and across agents. Once that context is large, replanning latency develops heavy tails and misses real-time deadlines even while task success stays at 100%, which average-latency or success-only reporting completely hides. The goal is to treat each replanning call as a metered systems primitive with an explicit token budget and latency target, and to compress the replanning context so those budgets can actually be met.

Key Contributions

  1. Diagnosis of a hidden failure mode. The authors show that replanning cost and variability under context growth can dominate closed-loop behavior, and that high task success can mask persistent deadline misses — motivating per-call tail-latency and SLO-violation reporting instead of episode-level aggregates.
  2. BRACE, a budgeted replanning controller. BRACE decides whether a trigger produces a planner invocation, selects a replanning mode, and sets a per-call token budget B_t (planner input after compression) and a latency target SLO_t. It includes stability policies — cooldown and commit windows plus failure-aware overrides — and phase-level accounting that enables auditable, budget-matched comparisons between context-reduction methods.
  3. E-RECAP, a trained progressive token pruner for replanning context. A lightweight predictor scores token importance from intermediate transformer hidden states; pruning is applied at selected layers, always preserving head tokens (task specification) and a tail window (recent context), with the remaining budget filled by top-scoring tokens. Unlike typical VLM/VLA pruning, the object pruned is the long-horizon replanning prompt rather than per-frame visual tokens or single-step queries.
  4. Cross-platform evaluation. Results span Meta Habitat (navigation), RoboFactory (manipulation/coordination), Microsoft AirSim (multi-agent traffic/UAV with K=8), plus RoboSuite and LIBERO extensions, no-replanning and frozen-plan baselines, a harder RoboFactory setting, and a focused single-arm real-robot evaluation on PickFruit and PushT.

Main Findings

  • Success saturates while deadlines are missed. On Meta Habitat navigation with a 2,500 ms SLO, "No BRACE" (no budgeting, no compression) reaches 100.0% success across 30 episodes but violates the SLO on 85.5% of replanning calls. RoboFactory Pass-Shoe (SLO 250 ms) and AirSim K=8 intersection (SLO 2,500 ms) both show 100.0% success with 100.0% SLO violation rates on 10 episodes each.
  • Budgeting plus pruning cuts tokens and violations together. BRACE + E-RECAP reduces replanning-call token counts by 62–92% and SLO violation rates from 85.5–100.0% to 4.7–50.0% in these success-saturated settings: Habitat drops from 235 to 20 tokens and from 85.5% to 4.7% violations; RoboFactory Pass-Shoe from 1,566 to 319 tokens and 100.0% to 50.0%; AirSim from 2,934 to 1,114 tokens and 100.0% to 4.7%, with P95 latency falling from 8,520 ms to 1,640 ms.
  • E-RECAP speeds up replanning as agents multiply. On Habitat-Lab (MP3D) PointNav at keep ratio r = 0.7, E-RECAP removes 71.1% of tokens per replanning call at K=1, 73.4% at K=4 and 76.3% at K=8, yielding 2.09×, 2.33× and 2.64× latency speedups (2,847 → 823 tokens and 2.34 s → 1.12 s at K=1; 38,924 → 9,234 tokens and 29.67 s → 11.23 s at K=8) with minimal change in success and SPL (0.85 → 0.84 success at K=1; 0.80 → 0.79 at K=8).
  • Pruning matters more than the controller in easy regimes, and both matter in hard ones. In Habitat shortest-path-noise execution, both BRACE+E-RECAP and No-BRACE+E-RECAP drop the planner input from ≈235 to ≈20 tokens and cut violations from ≈85% to single digits. In the harder RoboFactory setting where open-loop, frozen-plan and No BRACE all reach 0.0% success, BRACE + E-RECAP reaches 80.0% success with 4.6% SLO violations (P95 247.2 ms).
  • Budget-matched comparisons favour E-RECAP. At B = 128 on the RoboFactory Pass-Shoe anchor, all listed methods achieve task success, so only cost is compared: E-RECAP reports the lowest latency P95 (207.09 ms) and violation rate (0.49%), ahead of KVTC (210.33 ms, 1.01%), TurboQuant (221.57 ms, 1.73%), ReST-KV (231.95 ms, 2.27%), Grad-Hidden Saliency (239.67 ms, 2.43%), Token Recycling (242.52 ms, 3.24%), Robust Compression Boundary (244.21 ms, 3.74%), Gated Attention (248.14 ms, 4.27%), Sub-LIME (263.78 ms, 9.98%) and others.
  • Heuristic truncation at the same budget is inconsistent. At B = 128, random truncation reaches 200.8 ms P95 / 239.6 ms P99, recency truncation 204.9 / 225.6 ms, and structured summaries 314.4 / 347.3 ms, with bind rates of 94.9%, 95.0% and 94.2% respectively. At the tighter B = 20 on Habitat, "Recency" is the strongest heuristic and also reaches 0.0% SLO violation, while random and structured reductions are substantially weaker — the authors use this to argue selectors should be judged on matched-budget quality retention, not raw token count.
  • Ablations isolate where the gains come from. Pruning overhead is small relative to planner latency — E-RECAP adds only ≈35 ms versus ≈2.4 s of planner latency on the Habitat slice. In the Habitat no-replanning comparison, success and SPL are essentially flat across conditions (53.3% / 0.519 SPL for no-initial-plan, 53.3% / 0.515 for No BRACE, 53.3% / 0.519 for BRACE + E-RECAP at 4.533 replans/episode), while P95 latency falls from 5,492 ms to 2,486 ms and violations from 93.4% to 0.0%.
  • Real-robot results follow the same pattern. On single-arm PickFruit, one-shot execution succeeds 8.0%, No BRACE 24.0% (3.4 replans/episode, 42.7% violations), BRACE + E-RECAP 40.0% (1.9 replans/episode, 18.6% violations). On PushT: 0.0%, 12.0% (61.3% violations) and 32.0% (27.5% violations) respectively.
  • Pruning alone does not fix feedback loops. Repeated failures and coordination hazards can re-trigger replanning; cooldown/commit windows and failure-aware overrides reduce this churn, and budgeting reduces both replanning overhead and coordination wait (6607.3 ms for No BRACE versus 6241.7 ms with BRACE + E-RECAP in the harder RoboFactory setting).

Methodology in Plain English

The authors wrap the replanning step of an embodied agent in a small controller. At every step, trigger signals (periodic, failure-driven, or hazard-driven) arrive; the controller checks whether enough steps have passed since the last replan and since the last plan change, and only then allows a planner call. Cooldown and commit windows prevent rapid back-and-forth replanning, while failure-aware overrides let the agent bypass those gates and raise budgets when failures pile up. When a call is allowed, the controller picks which modules are enabled and sets two numbers: a token budget for the planner input and a latency target for the whole call path.

To hit the token budget, the E-RECAP module prunes the accumulated context inside the transformer. A small trained predictor assigns an importance score to each token at chosen layers; the pruning step always keeps a fixed set of head tokens (which carry the task specification) and a tail window (which carries recent context), then fills the rest of the budget with the highest-scoring tokens. Because pruning happens progressively across several layers rather than once at the end, the sequence shrinks as computation proceeds.

To make comparisons fair, every phase on the call path — compression, retrieval, planning, optional clarification — is timed and token-counted separately, and logs are emitted per call. That lets the authors report P95/P99 latency and the fraction of calls that exceed the deadline, and lets alternative compression methods be forced to the same token budget as E-RECAP, so differences reflect selection quality rather than simply spending more tokens. Experiments run on 8× NVIDIA RTX 5880 Ada GPUs (48 GB VRAM each) in single-GPU mode unless noted, with "No BRACE" as the no-budgeting/no-compression baseline and random truncation, recency truncation and structured summaries as budget-matched baselines, plus true no-replanning (no-initial-plan / open-loop) and frozen-plan system baselines.

Why This Matters

Impact on research. The paper argues that embodied evaluations reporting only success or mean latency can conceal deadline-miss behavior that would destabilize a real control loop, and recommends that future work report the SLO, at least one tail percentile (P95/P99) and the violation rate alongside a phase-level breakdown. The callable interface — explicit per-call token budget, latency SLO, and phase accounting — makes efficiency modules composable and auditable rather than folding all cost changes into a single end-to-end number.

Real-world applications:

  • Multi-agent manipulation and coordination on factory-style lines, where agents pass objects and message each other while under tight per-call deadlines (RoboFactory Pass-Shoe).
  • Navigation in cluttered indoor environments where accumulated history and multi-agent context inflate planner prompts (Meta Habitat, K agents).
  • Multi-agent traffic and UAV interaction at intersections, where K = 8 agents share a bounded latency budget (Microsoft AirSim).
  • Single-arm tabletop pick-and-place with an LLM + VLA stack, where recovery from an intermediate execution failure determines whether the task completes at all (PickFruit, PushT).

Industry relevance. Any deployed system that calls a hosted or on-premise LLM/VLA planner in a control loop pays for tokens and wall-clock time; explicit budgeting lowers token spend (62–92% reduction here), stabilizes tail latency, and keeps responsiveness predictable as context grows. Phase-level accounting also makes it possible to attribute regressions to retrieval, compression, or the planner itself, which is the kind of auditability deployment and safety review processes require.

Future Directions

  • Richer controller policies: the paper explicitly lists risk-aware budget allocation and failure-conditioned overrides as open directions; the current controller uses simple cooldown/commit thresholds and rules rather than a learned policy.
  • Tighter integration with retrieval and caching backends: BRACE is designed to compose with RAG-style subplan retrieval and plan caching, but the main quantitative evidence centres on pruning; how retrieval overhead trades against pruning under the same accounting is left for further work.
  • Broader coverage: long-horizon manipulation and human-in-the-loop settings are named as untested territory, and the real-robot evaluation is presented as a focused validation on two tasks rather than a full deployment study.
  • Formal guarantees: the anti-churn behaviour of the stability gate is offered as controller-side structure and empirical auditability, not a theorem-level stability guarantee for the full closed loop — leaving a formal treatment of replanning stability as an open question.

Target Audience

Researchers and engineers working on LLM/VLA-driven embodied agents and robot learning who care about deployment-time behaviour rather than benchmark success alone; systems researchers interested in resource-bounded reasoning and metareasoning applied to planning; practitioners building real-time robotic control loops on top of hosted language or vision-language-action models; and benchmark designers who want to know which metrics expose deadline-miss failures that aggregate success hides. Readers should be comfortable with transformer inference costs, latency percentiles and SLO accounting to get the most from the quantitative sections.

Authors’ abstract

Embodied agents replan frequently to recover from execution drift, partial observability, and coordination hazards, but each LLM-based replanning call can consume an accumulated textual context that grows over time and across agents. Once this context becomes large, replanning latency develops heavy tails and can miss real-time deadlines even when task success remains high, a failure mode that is hard to detect from average latency or success alone. We present BRACE, a…

The full abstract on arXiv
Read the original paper

Related papers