Partial caging: a clearance-based definition, datasets, and deep learning

Michael C. Welle, Anastasiia Varava, Jeffrey Mahler, Ken Goldberg, Danica Kragic, Florian T. PokornyAuton. Robots 2021 · DOI

Introduction

In the field of robotic manipulation, "caging" has emerged as a robust alternative to traditional force-closure grasping. While a strict grasp immobilizes an object relative to the gripper, caging surrounds the object such that it cannot escape to infinity, even if it remains free to move within the enclosure. This topological constraint is inherently more tolerant to sensing errors and control noise, making it ideal for uncertain environments.

Comparison of caging concepts in 2D and 3D environments.

However, traditional caging definitions are binary—an object is either caged or it is not. This lack of a continuous quality metric makes it difficult to optimize gripper configurations. Furthermore, verifying a cage typically requires analyzing the object's global configuration space using computationally intensive motion planners like Rapidly-exploring Random Trees (RRT). Such methods can take minutes to evaluate a single configuration, rendering them impractical for real-time robotic control.

This paper addresses these challenges by introducing "partial caging," a continuous quality measure based on "clearance." Clearance is defined as the maximum width of the "gate" an object must pass through to escape the cage. To enable real-time application, the authors propose a deep learning pipeline that predicts these clearance values directly from 2D images in milliseconds.

Methodology

The core of the proposed system is a two-stage convolutional neural network (CNN) pipeline designed to approximate the heavy topological calculations of traditional planners.

  1. CageMaskNN: This network acts as a binary classifier. Given a tool and object configuration, it identifies whether the setup qualifies as a "partial cage."
  2. CageClearanceNN: For configurations identified as partial cages, this regression network predicts the specific clearance value, providing a quantitative measure of cage quality.
The deep learning pipeline: CageMaskNN identifies valid partial cages, while CageClearanceNN predicts their quality.

A key architectural feature is the use of multi-resolution inputs. The networks process two-channel images (one for the object, one for the tools) at three distinct scales: 64x64, 32x32, and 16x16. This multi-scale approach is essential for capturing both the fine-grained interactions between the tools and the object's surface, as well as the global geometry of the object's shape.

Datasets

To train and validate these models, the authors generated two massive datasets:

  • PC-general: This dataset contains over 19 million caging tool configurations across 3,811 unique object models. Configurations are sampled across the entire workspace to provide a broad baseline.
  • PC-band: This more specialized dataset focuses on the "grasping band"—the region immediately surrounding the object. It includes 3.7 million configurations for 772 objects, specifically targeting the areas where successful cages are most likely to be formed.

Results and Discussion

The deep learning pipeline demonstrated remarkable performance across several metrics:

  • Computational Efficiency: The CNN pipeline evaluates a configuration in less than 6 ms on a standard GeForce GTX 1080 GPU. This represents a speedup of several orders of magnitude over RRT-based ground truth methods.
  • Classification Accuracy: CageMaskNN achieved near-perfect results on the PC-general dataset, with an Area Under the ROC Curve (AUC) of up to 1.00.
  • Generalization to Novel Shapes: The models successfully predicted clearance for objects not seen during training, suggesting that the networks learned general geometric principles of "trappedness" rather than simply memorizing specific shapes.

The research also yielded several theoretical insights. The authors found that deep networks can effectively learn complex topological properties from simple visual data, bypassing the need for explicit configuration space modeling. Additionally, when searching for cages for new objects by retrieving similar known shapes, simple pixel-wise Hamming distance was found to be more effective than complex latent-space embeddings from Variational Autoencoders (VAEs).

Conclusion

This research formalizes partial caging as a continuous metric and provides a high-performance deep learning framework for its evaluation. By reducing the computation time from minutes to milliseconds, the authors pave the way for real-time, cage-based robotic manipulation. While the current study is restricted to 2D planar environments and simple tool geometries, it establishes a scalable methodology. Future work will explore extending this framework to 3D objects and integrating the learned quality scores into active motion planning and control loops.

Summary updated

BibTeX
@article{welle2021partial,
  author = {Michael C. Welle and Anastasiia Varava and Jeffrey Mahler and Ken Goldberg and Danica Kragic and Florian T. Pokorny},
  title = {{Partial caging: a clearance-based definition, datasets, and deep learning}},
  journal = {Auton. Robots},
  year = {2021},
  doi = {10.1007/s10514-021-09969-6},
}
Figure