Paper commentary
Learning Hand-Eye Coordination for Robotic Grasping with Deep Learning and Large-Scale Data Collection
Deep networks learn grasp-ready hand-eye coordination from monocular images and large-scale robot data
- Problem Grasping usually needs a calibrated camera and hand-designed visual features, and planned grasps leave little room to correct errors. Visual servoing can correct errors but still depends on those hand-built pieces.
- Method A network scores gripper motions from monocular images, and the gripper servos toward the best one.
- Results With replacement over 100 attempts, continuous servoing failed 20% of the time, against 43% for the open-loop baseline. Training used over 800,000 grasp attempts collected over about two months.
Why calibration limits visual grasping
Grasping systems commonly plan a grasp in advance and then execute it with little feedback, which keeps control simple but leaves little room to correct errors once the arm moves. Visual servoing supplies feedback from the camera, but it usually needs features chosen by hand and a calibrated relation between the camera and the end-effector.
The question is whether a network can learn that camera-to-gripper relation directly from raw monocular images, so that the arm can correct itself while it moves. The setting is a bin of household and office objects, from which the robot must pick one object in clutter.
A grasp predictor that scores candidate motions
The core model is a prediction network \(g(I_t, v_t)\) that takes the current image \(I_t\) and a task-space motion command \(v_t\), and returns the probability that executing that command and then closing the gripper gives a successful grasp.
The motion command is a five-value vector: three translation values and a sine-cosine encoding of the gripper's rotation about the vertical axis. The motion is expressed in the robot frame and is not transformed into the camera frame, so the network must infer where the gripper is from the image itself.
The two images are concatenated and passed through convolutional layers with batch normalization and max pooling. The motion vector goes through one fully connected layer, is replicated over the spatial dimensions of the feature map, and is combined with the convolutional features at that stage. The network ends with two fully connected layers of 64 units and a sigmoid that outputs the grasp success probability.
Training uses a cross-entropy loss against the binary success label, and 512 by 512 pixel inputs are randomly cropped to 472 by 472 pixels during training.
Building the grasp dataset from robot attempts
Each grasp attempt runs for T time steps. At each step the robot records an image and its pose and chooses a direction to move, and at the final step it closes the gripper and records whether the grasp succeeded. Each training sample is the triple \((I_{it}, p_{iT} - p_{it}, l_i)\): the image at one step, the displacement from that step's pose to the final pose, and the success label of the whole attempt.
Every sample is labelled with the outcome of the entire attempt, so the network learns whether a displacement followed by a grasp succeeds, rather than the effect of a single small move.
The data comes from about 800,000 grasp attempts over about two months, with between 6 and 14 robots running at any time. No manual annotation was used. People only replaced the objects in the bins and started the system. The run started with completely random commands, which succeeded on 10% - 30% of attempts depending on the objects in front of each robot.
About half of the data came from random grasps and the rest from the latest network, fitted to all data collected so far. The network was updated four times, and T rose from 2 at the start to 10 at the end. Success was judged by a gripper position reading above 1 cm, supplemented by a drop test that compares images of the bin before and after dropping any grasped object.
Choosing motor commands at each step
The simplest inference samples candidate commands, scores each one with the network, and keeps the best. The search is refined instead with the cross-entropy method. Each iteration draws 64 samples, keeps the 6 best, refits a Gaussian to them and draws the next batch from that Gaussian. Three iterations run before the best command is taken.
New commands are issued at around 2 to 5 Hz.
Sampling makes it easy to add constraints, such as keeping the gripper inside the workspace or respecting joint limits. Height control comes from comparing two predictions. The ratio \(p = g(I_t, \varnothing) / g(I_t, v^\star_t)\) sets closing without motion against the best inferred motion.
If that ratio exceeds 0.9, the gripper closes without moving, because closing is nearly as likely to succeed. If it is at most 0.5, the gripper is raised before the move, because closing now is much worse and the arm is probably badly placed. The authors describe these thresholds as somewhat ad hoc, but report that they were effective across a wide range of objects in highly cluttered settings.
Reinforcement learning view and its assumptions
When T = 2 and only one decision is made, the grasp network can be read as approximating the Q-function of the servoing policy, with a reward of 1 for success and 0 otherwise. Refitting the network on newly collected data then corresponds to fitted Q iteration (Antos et al., 2008).
For T greater than 2, learning from the pose difference \(p_{t+1} - p_t\) would be substantially harder, because that difference does not say where the gripper ends up. The method therefore uses \(p_T - p_t\) as the action. That choice assumes actions induce a transitive relation between states, so that moving from p1 to p2 and then to p3 matches moving from p1 to p3 directly.
The authors note this fails when an intermediate motion moves objects, but found it works well in practice.
Fitting the Q-function then becomes an ordinary prediction problem, and the usual instabilities of Q iteration are avoided because the earlier Q-function does not enter the regression. The authors name combining this approach with standard reinforcement learning formulations that model intermediate actions, for example nonprehensile manipulation, as future work.
Grasp failure with and without replacement
Two questions guide the evaluation: whether continuous servoing improves accuracy and success over open-loop control, and how the learned system compares with other approaches. The open-loop baseline observes the scene once, extracts image patches, picks the most promising patch and moves there using a known camera calibration. It uses the same network architecture and training set as the proposed method.
The hand-engineered system uses depth images and heuristic finger positioning.
With replacement, objects were placed in a bin and grasped for 100 attempts, and each grasped object was returned to the bin after its attempt. The failure rate was 20% for continuous servoing, 43% for open loop, 35% for hand-designed and 69% for random. Lower failure rates are better.
Without replacement, objects were removed from the bin, and failure rates were measured over the first 10, 20 and 30 attempts, averaged over four repetitions. Continuous servoing had failure rates of 10.0%, 17.5% and 17.5% at 10, 20 and 30 attempts. Open loop had 27.5%, 38.7% and 33.7%, hand-designed 32.5%, 35.0% and 50.8%, and random 67.5%, 70.0% and 72.5%.
At each cutoff continuous servoing has the lowest failure rate in that column of the table. In one of the four repetitions the bin was cleared after 30 grasps. In the other three one object was left, and in two of those it was picked on the 31st attempt.
The hand-engineered baseline struggled in clutter. Its camera sat about a meter from the table, and as the bin emptied it was left with small flat objects its depth camera could not resolve. The open-loop method cannot respond to perturbations, moved objects or variation in actuation and gripper shape, which the authors give as the reason for its weaker results.
Its absolute failure rates are higher than those Pinto & Gupta (2015) reported, and the authors attribute that to differences in objects, grippers and clutter.
Failure rate as training data grows
Predictors were trained on roughly the first 12%, 25% and 50% of the grasp attempts, as well as the full dataset, to mimic earlier stages of collection. The number of training images was 182,249 at 12%, 407,729 at 25%, 900,162 at 50% and 2,898,410 for the full dataset.
Failure rate over the first 30 attempts fell from 47.5% at 12% of the data to 36.7% at 25%, 25.0% at 50% and 17.5% at the full dataset. The authors read this as success continuing to improve with more data, and as not reaching a high level until about halfway through collection.
Trajectory length also changed during collection, rising from T = 2 to T = 10, so the later subsets contain far more images per attempt. The subsets therefore do not vary data quantity alone.
Limitations
The method assumes the training data distribution resembles the distribution at test time. The training set is large and diverse, but structural regularities of collection can still limit generalization.
All training grasp attempts were executed on flat surfaces, and the authors expect poor generalization to shelves, narrow cubbies and similar settings. No such setting was tested. All robots were in a controlled laboratory environment.
Only vertical pinch grasps are considered. The heuristics for raising and closing are ad hoc, and the open-loop comparison is a reconstruction that uses this network, not the original published method.
Paper info
- Authors
- Sergey Levine, Peter Pastor, Alex Krizhevsky, Deirdre Quillen
- Venue
- arXiv · Preprint
- First published
- 2016-3-7
- Added
- 2026-11-12
- Updated
- 2016-8-28
- Version
- v4
- arXiv
- 1603.02199
- Category
- cs.LG · cs.AI · cs.CV · cs.RO
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Sergey Levine, Peter Pastor, Alex Krizhevsky, Deirdre Quillen (2016). Learning Hand-Eye Coordination for Robotic Grasping with Deep Learning and Large-Scale Data Collection. arXiv:1603.02199v4. https://arxiv.org/abs/1603.02199v4
BibTeX
@misc{levine2016learning,
title = {{Learning Hand-Eye Coordination for Robotic Grasping with Deep Learning and Large-Scale Data Collection}},
author = {Sergey Levine and Peter Pastor and Alex Krizhevsky and Deirdre Quillen},
year = {2016},
eprint = {1603.02199},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1603.02199v4}
}