Memory Transfer Planning: LLM-driven Context-Aware Code Adaptation for Robot Manipulation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kagaya, Tomoyuki, Lakshmi, Subramanian, Lou, Yuxuan, Yuan, Thong Jing, Karlekar, Jayashree, Pranata, Sugiri, Murakami, Natsuki, Kinose, Akira, You, Yang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916975087714304
author Kagaya, Tomoyuki
Lakshmi, Subramanian
Lou, Yuxuan
Yuan, Thong Jing
Karlekar, Jayashree
Pranata, Sugiri
Murakami, Natsuki
Kinose, Akira
You, Yang
author_facet Kagaya, Tomoyuki
Lakshmi, Subramanian
Lou, Yuxuan
Yuan, Thong Jing
Karlekar, Jayashree
Pranata, Sugiri
Murakami, Natsuki
Kinose, Akira
You, Yang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_24160
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Memory Transfer Planning: LLM-driven Context-Aware Code Adaptation for Robot Manipulation
Kagaya, Tomoyuki
Lakshmi, Subramanian
Lou, Yuxuan
Yuan, Thong Jing
Karlekar, Jayashree
Pranata, Sugiri
Murakami, Natsuki
Kinose, Akira
You, Yang
Robotics
Artificial Intelligence
Machine Learning
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.
title Memory Transfer Planning: LLM-driven Context-Aware Code Adaptation for Robot Manipulation
topic Robotics
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2509.24160