Transferring Foundation Models for Generalizable Robotic Manipulation

Jiange Yang, Wenhui Tan, Chuhao Jin, Keling Yao, Bei Liu, Jianlong Fu, Ruihua Song, Gangshan Wu, Limin Wang

TL;DR

Researchers have developed a novel paradigm that uses internet-scale foundation models (like GPT-4 and SAM) to translate vague human instructions into precise "language-reasoning segmentation masks." By feeding these masks into a specialized two-stream policy model, they achieved high generalization to unseen objects and complex backgrounds using only a small fraction of the data required by traditional methods.

What Problem Does This Paper Address?

General-purpose robotic manipulation remains a "holy grail" in AI. While models like Google’s RT-1 have shown promise, they typically require massive datasets—hundreds of thousands of demonstrations collected over years—to function reliably. Even then, these models often struggle to generalize to new objects or environments not present in their training data.

The core challenges are twofold:

  1. Instruction Ambiguity: Natural language is often underspecified (e.g., "I spilled the milk" doesn't explicitly say "pick up the sponge").
  2. Data Scarcity: Collecting real-world robot data is expensive and slow. Without diverse data, robots fail when they encounter a new tablecloth or a slightly different-looking toy.

Methods

The authors propose a system that bridges the gap between high-level reasoning and low-level control by transferring knowledge from vision and language foundation models.

The Perception Pipeline

Instead of feeding raw images directly into a policy, the system uses a multi-stage "Mask Generation" process:

  • Reasoning: GPT-4 interprets human demands (e.g., "I'm thirsty") and identifies the necessary target objects (e.g., "water bottle").
  • Detection & Tracking: Grounding DINO locates the objects initially, and MixFormer tracks them across frames to handle occlusions (like when the robot's own arm blocks the view).
  • Segmentation: The Segment Anything Model (SAM) generates precise masks for these objects.
Figure 2. Our model comprises four components: (1) GPT-4 reasons target objects based on human demands. (2) A multi-modal prompt generator, comprising object detection and tracking models, transforming input images and target object prompts into bounding boxes. (3) The Segment Anything model, which uses bounding boxes as prompts to segment target objects and generate task-relevant masks. (4) A two-stream policy model that processes images, language-reasonin segmentation masks, and robot proprioception to predict actions.

The Two-Stream Policy Model (TPM)

The heart of the control system is a two-stream architecture:

  1. Global RGB Stream: A deep ResNet-50 captures the overall scene context and spatial relationships.
  2. Local RGB-M Stream: A shallower ResNet-18 processes the RGB image concatenated with the object masks (RGB-M). This focuses the model on the geometry and pose of the specific objects to be manipulated.

These streams are fused using attention mechanisms (CBAM) and combined with the robot's proprioception (its own joint states) to predict continuous actions.

Datasets

The researchers collected a relatively small dataset to prove sample efficiency:

  • Training Data: 1,000 demonstrations of pick-and-place tasks involving 40 common objects across 3 different tabletop backgrounds.
  • Evaluation: The model was tested on 20 unseen objects (new categories/instances) and a new background with complex textures and lighting to test out-of-distribution generalization.
The experimental setup featuring the Franka Emika robot and the diverse set of seen and unseen objects used for testing.

Key Insights and Ideas

  • Masks as a Universal Language: Segmentation masks act as a "geometric prior." Unlike raw pixels, masks tell the robot exactly what and where the object is, regardless of its color or texture. This is why the model generalizes so well to unseen objects.
  • Tracking > Detection: Frame-by-frame detection is jittery and fails when the robot arm covers the object. Using a dedicated tracker (MixFormer) makes the policy much more robust during the actual grasp phase.
  • The Power of Two Streams: The authors found that a single-stream model (RGB-M only) tends to overfit. The separate global RGB branch is crucial for depth estimation and understanding the wider environment, preventing the robot from "hovering" aimlessly in mid-air.
  • Sample Efficiency: By leveraging foundation models, the system achieves generalization results comparable to models trained on 100x more data.

Key Results

  • High Generalization: The model achieved an 80% success rate on unseen objects, nearly matching its performance on seen objects (82.5%).
  • Robustness: Even with 3–6 distractor objects cluttering the scene, the model maintained a 72.5% success rate.
  • Superiority over Baselines: The proposed method significantly outperformed "RT-1-like" baselines (which use language strings instead of masks) and "MOO-like" baselines (which use single-pixel prompts), especially in the unseen object category where the RT-1-like baseline dropped to 0% success.
  • Versatility: Beyond pick-and-place, the authors successfully extended the model to tasks like opening drawers, folding cloth, and stacking cubes.

Limitations and Future Work

  • Latency: Integrating heavy foundation models like GPT-4 and SAM introduces significant inference lag. The authors suggest using distilled, lightweight versions (like MobileSAM) for real-time deployment.
  • Prompt Engineering: The system currently relies on manually designed prompt templates for the LLM, which the authors hope to automate in the future via code generation.
  • Contact-Rich Tasks: While great for pick-and-place, tasks requiring complex tactile feedback (like threading a needle) still require more extensive demonstration data than this paradigm currently provides.

Summary updated

BibTeX
@inproceedings{yang2025transferring,
  author = {Jiange Yang and Wenhui Tan and Chuhao Jin and Keling Yao and Bei Liu and Jianlong Fu and Ruihua Song and Gangshan Wu and Limin Wang},
  title = {{Transferring Foundation Models for Generalizable Robotic Manipulation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00201},
}
Figure