Distilled Feature Fields Enable Few-Shot Language-Guided Manipulation

William Shen, Ge Yang, Alan Yu, Jansen Wong, Leslie Pack Kaelbling, Phillip Isola

TL;DR

F3RM (Feature Fields for Robotic Manipulation) bridges the gap between 2D semantic foundation models and 3D geometric reasoning. By distilling features from models like CLIP and DINO into a 3D Neural Radiance Field (NeRF), robots can perform complex 6-DOF manipulation tasks on novel objects using only a handful of demonstrations or natural language commands.

What Problem Does This Paper Address?

Robotic manipulation in "the wild" is hard because it requires two distinct types of understanding:

  1. 3D Geometry: The robot needs to know exactly where surfaces are to plan a stable 6-DOF (degrees of freedom) grasp.
  2. Open-Set Semantics: The robot needs to understand what an object is based on abstract descriptions (e.g., "pick up the metallic mug") even if it has never seen that specific object before.

Current 2D foundation models like CLIP have incredible semantic knowledge but lack 3D spatial grounding. Conversely, traditional 3D robotic representations are great at geometry but often fail to generalize to new object categories. F3RM aims to combine the best of both worlds by "lifting" 2D semantic features into a precise 3D volume.

Methods

The core of the approach is the Distilled Feature Field (DFF). The process works in three main stages:

  1. Scene Scanning & NeRF Construction: The robot scans a tabletop scene with an RGB camera. It uses these images to build a Neural Radiance Field (NeRF). Crucially, this NeRF is trained to predict not just color (RGB), but also high-dimensional feature vectors.
  2. Feature Distillation: The authors distill features from pre-trained 2D models like DINO ViT (good for geometry/parts) and CLIP (good for language/semantics). To get dense, patch-level features from CLIP—which usually only provides one vector per image—they employ the MaskCLIP reparameterization trick.
  3. Pose Optimization:
    • Few-Shot: A task (like "grasp mug by handle") is defined by a few demonstrations. The robot samples feature vectors at "query points" around the gripper in these demos to create a task embedding.
  4. Language-Guided: For a text query like "pick up the bowl," the robot uses the CLIP text embedding to find regions in the 3D feature field that match the description.
  5. In both cases, the robot optimizes the gripper's 6-DOF pose to maximize the similarity between the field's features and the target embedding.
Figure 1: Distilled Feature Fields Enable Open-Ended Manipulation. (1) Robot uses a selfie stick to scan RGB images of the scene (camera frustums shown). (2) Extract patch-level dense features for the images from a 2D foundation model, and distill them into a feature field (PCA shown) along with modeling a NeRF. (3) We can query CLIP feature fields with language to generate heatmaps and infer 6-DOF grasps on novel objects given only ten demonstrations.

Datasets

The authors evaluated F3RM on real-world tabletop scenes using:

  • YCB Object Set: A standard robotics benchmark (e.g., apple, cracker box, SPAM can).
  • "In-the-wild" Objects: Various items collected from the lab or purchased online (e.g., novel mugs, screwdrivers, toys, and racks).
  • Evaluation: They tested on 10 scenes for few-shot imitation and 13 complex scenes for language-guided manipulation, involving a total of 50 unique language queries.

Key Insights and Ideas

  • Complementary Strengths: The authors found that DINO and CLIP features are complementary. DINO is excellent at understanding object parts and geometry (e.g., identifying a handle), whereas CLIP is superior at high-level categorical and attribute-based reasoning (e.g., "metal" vs. "plastic").
  • Geometric Generalization: Because the representation is grounded in 3D, the robot can generalize demonstrations across categories. A robot shown how to grasp a mug by its lip can successfully grasp a novel bowl or measuring beaker because they share similar "lip" geometry in the feature space.
  • MaskCLIP is Key: Standard CLIP features are too coarse for 3D distillation. The MaskCLIP trick allows for high-resolution 3D feature fields without needing to fine-tune the massive CLIP model.
Figure 2: Representing 6-DOF Poses. (a) Recording the gripper pose T∗in virtual reality (VR) on an example mug. (b) We approximate the continuous local field via a fixed set of query points in the gripper’s canonical frame. (c) We concatenate feature vectors at these query points, then average over n (we use n = 2) demonstrations. This gives a task embedding ZM for the task M.

Key Results

  • Few-Shot Success: F3RM using CLIP ResNet features achieved a 78% success rate (39/50) across five different grasping and placing tasks, significantly outperforming the MIRA baseline (30%).
  • Language-Guided Manipulation: The robot successfully executed 31 out of 50 natural language queries. It showed impressive generalization to out-of-distribution (OOD) categories, succeeding in 9 out of 10 OOD trials.
  • Robustness to Clutter: The system successfully grasped objects even when they were partially buried or surrounded by distractors, as seen in the "caterpillar in a toy pile" experiment.

Limitations and Future Work

  • Latency: The system currently takes about 3 minutes to scan a scene and model the feature field. This is too slow for dynamic environments where objects might move.
  • "Bag-of-Words" CLIP: CLIP sometimes struggles with complex relational logic (e.g., "mug on a can of spam"). The robot might focus on the "can of spam" rather than the mug.
  • View Dependency: The quality of the 3D reconstruction relies on having enough camera views (at least 20).
  • Future Directions: The authors suggest moving toward "generalizable NeRFs" that can reconstruct scenes from just a few views in milliseconds, potentially enabling closed-loop dynamic manipulation.

Summary updated

BibTeX
@inproceedings{shen2023distilled,
  author = {William Shen and Ge Yang and Alan Yu and Jansen Wong and Leslie Pack Kaelbling and Phillip Isola},
  title = {{Distilled Feature Fields Enable Few-Shot Language-Guided Manipulation}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=T8FwKtO4es},
}
Figure