cs.ROSep 23, 2025

Robotic Ultra-Long-Horizon Manipulation Skills via Human-guided Lifelong Code Generation

Authors: Yuan Meng, Zhenguo Sun, Max Fest, Xiangtong Yao, Xukun Li, Zhenshan Bing, Alois Knoll

Organizations: School of Computation, Information and Technology Technical University of Munich Munich, Germany · Beijing Academy of Artificial Intelligence (BAAI) Beijing, China · The State Key Laboratory for Novel Software Technology Nanjing University Suzhou, China

Abstract

Large language models (LLMs) can translate natural-language instructions for robotic manipulation into executable code, but ambiguity, noisy generations, and limited context windows make ultra-long-horizon tasks unreliable. Closed-loop approaches that rely only on LLM feedback also struggle because LLMs have limited robotic reasoning, even when task errors are obvious to humans. Feedback is often stored in representations that generalize poorly to unseen tasks and can cause catastrophic forgetting as new corrections accumulate. We propose LYRA, a human-guided lifelong skill learning and code generation framework that distills human feedback into modular, reusable skills and incrementally extends their functionality across successive interactions while preserving previously learned behavior. External memory stores learned skills and execution examples; retrieval-augmented generation selects relevant knowledge, while user hints guide reuse when retrieval is insufficient, supporting ultra-long-horizon execution. Experiments on Ravens, Franka Kitchen, LIBERO-long, MetaWorld, and real-world tasks show a 0.93 success rate, up to 27% higher than baselines, and a 42% improvement in correction efficiency. LYRA also robustly solves ``build a house'', which requires planning over 20 primitives.

Explore similar work

CardsList
  1. A Few Words Go a Long Way: Language Guided Robot Policy Synthesis

    Jul 26, 2026Daphne Chen, Archit Ritesh Jain, Eric Goossen +4Robot PoliciesScalable Robot Learning

  2. Efficient Skill Grounding via Code Refactoring with Small Language Models

    Jun 6, 2026Sera Choi, Wonje Choi, Saehun Chun +4Embodied AgentsHuman-To-Robot Transfer

  3. ASPIRE: Agentic /Skills Discovery for Robotics

    Jun 30, 2026Runyu Lu, Yubo Wu, Ethan Kou +11Human-To-Robot TransferRobot Navigation