Grasp2Vec: Learning Object Representations from Self-Supervised Grasping

Eric Jang, Coline Devin, Vincent Vanhoucke, Sergey Levine

Abstract

Well structured visual representations can make robot learning faster and can improve generalization. In this paper, we study how we can acquire effective object-centric representations for robotic manipulation by leveraging the physical act of grasping. We present Grasp2Vec, a self-supervised framework that learns to identify and localize objects by observing the changes in a scene before and after an interaction.

Introduction

Traditional computer vision approaches for robotics often rely on large-scale, human-labeled datasets like ImageNet. While effective for classification, these methods face a "ceiling": robots cannot easily adapt to new objects or environments without further human intervention. A critical challenge in robotics is transitioning from indiscriminate grasping (picking up any object) to instance grasping (retrieving a specific requested item).

To achieve this, a robot requires a representation that understands object identity and persistence. Grasp2Vec addresses this by asking: Can a robot learn what an "object" is simply by interacting with the world? By using the physical act of grasping as its own supervisor, the system learns to describe objects mathematically without a single human-provided label.

The Grasp2Vec Framework

The core intuition behind Grasp2Vec is object persistence. When a robot removes an object from a bin, the difference between the visual state of the bin before and after the grasp corresponds exactly to the object now held in the gripper. This allows the researchers to formulate an "arithmetic of scenes."

Conceptual overview of the Grasp2Vec framework, showing the relationship between scene changes and object embeddings.

Methods and Architecture

The system utilizes a ResNet-50 backbone to generate two distinct types of embeddings: one for the full scene ($\phi_s$) and one for the "outcome" image of the object held in the gripper ($\phi_o$). The training objective is defined by the relationship:

$$Embedding(Scene_{pre}) - Embedding(Scene_{post}) = Embedding(Object_{held})$$

To optimize this, the model employs an N-pairs loss, which encourages the difference between pre- and post-grasp scene embeddings to be close to the embedding of the grasped object while remaining distinct from unrelated objects.

Detailed architecture diagram showing the triplet of images (post-grasp, pre-grasp, and outcome) processed through ResNet-50 to compute the N-Pair Loss.

Once learned, these embeddings serve as a self-supervised reward function for Reinforcement Learning (RL). For a goal-conditioned task (e.g., "grasp the red bowl"), the robot compares the embedding of its current outcome to the goal embedding to determine success.

Experimental Setup and Datasets

The study evaluated Grasp2Vec across two primary domains:

  • Simulation: A Bullet-based environment using a 7-DoF Kuka arm with 44 training objects and 15 evaluation objects (mugs, bottles, bowls), totaling 15,000 successful grasps.
  • Real-World: A multi-robot setup using KUKA LBR iiwa robots. This massive dataset comprised 437,000 successful grasps collected autonomously over several weeks, featuring 500 diverse objects for training and 42 unseen objects for testing.

Key Results and Insights

  • Emergent Localization: A striking byproduct of the embedding task is the model's ability to localize objects. By taking the dot product of an object embedding with the spatial feature map of a scene, the model generates a "heatmap" of the object's location without ever being explicitly trained for detection or segmentation.
  • Localization Accuracy: Grasp2Vec achieved 80% localization accuracy on novel real-world objects, significantly outperforming a standard ResNet trained on ImageNet (15-18%).
  • Grasping Success: In goal-conditioned tasks, the model achieved an 80% success rate on seen objects and 59% on unseen objects, proving the robustness of the learned representations.
  • Compositionality: Because the embeddings are additive, the robot can handle composite goals (e.g., retrieving a set of objects) by averaging their respective embeddings.

Conclusion and Future Work

Grasp2Vec demonstrates that robots can acquire sophisticated, object-centric visual representations through autonomous interaction. While the model currently faces challenges with extreme visual ambiguity or unseen object orientations, it provides a scalable, label-free path toward more general robotic intelligence. Future work aims to integrate semantic labels and apply these representations to more complex relational reasoning and "pick and place" tasks.

Summary updated

BibTeX
@inproceedings{jang2018grasp,
  author = {Eric Jang and Coline Devin and Vincent Vanhoucke and Sergey Levine},
  title = {{Grasp2Vec: Learning Object Representations from Self-Supervised Grasping}},
  booktitle = {Conference on Robot Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=tENYfxfCrK-},
}
Figure