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

Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real World

Simulated random renderings let a detector localize real objects without real training data

  • Problem Detectors trained on simulated images usually fail on real camera images. Simulated physics and rendering differ from the physical world, and labeled real data is costly to collect for precise robot manipulation.
  • Method Domain randomization trains a VGG-16 based detector only on rendered scenes. Distractors, textures, lighting, camera pose and noise change in every sample, so real images look like one more variation.
  • Results The detector localizes real objects to 1.5 cm on average without any real training images. It picked up the target in 38 of 40 trials on a Fetch robot in cluttered scenes.

Why simulator data does not transfer by default

Simulators make robot data collection faster, more scalable and cheaper than running physical robots, which is the appeal of learning inside them. The difficulty is that simulated physics and sensing do not match the physical world, so that mismatch has to be bridged before a policy or perception model trained in simulation can run on hardware.

Tuning a simulator to a physical system through system identification is slow and error-prone, and even a careful fit leaves out effects such as nonrigidity, gear backlash, wear-and-tear and fluid dynamics. Simulated cameras add a second mismatch, because low-fidelity renderers do not reproduce the texture, lighting and noise found in real images.

The authors group these differences under the name reality gap and treat it as the main obstacle to using simulated data on real robots. Their working idea is that wide enough variation during simulated training could make real images look like one more variation the model already handles, so the model would need no further training on real data.

The study uses camera images as the sensing channel, because cameras are cheap and information-rich, while high-dimensional pixels require large labeled datasets that are hard to gather on robots and easy to render in a simulator. The concrete task is object localization, estimating where an object lies from a single image, which the authors regard as a stepping stone toward general manipulation.

Randomizing the scene for every sample

Rather than tuning one simulator to one physical setup, each training sample is rendered from a newly randomized scene. The varied factors are the number and shape of distractors, the position and texture of all objects, the textures of the table, floor, skybox and robot, the camera pose and field of view, the number and properties of the lights, and the type and amount of noise added to the image.

The table height is fixed in simulation, so a single image from an uncalibrated camera defines a two-dimensional pose estimation problem. Each scene places between 0 and 10 distractor objects on the table, and distractors on the floor or in the background are left out.

Every surface receives one of three generated textures: a random RGB value, a gradient between two random RGB values, or a checker pattern between two random RGB values. Texture choice is uniform across objects, so the detector never sees the colour of the objects of interest during training and works only from their size and shape. Images come from the MuJoCo renderer, which is built for speed rather than photorealism, so neither the textures nor the lighting need to be physically plausible.

Camera randomization stands in for precise calibration: the camera starts at a manually placed pose close to the viewpoint and field of view of the real camera. Each sample moves the camera within a 10×5×10 cm box around that point, aims it at a fixed table location with an offset of up to 0.1 radians in each direction, and scales the field of view by up to 5%.

The detector and how it is trained

The detector takes a 224 × 224 image from a webcam and outputs the (x, y, z) coordinates of the objects of interest. Its convolutional stack follows VGG-16, with ReLU nonlinearities and max pooling between groups of layers, but the fully connected head is smaller, with layers of 256 and 64 units and no dropout. Training labels are the Cartesian coordinates of each object's center of mass in the world frame, so the regression target is a three-dimensional position.

VGG-16 was chosen because it performs well on many computer vision tasks and has widely available pretrained weights. For most experiments the convolutional layers start from ImageNet weights, which the authors expected to be essential for transfer, although random initialization turned out to work about as well in most cases.

Training minimizes an L2 loss between predicted and true object positions, using the Adam optimizer. A learning rate of about 1e−4 was used instead of the usual 1e−3 for Adam, because it improved convergence and avoided a common local optimum that maps every object to the centre of the table. The hyperparameter search covered learning rates of 1e−4 and 2e−4 and batch sizes of 25, 50 and 100, and the best network was reported for each experiment.

Localization error on real images

Per-object results vary more than the average suggests: the hexagonal prism reaches 0.7 ± 0.5 cm with the object alone, while the tetrahedron under partial occlusion reaches 3.2 ± 5.8 cm.

On simulated training images the same detectors reach errors of 0.3 to 0.5 cm, so the authors describe them as still overfitting the simulated data. This overfitting differs from the standard case, because no real data is available for validation during training, and the test images come from the real world only. For a reference point, the authors place the error in line with the translation error of a traditional single-image pose estimation pipeline at a similar distance, though that pipeline uses higher-resolution images.

Pretraining or random initialization

Figure 4 varies the number of simulated training examples and compares detectors that start from ImageNet weights with detectors trained from scratch, measuring error on real images. The pretrained detector reaches relatively accurate real-world detection with as few as 5,000 training samples and keeps improving up to around 50,000.

The authors had expected pretraining to be essential for transfer, and this expectation did not hold: with a large amount of training data, random initialization reaches nearly the same real-world performance, and the best detector for a given object often came from random weights. Pretraining still helps clearly when less training data is used.

Only the initialization and the number of samples were varied here, with the real test set unchanged, so the comparison covers the sample counts shown in Figure 4.

How many textures are needed

Figure 5 fixes the training set at 10,000 examples and varies only the number of unique texturizations and lighting conditions, while object positions and distractor combinations stay randomized. Real-world performance degrades significantly when fewer than 1,000 textures are used, which the authors read as evidence that a large texture pool is necessary in their experiments.

With 1,000 textures, 10,000 images perform about as well as 1,000 images, so in the low-data regime texture randomization matters more than randomizing object positions.

Which training factors matter

Table II compares the full method with variants that remove noise, camera randomization or distractors from training, with each model trained on 20,000 examples and evaluated on real images under the object-only, distractor and occlusion conditions. Removing distractors from training leaves the object-only error close to the full method, at 1.5 ± 0.6 cm against 1.3 ± 0.6 cm, but raises the distractor error to 7.2 ± 4.5 cm from 1.8 ± 1.7 cm.

The occlusion error rises in the same way, to 7.4 ± 5.3 cm from 2.4 ± 3.0 cm, so incorporating distractors during training appears critical for resilience to distractors in the real world.

Removing camera randomization raises the error in every column: object-only error goes from 1.3 ± 0.6 cm to 2.0 ± 2.1 cm, and distractor error from 1.8 ± 1.7 cm to 2.4 ± 2.3 cm. The authors read this as a slight accuracy boost from camera randomization, and reasonably high accuracy remains without it.

Removing noise changes the values only slightly, with object-only error of 1.4 ± 0.7 cm, so the authors treat its effect as negligible.

Grasping in clutter

On a Fetch robot the pipeline picked up the target in 38 of 40 trials, including highly cluttered scenes with significant occlusion of the target. Some test images place distractors at orientations never seen during training, such as a hexagonal prism lying on its side, which tests robustness to shifts in the object distribution. The detectors have no colour information about the target, only its shape and size, and they can detect a target placed close to objects of the same colour.

For a can of Spam from the YCB dataset, the detector was trained with the can alongside geometric distractors, and at test time other YCB food items replaced those distractors. The pipeline picked up the can in 9 of 10 trials, with the unseen food items present.

Limitations

The authors leave contact-rich manipulation and higher-precision tasks to future work, so the grasping results cover picking up objects in clutter and not tasks that depend on contact. The detectors still overfit the simulated data, with errors of 0.3 to 0.5 cm there, and the authors list higher-resolution camera frames and changes to the architecture as directions for better accuracy.

The Spam experiment uses a single object and 10 trials. The texture ablation uses 10,000 training examples and the factor ablation uses 20,000, so the two are not one matched sweep. Combining the approach with domain adaptation is listed as future work, and the pretraining comparison covers only the sample counts shown in Figure 4.

Paper info

Authors
Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, Pieter Abbeel
Venue
arXiv · Preprint
First published
2017-3-20
Added
2026-11-12
Updated
2017-3-20
Version
v1
arXiv
1703.06907
Category
cs.RO · cs.LG
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

Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, Pieter Abbeel (2017). Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real World. arXiv:1703.06907v1. https://arxiv.org/abs/1703.06907v1

BibTeX
@misc{tobin2017domain,
  title = {{Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real World}},
  author = {Josh Tobin and Rachel Fong and Alex Ray and Jonas Schneider and Wojciech Zaremba and Pieter Abbeel},
  year = {2017},
  eprint = {1703.06907},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.06907v1}
}

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