EnvBridge: Bridging Diverse Environments with Cross-Environment Knowledge Transfer for Embodied AI

Tomoyuki Kagaya, Yuxuan Lou, Thong Jing Yuan, Lakshmi Subramanian, Jayashree Karlekar, Sugiri Pranata, Natsuki Murakami, Akira Kinose, Koki Oguri, Felix Wick, Yang You · Submission to ICLR 2025 · Rejected

TL;DR

Current LLM-based robotic manipulation agents struggle when dropped into unfamiliar environments without manual prompt tuning or environment-specific retraining. EnvBridge addresses this by saving successful robot control code from familiar source environments into memory, using an LLM to "translate" relevant past programs to the target environment's coordinate and API conventions, and using them as in-context demonstrations during re-planning.

What Problem Does This Paper Address?

Large Language Models (LLMs) have become popular backbones for embodied robotics, either translating language into action subgoals or generating executable control code directly (e.g., Code as Policies, VoxPoser). However, existing methods suffer from a transferability dilemma:

  • Policy-based agents require extensive, environment-specific retraining to bind natural language to numerical action spaces.
  • Zero-shot code-generation agents rely on rigid, hand-crafted system prompts. When facing unfamiliar environments or novel task formulations, their high-level planners and subtask composers frequently fail.

Human intelligence bridges new scenarios by recalling similar experiences from familiar settings and adapting them. EnvBridge brings this cross-environment transfer mechanism to LLM-driven embodied manipulation without requiring environment-specific model training.

Methods

EnvBridge builds upon the modular code-generation structure of VoxPoser (dividing control into high-level Planner decomposition and mid-level Composer low-level API parametrization) and introduces a three-phase recovery pipeline:

  1. Memory Construction: As an agent interacts with source environments, only successfully executed Python scripts (at the Planner and Composer levels) are logged alongside environment metadata and the task description. Low-level primitive calls are omitted because they vary less.
  2. Similarity-Based Memory Retrieval: When an initial execution fails in a target environment, the agent embeds the current query using Sentence-BERT (sentence-transformers/all-MiniLM-L6-v2) and computes cosine similarity against logged instructions at the corresponding hierarchy level to retrieve top-$K$ relevant successful scripts.
  3. Knowledge Transfer & Re-Planning: Rather than directly injecting code from another environment (which uses incompatible coordinate frames, scales, or gripper initialization steps), EnvBridge uses an LLM to translate the retrieved source code to the syntax, scale, and semantics of the target environment. The translated script then serves as an in-context example for the agent to re-plan alternative robot trajectories over multiple retry trials.

Datasets

The authors evaluated EnvBridge across three standard robotic manipulation simulation benchmarks; no new datasets were introduced:

  • RLBench: 10 tabletop manipulation tasks (e.g., TakeLidOffSaucepan, PushButton, CloseDrawer), tested over 20 trials per task using GPT-4o-mini.
  • MetaWorld: 5 simulated arm manipulation tasks (Assembly, Button-Press, Drawer-Open, Hammer, Window-Close), tested over 20 trials per task using GPT-4o.
  • CALVIN: 200 single-task instances from the validation split evaluating instruction variations (canonical single instructions vs. five GPT-4o paraphrased instructions).

Key Insights and Ideas

  • External knowledge can outperform in-domain knowledge: Surprisingly, on RLBench tasks, retrieving memory from a completely distinct benchmark (CALVIN) yielded a higher overall success rate (69.0%) than retrieving from memory generated within RLBench itself (65.5%). CALVIN provided distinct interaction primitives that unblocked otherwise intractable RLBench tasks like TakeLidOffSaucepan (boosting success from 0% baseline to 85%).
  • Unified memory compounds capability: In MetaWorld, combining memories from both the source and target environments achieved a 56% success rate, outperforming an agent drawing solely from in-domain memory (48%).
  • Knowledge translation is essential: Directly plugging foreign code into in-context prompts caused syntax and kinematic mismatches. Ablation showed that the LLM-based Knowledge Transfer translation step was critical to realizing cross-environment gains.
  • Robustness to linguistic diversity: While standard retries degrade when task prompts are paraphrased, EnvBridge's semantic retrieval buffer allows performance to increase (from 60.5% to 63.0% on CALVIN), demonstrating robustness to natural language phrasing.

Key Results

  • RLBench Benchmark: EnvBridge attained a 69.0% average success rate, outperforming zero-shot VoxPoser (36.5%), naive Retry (47.0%), and vision-based Self-Reflection (62.5%).
  • MetaWorld Cross-Transfer: EnvBridge reached 37% with RLBench memory and 56% with unified memory, significantly improving upon the 25% code-generation baseline.
  • CALVIN Instruction Robustness: Under paraphrased instructions, EnvBridge scored 63.0% compared to 57.5% for naive Retry and 32.0% for the learning-based Multi-Context Imitation Learning (MCIL) baseline.

Limitations and Future Work

  • Open-Loop Execution: Trajectories are generated open-loop between subtasks. The framework lacks reactive, closed-loop visual servoing to correct for mid-motion disturbances.
  • Trajectory & Collision Safety: Relying primarily on 3D affordance/avoidance maps can still produce unsafe arm trajectories during complex physical interactions.
  • Memory Scaling: Memory is currently searched via flat nearest-neighbor lookup; scaling to lifelong learning across dozens of domains will require structured memory pruning, clustering, or hierarchical indexing.
  • Multimodal Feedback: The current transfer mechanism operates primarily on natural language and code representations, leaving out multimodal perception (such as depth cameras, tactile feedback, or audio).

Summary updated

BibTeX
@misc{kagaya2024envbridge,
  author = {Tomoyuki Kagaya and Yuxuan Lou and Thong Jing Yuan and Lakshmi Subramanian and Jayashree Karlekar and Sugiri Pranata and Natsuki Murakami and Akira Kinose and Koki Oguri and Felix Wick and Yang You},
  title = {{EnvBridge: Bridging Diverse Environments with Cross-Environment Knowledge Transfer for Embodied AI}},
  year = {2024},
  eprint = {2410.16919},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.16919},
}
Figure