Embodied Long Horizon Manipulation with Closed-loop Code Generation and Incremental Few-shot Adaptation

Yuan Meng, Xiangtong Yao, Haihui Ye, Yirui Zhou, Shengqiang Zhang +4 more
3/27/2025
cs.ROcs.AI

No official code found. Best implementation: Ghiara/DAHLIA (19 stars, MIT, last commit 2025-04-10).

Abstract

Embodied long-horizon manipulation requires robotic systems to process multimodal inputs-such as vision and natural language-and translate them into executable actions. However, existing learning-based approaches often depend on large, task-specific datasets and struggle to generalize to unseen scenarios. Recent methods have explored using large language models (LLMs) as high-level planners that decompose tasks into subtasks using natural language and guide pretrained low-level controllers. Yet, these approaches assume perfect execution from low-level policies, which is unrealistic in real-world environments with noise or suboptimal behaviors. To overcome this, we fully discard the pretrained low-level policy and instead use the LLM to directly generate executable code plans within a closed-loop framework. Our planner employs chain-of-thought (CoT)-guided few-shot learning with incrementally structured examples to produce robust and generalizable task plans. Complementing this, a reporter evaluates outcomes using RGB-D and delivers structured feedback, enabling recovery from misalignment and replanning under partial observability. This design eliminates per-step inference, reduces computational overhead, and limits error accumulation that was observed in previous methods. Our framework achieves state-of-the-art performance on 30+ diverse seen and unseen long-horizon tasks across LoHoRavens, CALVIN, Franka Kitchen, and cluttered real-world settings.

View on arXivView PDF

Code Implementations(1)

Ghiara/DAHLIACommunity100%
MIT

Official implementation of paper "Data-Agnostic Robotic Long-Horizon Manipulation with Vision-Language-Conditioned Closed-Loop Feedback"

191Shell, PythonDec 19, 20241 years agoMIT

Similar Papers

Cite this paper

@article{meng2025embodied,
  title  = {Embodied Long Horizon Manipulation with Closed-loop Code Generation and Incremental Few-shot Adaptation},
  author = {Yuan Meng and Xiangtong Yao and Haihui Ye and Yirui Zhou and Shengqiang Zhang and Zhenguo Sun and Xukun Li and Zhenshan Bing and Alois Knoll},
  year   = {2025},
  eprint = {2503.21969},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.21969v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.21969.svg)](https://codeofpaper.com/paper/2503.21969)

Discussion