English

Learning from Trials and Errors: Reflective Test-Time Planning for Embodied LLMs

Machine Learning 2026-05-26 v3 Artificial Intelligence Computation and Language Computer Vision and Pattern Recognition Robotics

Abstract

Embodied LLMs endow robots with high-level task reasoning, but they cannot reflect on what went wrong or why, turning deployment into a sequence of independent trials where mistakes repeat rather than accumulate into experience. Drawing upon human reflective practitioners, we introduce Reflective Test-Time Planning, which integrates two modes of reflection: \textit{reflection-in-action}, where the agent uses test-time scaling to generate and score multiple candidate actions using internal reflections before execution; and \textit{reflection-on-action}, which uses test-time training to update both its internal reflection model and its action policy based on external reflections after execution. We also include retrospective reflection, allowing the agent to re-evaluate earlier decisions and perform model updates with hindsight for proper long-horizon credit assignment. Experiments on our newly-designed Long-Horizon Household benchmark and MuJoCo Cupboard Fitting benchmark show significant gains over baseline models, with zero-shot generalization to photorealistic HM3D environments and real-robot experiments on a Franka Panda arm. Ablations confirm that reflection-in-action and reflection-on-action are mutually dependent, and that retrospective reflection achieves better credit assignment than step-wise external feedback at lower computational overhead. Qualitative analyses further highlight behavioral correction through reflection.

Keywords

Cite

@article{arxiv.2602.21198,
  title  = {Learning from Trials and Errors: Reflective Test-Time Planning for Embodied LLMs},
  author = {Yining Hong and Huang Huang and Manling Li and Li Fei-Fei and Leonidas Guibas and Jiajun Wu and Yejin Choi},
  journal= {arXiv preprint arXiv:2602.21198},
  year   = {2026}
}
R2 v1 2026-07-01T10:50:30.999Z