CAGE: Context-Aware Grasping Engine

Weiyu Liu, Angel Andres Daruna, Sonia Chernova

TL;DR

CAGE (Context-Aware Grasping Engine) is a framework that enables robots to select "semantically correct" grasps based on the specific task, object material, and object state. By using a Wide & Deep neural network architecture, the system balances the need to memorize specific grasping rules with the ability to generalize those rules to entirely new objects and categories.

What Problem Does This Paper Address?

In robotics, "stable" grasping (not dropping the object) is a well-studied problem. However, a stable grasp isn't always a functional one. For example, if you are handing a mug of hot coffee to someone, you should grasp the handle, not the rim. If the mug is empty and you need to pour from it, you might grasp the body.

This is known as semantic grasping. The challenge is that the "correct" way to hold something depends on a complex web of context: the task (pouring vs. handing over), the material (plastic vs. hot ceramic), and the state (full vs. empty). Previous attempts at this either relied on low-level visual features that don't generalize well or manual, hand-written rules that are impossible to scale to the real world.

Methods

The authors introduce CAGE, which treats grasping as a context-reasoning problem. The pipeline consists of three main stages:

  1. Semantic Representation: Instead of looking at raw pixels, CAGE extracts high-level features. It uses AffordanceNet to identify object parts (e.g., "handle," "container"), a spectrometer to identify materials (e.g., "metal," "ceramic"), and considers the task and object state (e.g., "hot," "empty").
  2. Object Embedding: Since objects have different numbers of parts, the authors use a technique inspired by Graph Neural Networks. They map each part's features to a dense vector and use "average pooling" to create a fixed-size representation of the entire object, regardless of its complexity.
  3. Wide & Deep Learning: This is the core reasoning module.
  4. The Wide component (a linear model) excels at "memorization"—learning specific, frequent combinations of features (e.g., "if task is pour and part is rim, then unsuitable").
  5. The Deep component (a feed-forward neural network) excels at "generalization" by learning latent embeddings that allow the robot to apply logic from a known object (like a mug) to a new one (like a bowl).

Datasets

The authors introduced a new benchmark dataset called SG14000:

  • Scale: 14,000 semantic grasps.
  • Diversity: 44 objects across categories like cups, spatulas, and bottles; 7 different tasks (pour, scoop, hammer, etc.); and 6 object states (hot, cold, empty, etc.).
  • Labels: Grasps are labeled as suitable, neutral, or unsuitable for a given context.

Key Insights and Ideas

  • The "Wide & Deep" Advantage: The authors found that semantic grasping requires a mix of rigid rules and flexible logic. The Wide & Deep architecture, originally designed for recommendation systems (like Google Play), is uniquely suited for this "memorization vs. generalization" trade-off.
  • Semantics Over Pixels: By reasoning about affordances (what a part is for) rather than just geometry (what a part looks like), the robot can realize that the "contain" part of a bowl and the "contain" part of a cup should be treated similarly during a pouring task.
  • State Matters: The ablation study proved that object state (e.g., "hot") is a critical feature. Removing state information significantly dropped the model's performance, confirming that "functional" grasping is highly dynamic.

Key Results

CAGE was tested against three baselines: Context Agnostic (random stable grasps), Visual Features (low-level descriptors), and Frequency Tables (simple co-occurrence).

  • Overall Performance: CAGE achieved a Mean Average Precision (MAP) of 0.84, significantly outperforming the best baseline (Visual Features at 0.64).
  • Generalization: CAGE showed a remarkable ability to generalize. In "Object Class Generalization" (testing on categories never seen during training), CAGE maintained high performance while other methods struggled to beat random chance.
  • Real-World Validation: On a physical Fetch robot, CAGE successfully executed 31 out of 32 suitable grasps and correctly rejected grasps for "impossible" scenarios (like trying to scoop with a flat spatula).

Limitations and Future Work

  • Manual Labeling: In the current implementation, the task and object state were manually provided to the robot. The authors suggest that future versions could integrate automated task planners or visual state detectors.
  • Material Classification Errors: The spectroscopic material sensor occasionally confused metal and glass. While this didn't ruin the grasping performance in their tests, more robust multi-modal sensing (combining vision and touch) would improve reliability.
  • Grasp Sampling: The system relies on a separate sampler to provide stable grasp candidates. If the sampler fails to find a stable grasp, CAGE has nothing to reason about.

Summary updated

BibTeX
@inproceedings{liu2020cage,
  author = {Weiyu Liu and Angel Andres Daruna and Sonia Chernova},
  title = {{CAGE: Context-Aware Grasping Engine}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
  url = {https://openreview.net/forum?id=sS8xXpdMt4i},
}
Figure