Learning to Grasp Anything by Playing with Random Toys
Dantong Niu, Yuvan Sharma, Baifeng Shi, Rachel Ding, Matteo Gioia, Haoru Xue, Henry Tsai, Konstantinos Kallidromitis, Anirudh Pai, Shankar Shastry, Trevor Darrell, Jitendra Malik, Roei Herzig
TL;DR
This work tackles the challenge of generalizing robotic grasping to unseen real-world objects. It introduces LEGO, a framework that trains on random configurations of four shape primitives (spheres, cuboids, cylinders, rings) and uses an object-centric DetPool representation to enable zero-shot generalization to real objects. A Cézanne-inspired toy dataset (250 toys, 1–5 primitives per toy, 2,500 simulated and 2,000 real demonstrations across platforms) supports rigorous evaluation, with LEGO achieving a $67\%$ zero-shot success rate on 64 YCB objects in simulation and real-world tests, outperforming larger, pre-trained baselines. The findings reveal scaling laws where demonstration count drives generalization and demonstrate cross-embodiment transfer to dexterous hands, offering a scalable path toward robust, generalizable robotic manipulation.
Abstract
Robotic manipulation policies often struggle to generalize to novel objects, limiting their real-world utility. In contrast, cognitive science suggests that children develop generalizable dexterous manipulation skills by mastering a small set of simple toys and then applying that knowledge to more complex items. Inspired by this, we study if similar generalization capabilities can also be achieved by robots. Our results indicate robots can learn generalizable grasping using randomly assembled objects that are composed from just four shape primitives: spheres, cuboids, cylinders, and rings. We show that training on these "toys" enables robust generalization to real-world objects, yielding strong zero-shot performance. Crucially, we find the key to this generalization is an object-centric visual representation induced by our proposed detection pooling mechanism. Evaluated in both simulation and on physical robots, our model achieves a 67% real-world grasping success rate on the YCB dataset, outperforming state-of-the-art approaches that rely on substantially more in-domain data. We further study how zero-shot generalization performance scales by varying the number and diversity of training toys and the demonstrations per toy. We believe this work offers a promising path to scalable and generalizable learning in robotic manipulation. Demonstration videos, code, checkpoints and our dataset are available on our project page: https://lego-grasp.github.io/ .
