Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Learning Dexterous In-Hand Manipulation

Reinforcement learning trains a robot hand to reorient objects in simulation and transfers

  • Problem Five-fingered hands are hard to control, and policies trained only in a simple simulator usually fail on real hardware. Model-based planners need accurate models, and learning directly on the robot is slow and costly.
  • Method The authors train a recurrent PPO policy across many randomized MuJoCo simulations, varying physics, unmodeled effects and visuals. Instead of one fixed simulator, the policy sees a distribution of simulators, and a CNN estimates the object pose from three cameras.
  • Results On the physical Shadow Dexterous Hand with state observations, the policy reached a median of 13 consecutive rotations. In simulation the same setting reached a median of 50.

Why learned in-hand control is hard to transfer

The Shadow Dexterous Hand has five fingers and 24 degrees of freedom, yet it has been commercially available since 2005 without becoming widely used. Controlling a system with that many joints is the bottleneck. Model-based planners need accurate models and their open-loop plans fail when the model is off, while learning directly on hardware is limited by how slowly and costly physical trials run.

Training in simulation is the obvious alternative, but a rigid-body simulator leaves out effects such as tendon actuation and deformable contact, so a policy fitted to it may not carry over to the robot. The approach taken here accepts that the simulator is inexact and trains over a distribution of simulators rather than a single model.

Task and physical setup

The task is in-hand reorientation: the object sits on the palm and the policy turns it toward a target orientation. Once a goal is roughly reached, a new target is issued, and the episode ends when the object is dropped. Two objects are used, a block and an octagonal prism.

Fingertip positions come from a PhaseSpace motion capture system, and the object pose comes either from PhaseSpace markers or from three Basler RGB cameras. The built-in touch sensors are not used, and joint sensing serves only the low-level controller. That controller runs at roughly 1 kHz and receives relative position targets from the policy at roughly 12 Hz.

Relative targets are used because absolute joint angles are hard to measure precisely on the physical robot.

In simulation, MuJoCo handles the physics and Unity renders the images used to train the vision model. The hand model comes from the OpenAI Gym robotics environments and was calibrated to match the physical hand more closely.

Randomizing the simulator

The simulator becomes a distribution over many simulators, and the policy and vision model are trained on that distribution so they generalize to the real system. The policy receives no tactile or joint-angle sensing, because those signals depend on confounding variables that would be hard to model in simulation. Observation noise has two parts: a correlated term sampled once per episode and an uncorrelated term sampled at every timestep.

Physics parameters are drawn at the start of each episode and held fixed for its duration. Object dimensions are scaled uniformly over [0.95, 1.05], masses over [0.5, 1.5] for objects and robot links, and surface friction over [0.7, 1.3]. Joint damping and actuator force gains are drawn log-uniformly over [0.3, 3.0] and [0.75, 1.5]. Joint limits are perturbed with N(0, 0.15) rad and each gravity coordinate with N(0, 0.4) m/s2.

Unmodeled effects cover imperfect actuation, modeled with a motor backlash model, action delays and action noise. Marker tracking is also imitated: markers are frozen for short periods when they are lost or occluded, and small random forces are applied to the object.

Visual randomization varies camera positions and intrinsics, lighting, the hand and object poses, and the materials and textures of every object in the scene.

Memory policy and asymmetric critic

The policy is recurrent: a hidden layer with ReLU activations sits between the inputs and an LSTM. The motivation is that many randomized properties stay constant within an episode, so an early stretch of interaction can reveal something such as the object's weight or how fast a finger moves.

PPO trains two networks of identical architecture with independent parameters: the policy, which maps observations to actions, and the value network, which estimates the discounted sum of future rewards. The value network is used only during training, so it can use privileged information that the physical robot cannot sense reliably, such as noiseless observations and joint angular velocities.

The authors expect this to make value estimates easier to learn.

The policy inputs are fingertip positions, object position, and relative target orientation. The value network additionally receives hand joint angles and velocities, object velocity and object angular velocity. The current object orientation was accidentally left out of the policy inputs; the authors found that little changes because the relative target orientation carries the same information.

Each action coordinate is a desired joint angle change relative to the current angle, discretized into 11 bins. Discrete actions worked much better than continuous ones in the authors' experience.

Scaling PPO with Rapid

The training uses the same distributed PPO implementation as OpenAI Five, without modification, and the authors found that PPO scales easily with little hyperparameter tuning.

At the start of each epoch, workers download the newest parameters from the optimizer, generate episodes and send them back. Redis instances handle this exchange, and workers are assigned to an instance at random. This arrangement generates about 2 years of simulated experience per hour.

The optimizer runs on one machine with 8 GPUs. Each optimizer process pulls experience into its own GPU memory, computes gradients on a minibatch, and the gradients are averaged across processes with MPI before the parameters are updated. The hyperparameters are listed in Appendix D.1.

Pose estimation from three cameras

Motion capture markers can be placed only in a lab and on each object, so the work aims to infer the object pose from vision alone. Three RGB cameras with different viewpoints resolve ambiguities. During execution on the robot, the pose estimate is fed to the control policy.

Each camera image passes through a shared convolutional feature stack made of two convolutional layers, max-pooling, four ResNet blocks and spatial softmax layers. The per-camera representations are flattened, concatenated and passed to a fully connected network, and linear outputs give the object position and orientation.

Each minibatch is rendered with randomized appearance, and the object pose is also varied to augment the data. Two GPUs handle rendering and one runs the network and training.

Reorientation on the physical hand

Each trial counts consecutive rotations until the object is dropped, a goal is not reached within 80 seconds, or 50 rotations are completed. The block with state observations reached a median of 13 on the physical robot, with a mean of 18.8 and individual trials from 1 to 50. In simulation the same setting reached a median of 50.

The octagonal prism with state observations reached a physical median of 5 and a mean of 7.8, against a simulated median of 30. That policy was fine-tuned from a block policy on the same randomized distribution.

Physical performance is lower than simulated performance in every row of Table 3, so the authors read the reality gap as persisting despite randomization and calibration. The vision rows are slightly worse than the state rows in simulation, but that comparison is sim-to-sim because the vision model was trained on Unity renderings and evaluated with MuJoCo renderings.

On the robot, the vision model trails PhaseSpace only by a small margin. The wrist-locked policy was fine-tuned from a policy trained in the original environment, since training from scratch in the locked environment was difficult.

Which randomizations matter for transfer

Environments with fewer randomizations train faster in simulation, while the fully randomized ones converge more slowly and need more compute.

On the physical robot, the all-randomizations policy has a median of 13, the no-randomizations policy 0, the no-physics-randomizations policy 2, and the no-unmodeled-effects policy 2.

Learning to rotate the object without randomization takes about 3 years of simulated experience, whereas the fully randomized simulator needs about 100 years for the same performance. The two correspond to about 1.5 hours and 50 hours of wall-clock time. Each row in this ablation comes from a single seed, and the authors report almost no training instability across their runs.

Memory versus feed-forward policies

Three architectures are compared: LSTM policy with LSTM value, feed-forward policy with LSTM value, and feed-forward policy with feed-forward value. In simulation with all randomizations, the baseline with recurrence in both networks outperforms both feed-forward variants. This run is a single seed.

The authors read this as the policy using memory to adapt to the environment. In an environment with no randomizations, the feed-forward and LSTM policies reach the same performance in the same time, so the gap appears under randomization.

Compute scaling in simulation

Batch size per GPU is kept fixed, so the total batch grows with the number of GPUs. The authors vary batch size rather than CPU count, because fewer CPU machines would only slow training linearly. The default setup with 8 GPUs and 6144 rollout CPU cores reaches 20 consecutive achieved goals about 5.5 times faster than a setup with 1 GPU and 768 rollout cores.

With 16 GPUs the policy reaches 40 consecutive achieved goals about 1.8 times faster than with the default 8 GPUs. Scaling beyond that gives diminishing returns, but the 16 GPU and 12288 CPU core setup is described as close to linear speedup. The results are plotted against both wall-clock hours and years of experience.

Pose estimator accuracy

The small increase on MuJoCo images is read as successful sim-to-sim transfer, since that renderer was not used for training. The real position error exceeds the observation noise used in policy training, yet the vision-based policy still works on the robot.

Grasp types and failure modes

Both in simulation and on the robot the policy produces tip pinch, palmar pinch, tripod, quadpod, five-finger precision and power grasps. For precision grasps the policy favors the little finger, which has an extra degree of freedom compared with the index and middle fingers.

In finger pivoting the policy relies mainly on the distal phalanx, which matches the adult strategy and differs from young children, who use proximal or middle phalanges. No human demonstrations and no prior encoded in the reward were used, so these behaviours emerge from the training objective.

The most common failure was dropping the object while the wrist pitch joint rotated down, and the vertical joint caused most breakages. Other failures included dropping early in a trial and getting stuck when an object edge caught in a screw hole, which the simulator does not model.

Limitations

Physical performance remains below simulated performance, and the vision variants are only checked sim-to-sim in simulation. Robot breakages were a main obstacle, and repairs sometimes changed the system, so the table rows were obtained at different times.

Only two objects were tried; the octagonal prism performs worse than the block, and a sphere achieved only a few rotations in a row. A single policy covering several objects was not trained and is left for future work.

Paper info

Authors
OpenAI, Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Jozefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, Jonas Schneider, Szymon Sidor, Josh Tobin, Peter Welinder, Lilian Weng, Wojciech Zaremba
Venue
arXiv · Preprint
First published
2018-8-1
Added
2026-11-12
Updated
2019-1-18
Version
v5
arXiv
1808.00177
Category
cs.LG · cs.AI · cs.RO · stat.ML
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

OpenAI, Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Jozefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, Jonas Schneider, Szymon Sidor, Josh Tobin, Peter Welinder, Lilian Weng, Wojciech Zaremba (2018). Learning Dexterous In-Hand Manipulation. arXiv:1808.00177v5. https://arxiv.org/abs/1808.00177v5

BibTeX
@misc{openai2018learning,
  title = {{Learning Dexterous In-Hand Manipulation}},
  author = {OpenAI and Marcin Andrychowicz and Bowen Baker and Maciek Chociej and Rafal Jozefowicz and Bob McGrew and Jakub Pachocki and Arthur Petron and Matthias Plappert and Glenn Powell and Alex Ray and Jonas Schneider and Szymon Sidor and Josh Tobin and Peter Welinder and Lilian Weng and Wojciech Zaremba},
  year = {2018},
  eprint = {1808.00177},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.00177v5}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up