Memory Transfer Planning: LLM-driven Context-Aware Code Adaptation for Robot Manipulation
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly explored in robot manipulation, but many existing methods struggle to adapt to new environments. Many systems require either environment-specific policy training or depend on fixed prompts and single-shot code generation, leading to limited transferability and manual re-tuning. We introduce Memory Transfer Planning (MTP), a framework that leverages successful control-code examples from different environments as procedural knowledge, using them as in-context guidance for LLM-driven planning. Specifically, MTP (i) generates an initial plan and code using LLMs, (ii) retrieves relevant successful examples from a code memory, and (iii) contextually adapts the retrieved code to the target setting for re-planning without updating model parameters. We evaluate MTP on RLBench, CALVIN, and a physical robot, demonstrating effectiveness beyond simulation. Across these settings, MTP consistently improved success rate and adaptability compared with fixed-prompt code generation, naive retrieval, and memory-free re-planning. Furthermore, in hardware experiments, leveraging a memory constructed in simulation proved effective. MTP provides a practical approach that exploits procedural knowledge to realize robust LLM-based planning across diverse robotic manipulation scenarios, enhancing adaptability to novel environments and bridging simulation and real-world deployment.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 20 of its 22 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
20 of 22 references.
References · 20
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
- 2023Open X-Embodiment: Robotic Learning Datasets and RT-X Modelscited by 862
- 2023VoxPoser: Composable 3D Value Maps for Robotic Manipulation with Language Modelscited by 750
- 2019RLBench: The Robot Learning Benchmark & Learning Environmentcited by 689
- 2022ProgPrompt: Generating Situated Robot Task Plans using Large Language Modelscited by 611
- 2021CALVIN: A Benchmark for Language-Conditioned Policy Learning for Long-Horizon Robot Manipulation Taskscited by 584
8 more
- 2023SayPlan: Grounding Large Language Models using 3D Scene Graphs for Scalable Robot Task Planningcited by 294
- 2020Language Conditioned Imitation Learning over Unstructured Datacited by 209
- 2021Skill Induction and Planning with Latent Languagecited by 99
- 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
- 2025Embodied AI Agents: Modeling the Worldcited by 61
- 2023Open-Ended Instructable Embodied Agents with Memory-Augmented Large Language Modelscited by 37
- 2024Lifelong Robot Library Learning: Bootstrapping Composable and Generalizable Skills for Embodied Control with Language Modelscited by 27
- 2024RL-STaR: Theoretical Analysis of Reinforcement Learning Frameworks for Self-Taught Reasonercited by 4
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Act-Observe-Rewrite: Multimodal Coding Agents as In-Context Policy Learners for Robot Manipulationcited by 9
- 2026Learning and Transferring Closed-Loop Robot Softwarecited by 2
- 2026Self-Evolving Agent Harnesscited by 0
- 2026ChunkAct: Action Chunking for Agentic Roboticscited by 0
- 2026ChunkAct: Action Chunking for Agentic Robotics13 Oct 2026
- 2026Self-Evolving Agent Harness13 Oct 2026
- 2026Learning and Transferring Closed-Loop Robot Software17 Sep 2026
- 2026Act-Observe-Rewrite: Multimodal Coding Agents as In-Context Policy Learners for Robot Manipulation3 Mar 2026