---
title: "Sim-To-Real via Sim-To-Sim — paper by James et al. (2019)"
description: "How RCAN learns visual transfer entirely in simulation, improves robotic grasping, and reduces the need for costly real-world experience."
canonical: "https://research.elamur.ai/free/en/papers/james-2019-sim-real-sim-sim-data/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/james-2019-sim-real-sim-sim-data/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Sim-To-Real via Sim-To-Sim: Data-Efficient Robotic Grasping via Randomized-To-Canonical Adaptation Networks

# Sim-To-Real via Sim-To-Sim: Data-Efficient Robotic Grasping via Randomized-To-Canonical Adaptation Networks

Paper · 2019 · Stephen James, Paul Wohlhart, Mrinal Kalakrishnan et al.

**Authors:** Stephen James, Paul Wohlhart, Mrinal Kalakrishnan, [Dmitry Kalashnikov](https://md.research.elamur.ai/free/en/authors/dmitry-kalashnikov/), [Alex Irpan](https://md.research.elamur.ai/free/en/authors/alex-irpan/), [Julian Ibarz](https://md.research.elamur.ai/free/en/authors/julian-ibarz/), [Sergey Levine](https://md.research.elamur.ai/free/en/authors/sergey-levine/), [Raia T. Hadsell](https://md.research.elamur.ai/free/en/authors/raia-t-hadsell/) and [Konstantinos Bousmalis](https://md.research.elamur.ai/free/en/authors/konstantinos-bousmalis/) · **Year:** 2019 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**408** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2905464683) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1812.07252)
- [DOI 10.1109/cvpr.2019.01291](https://doi.org/10.1109/cvpr.2019.01291)
- [arXiv 1812.07252](https://arxiv.org/abs/1812.07252)
- [OpenAlex](https://openalex.org/W2905464683)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Sim-To-Real via Sim-To-Sim: Data-Efficient Robotic Grasping via Randomized-To-Canonical Adaptation Networks

How RCAN learns visual transfer entirely in simulation, improves robotic grasping, and reduces the need for costly real-world experience. · about 35 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A robot can practice grasping in simulation without wearing out hardware or requiring someone to supervise every attempt. The difficulty comes when that robot must act in the physical world. A simulated tray, object, or gripper can look different enough from its real counterpart that a successful simulated policy becomes unreliable. This paper studies how to cross that visual gap while collecting as little real robot experience as possible. Its central idea is to teach a separate image translator to turn varied observations into a consistent simulated appearance, then let the grasping system work through that representation.

The proposed method, Randomized-to-Canonical Adaptation Networks, or RCAN, learns this translation entirely inside simulation. The authors render a scene with randomized textures and lighting, then render the same arrangement in a chosen canonical style. Because the underlying scene stays matched, the second image supplies a precise training target for the first. The translator learns to remove selected appearance changes while retaining the arrangement of the robot and objects. At deployment, a real camera image goes through the same translator. The intended result is an observation resembling the simulated environment in which the grasping policy learned to act. No real images are needed to train the translator for this initial transfer.

The authors test RCAN with QT-Opt, a reinforcement learning algorithm for closed-loop grasping. Closed-loop means the robot continues observing and choosing actions during an attempt, rather than committing to an entire grasp from its initial view. On real objects absent from training, RCAN achieves 70% grasp success without prior real-world training data. Training QT-Opt directly on randomized simulated images instead produces success rates between 33% and 37%. Directly transferring a policy from the canonical simulator, without the adaptation step, reaches 21%. These results support the paper’s main claim: for this task, randomization is more useful when it teaches a visual translation than when the grasping policy must handle all the appearance variation itself.

The strongest practical result combines simulated preparation with a modest amount of real experience. After joint finetuning using 5,000 real grasps alongside continued simulated experience, RCAN reaches 91% success. The comparison system trained on 580,000 real grasps has a reported success rate of 87%. RCAN subsequently reaches 94% with 28,000 real grasps. These findings demonstrate substantial savings in real-world grasping data under the tested conditions, rather than a universal replacement for real training. The image translator can introduce artifacts, especially around the gripper, and the evaluation covers a particular robot, camera arrangement, and grasping task. An important detail is that the grasping system receives both the translated image and the original observation, allowing later real-world learning to use information that the translation may obscure.

### Ideas worth borrowing

Canonicalize before learning control. When an input contains large amounts of irrelevant variation, a dedicated preprocessing stage can absorb some of that complexity before the task learner sees it. RCAN asks the translator to handle changing surface appearance while QT-Opt learns which movements lead to successful grasps. This separation is useful wherever the nuisance variations are easier to specify than the final behavior. It suggests an experimental design for other perception-and-action systems: compare teaching invariance inside the policy with supplying a deliberately simplified observation.

Create supervision by holding the scene fixed. The simulator supplies something difficult to obtain from ordinary photographs: matched observations whose geometry agrees while their appearance differs. Freezing the scene lets the authors change rendering conditions without changing the desired answer. This makes a visual adaptation problem directly supervised. The transferable lesson is to look for environments in which an intervention can alter an irrelevant property while preserving the property of interest. Such interventions can generate training pairs without requiring someone to annotate each example.

Choose what the canonical representation preserves. RCAN does not erase every texture. The canonical environment simplifies the arm, tray, and background while retaining the objects’ randomized appearance. That choice reflects a judgment about which distinctions might remain useful for future grasping tasks. A canonical representation is therefore a task design decision, rather than merely a convenient visual style. Elsewhere, the same principle would mean identifying which input variations are distractions and which may carry information that downstream decisions should retain.

Use privileged training targets without requiring extra sensors. Simulation provides depth and segmentation labels alongside RGB images. RCAN uses these labels to shape the translator’s internal processing, but the real robot observes through an RGB camera, and QT-Opt does not receive the predicted depth or segmentation. This separates the richness of training supervision from the requirements of deployment. The idea applies when a development environment exposes useful structure that an operational system cannot directly measure, provided the deployed input still contains enough evidence to learn that structure.

Preserve access to the original observation. A simplified representation can make learning easier while also losing small but decisive details. The authors concatenate the source image with the translated image, allowing the grasping network to inspect both. This is especially relevant around a closed gripper, where an artificial visual feature may resemble a small object. More broadly, a transformation need not become an irreversible bottleneck. Retaining the source lets subsequent task learning compensate for imperfections in the intermediate representation.

Evaluate transfer and adaptation separately. RCAN’s zero-shot result answers whether simulated training can support real grasping immediately. Its joint-finetuning experiments ask how quickly additional real interaction improves that starting point. These are different engineering questions, and the direct-randomization baseline behaves differently across them: its initial transfer is weak, yet its improvement with real data is substantial. Reporting both stages helps distinguish a useful deployment-ready system from a useful initialization, and prevents the initial transfer score from becoming the only measure of value.

### How Mova uses it

For Mova, the small transparent language system in Rust, RCAN offers a possible architectural principle instead of an established component. The paper concerns visual robotic control, and it provides no evidence about language processing or a Mova implementation. The defensible connection is to the organization of a system: turn varied inputs into an inspectable representation, then let a separate mechanism perform the task. Any use of that idea in Mova would need its own implementation and evaluation.

A concrete possibility would be an input-normalization stage that maps surface variants into a stable internal form before later language processing. The analogy to RCAN would be strongest when the variants can be generated while holding the intended content constant. For example, an experimental Mova pipeline could start with a controlled internal record and generate alternative surface realizations, then test whether a normalization stage recovers the same record. This would borrow the matched-pair training logic, not the robot’s image architecture or its numerical results.

The difficult part would be defining what counts as a harmless variation. In RCAN, the simulator can keep object positions fixed while changing lighting or tray texture. Language offers less automatic separation between appearance and content: a change that seems superficial may alter emphasis, reference, or meaning. A Mova experiment would therefore need explicit preservation rules. It should be possible to inspect what the normalization stage retained, what it discarded, and why those choices are acceptable for the downstream task.

RCAN also suggests keeping the original input beside the normalized representation. In a transparent language system, an internal decision could retain a connection to the words that supported it. If normalization removes a distinction that later turns out to matter, the next stage could consult the source. This is a proposed design, not a claim that Mova already uses such a mechanism. Its value would depend on whether the combined representation improves actual decisions and makes mistakes easier to diagnose.

The paper’s intermediate image is relevant to [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) because it exposes part of the transfer process in a form a person can inspect. An analogous Mova representation should have a similarly concrete role. Displaying an intermediate structure would be useful if it lets a developer identify where an input was misunderstood, compare alternate analyses, or trace a downstream choice back to evidence. Merely adding another representation would not establish that benefit.

Finally, Mova could borrow the separation between initial generalization and later adaptation. An evaluation could first test behavior on previously unseen input variations, then examine what changes after limited task-specific learning or adjustment. RCAN shows why both questions matter: a method can be a strong starting point without transferring well immediately. For Mova, that remains an experimental proposal. The grasping results do not demonstrate that synthetic language variation will cover the ambiguities encountered in natural text.

### The problem and its context

#### Why simulated practice is attractive

Robotic learning has a practical constraint that many purely computational tasks avoid: collecting an example can require physical movement. An unsuccessful grasp still consumes robot time, and sustained data collection requires a working setup, objects, and operational oversight. The paper describes real-robot training as expensive enough to take days or months for a task. Simulation offers an alternative source of experience because many agents can interact with virtual environments in parallel.

The attraction is not simply that simulated pictures are easy to render. A simulated robot can take actions, observe their consequences, and receive an outcome signal. That supports learning an entire grasping behavior rather than training only an object detector or a static predictor of grasp positions. The same environment also provides information such as scene depth and object categories without manual labeling.

Experience becomes useful only if something learned virtually carries over to hardware. The paper identifies visual and physical differences as obstacles. A rendered image may have different textures, shadows, or lighting from a camera image. Simulated contact and motion may also differ from physical interactions. Grasping adds another difficulty: the test objects themselves can differ from those used during training.

RCAN focuses on the visual part of this problem. It does not make the simulator’s physics identical to reality, nor does it supply an exact physical description of every test object. Instead, it tries to make the robot’s visual observations easier to interpret consistently across simulated and real operation. That narrower objective is important for understanding both the method’s appeal and the limits of its success.

#### From object-specific geometry to learned grasping

The paper places its work against earlier analytical approaches to grasping. Those approaches use geometric descriptions of objects to reason about whether contact can resist external forces or constrain movement. A detailed mesh can support calculations about grasp stability, but such methods often depend on recognizing an object or matching it to a familiar geometric representation.

This becomes restrictive when a robot must handle unfamiliar objects. A test item may have no corresponding stored mesh, or its visible shape may be difficult to match reliably. The paper describes data-driven grasping as a response to that limitation. Rather than solving each case from a known object description, a learned system can use experience to predict useful grasp positions or successful actions.

The cited data-driven approaches obtain supervision in several ways. Some use human-labeled grasp locations. Others let the robot gather examples through its own attempts, or learn to predict the outcome of a proposed grasp. These alternatives change where the training signal comes from, but all face the question of how much experience is necessary and how well it covers new objects.

A separate distinction concerns when decisions are made. In an open-loop system, the robot selects a grasp and then executes the corresponding motion. In a closed-loop system, it keeps updating its decision as new observations arrive. RCAN is evaluated with the latter arrangement. The visual adaptation must therefore support repeated decisions during movement, including decisions about whether the gripper actually contains an object.

#### What domain randomization tries to achieve

Domain randomization changes simulated appearance during training. Textures, illumination, and other visual properties vary so widely that the policy cannot depend on one fixed rendering style. The intended effect is to encourage attention to features that remain useful across these changes, such as the arrangement of the gripper and nearby objects.

Real imagery is then treated as another variation the trained system might handle. This avoids the need to collect real images specifically for adaptation. It also fits naturally with simulation, where the experimenter can change rendering properties while preserving the task.

The paper’s objection concerns where the burden of variation falls. If the grasping policy receives heavily randomized images directly, it must learn both visual robustness and task behavior together. An irrelevant background change and a meaningful change in object position arrive through the same input. The policy must discover which differences matter while also learning the consequences of actions.

Earlier work cited by the authors had reported that strong randomization could disrupt training with DDPG and A3C. RCAN therefore addresses a potential optimization difficulty as well as a transfer problem. However, the paper’s own experiments find that QT-Opt trains stably under heavy randomization. For this particular algorithm, the main observed deficiency is weak real-world transfer instead of training collapse.

#### What visual domain adaptation contributes

Visual domain adaptation uses information from a target domain to help a system trained in a source domain work there. In the conventional simulation-to-reality direction, simulation supplies the source and real observations supply the target. The paper distinguishes methods that align internal features from methods that transform image appearance.

Feature-level adaptation seeks representations that are useful across domains. Pixel-level adaptation changes images so that they resemble examples from the other domain. The latter connects transfer to image-to-image translation, although ordinary paired translation has an easier supervision setting: matching input and output examples are available.

GraspGAN is the paper’s main grasping-related comparison in this discussion. As described by the authors, it combines adaptation at the image and feature levels to reduce the amount of real grasping data needed. Its adaptation process nonetheless uses substantial unlabeled real imagery collected through existing grasping systems. Unlabeled observations are easier to obtain than labeled outcomes, but they still require access to the physical setup.

The paper also discusses a preceding reality-to-simulation approach for robotic driving. That work uses [CyCADA](https://md.research.elamur.ai/free/en/papers/hoffman-2017-cycada-cycle-consistent-adversarial-domain/) and unlabeled real observations to make camera images resemble simulation. This direction has an appealing modularity: the policy can remain trained in simulation while a separate adapter handles the camera domain.

RCAN keeps that direction of translation while changing how the adapter is learned. Rather than learning from real and simulated image collections, it learns between randomized and canonical renderings of matching simulated scenes. The crucial hope is that sufficiently varied synthetic inputs teach a translation that also accepts real photographs. Whether that hope holds is an empirical question, answered here through grasping performance.

### The method, step by step

#### Separate appearance adaptation from action learning

The method has distinct visual and behavioral components. RCAN is responsible for interpreting an observation and producing a canonical-looking image. QT-Opt is responsible for estimating the value of an action and using that estimate to control the robot. The components interact through images, rather than through a newly designed robot action representation.

This matters because the paper’s contribution is primarily a way of preparing visual input. QT-Opt supplies an established grasping algorithm against which the authors can compare different training-image strategies. The authors argue that the same preprocessing idea could be used with other reinforcement learning or imitation learning methods. The experiments, however, demonstrate it with QT-Opt.

The method operates across a randomized simulated domain, a canonical simulated domain, and the physical world. Training the visual translator uses the simulated domains. Real observations enter when the completed system is deployed, and later when the authors collect experience for joint finetuning.

Learning a visual bridge before real grasping The steps in order.

The important transition is between the paired simulated task and the unpaired real deployment setting. In simulation, the correct canonical image is known because the authors can render it. For a real observation, that target is unavailable. The translator must generalize from the range of artificial variations it has already encountered.

#### Build a simulator with diverse graspable objects

The virtual environment uses the Bullet physics engine and its default rendering system. It roughly reproduces the physical workspace: a Kuka IIWA arm, a tray, and a camera positioned over the robot’s shoulder, looking toward the tray. The goal is correspondence sufficient for learning useful visual and behavioral structure, rather than photographic duplication of every surface.

The object collection combines 1,000 procedurally created items with 51,300 ShapeNet items drawn from 55 categories. The procedural objects are assembled from geometric shapes. This supplies variation in object geometry alongside the more realistic objects. These are training resources; the evaluation objects are held out from both simulated training and subsequent real-world finetuning.

The authors obtain scene configurations by running QT-Opt training in simulation. This produces observations along trajectories in which the robot interacts with the workspace. At the start of an episode, the tray divider receives a sampled position and 5 randomly chosen objects are dropped into the tray.

Using robot trajectories gives the translator examples related to the eventual task. It sees more than isolated objects against empty backgrounds: it encounters the arm, gripper, tray, and clutter in configurations arising during grasping. The authors also introduce small changes to arm and tray size and position to expand the range of configurations beyond those generated by normal operation.

Those geometric changes are applied consistently to both members of a training pair. Otherwise, the translator could be penalized for preserving the observed geometry when its target depicted a different arrangement. The matching requirement is fundamental: randomization should change the visual presentation of a scene without making the desired canonical answer ambiguous.

#### Capture matched observations

At each sampled timestep, the simulation is paused. The authors apply a fresh randomization and render an observation. They then restore the canonical appearance and render the same scene again before allowing QT-Opt to continue.

The stored training example contains the randomized RGB image, its canonical RGB counterpart, a canonical segmentation mask, and canonical depth. The dataset notation can be written as:

```
𝒟 = {(xᵣ, x꜀, m꜀, d꜀)ⱼ}ⱼ₌₁ᴺ
```

Here, 𝒟 denotes the dataset and N is its number of examples. The index j identifies an example. The image xᵣ is the randomized rendering, while x꜀ is the matched canonical rendering. The mask m꜀ assigns semantic categories to pixels, and d꜀ records scene depth.

The segmentation distinguishes graspable objects, the tray, its divider, the robot arm, and the background. These labels give the translator supervision about scene components rather than only their colors. Depth supplies a further geometric target. Neither requires a person to annotate the rendered scene because the simulator already has access to the relevant information.

The paired construction also explains why RCAN can use direct reconstruction losses. The method is not asked to infer which real photograph corresponds to which simulated scene. Its training input and target share a known configuration. That stronger supervision is purchased through simulation control rather than real-world data collection.

#### Randomize broadly, then choose a canonical style

The randomized input changes textures across the tray, objects, arm segments, and floor. The texture collection contains over 5,000 images. Lighting also changes in position, direction, and color. Together, these variations make a particular shadow or surface pattern unreliable as a permanent cue.

The canonical target simplifies selected parts of the scene. The background, tray, and arm receive uniform colors. Separate arm links have distinct colors, which the authors choose to make individual links easier to track. The light source remains fixed.

Fixing illumination gives the translator a more demanding task than changing colors alone. A shadow in the input may have to appear elsewhere in the output, with a shape consistent with the canonical light. The authors interpret this as encouraging some understanding of geometry. The qualitative examples show regenerated shadows, but the paper does not separately measure how accurately internal geometry is represented.

The object textures are retained from the randomized version. This is a deliberate exception to the simplification. The authors want to preserve object identity as a possible resource for future instance-specific grasping. Their reported task does not test such an extension, so this remains a design motivation instead of an experimental result.

The choice illustrates what “canonical” means in this paper. It is a selected rendering convention, not a claim that every visual variation has been eliminated. The target preserves some appearance differences and removes others according to what the authors expect the downstream system to need.

#### Train a generator with several outputs

The translator is a generator that accepts an image and predicts a canonical RGB image together with segmentation and depth:

```
G(x) → {x̂, m̂, d̂}
```

G is the generator and x is its input observation. The outputs x̂, m̂, and d̂ are the generated image, segmentation prediction, and depth prediction. During supervised training, x comes from the randomized simulator. During physical operation, x comes from the real camera.

The auxiliary outputs are training tasks. They encourage the generator to encode where important scene components are and how they are arranged in depth. The canonical RGB output is the part used by the grasping system. The authors do not feed predicted segmentation or depth to QT-Opt, which keeps the downstream comparison closer to the RGB-based baseline.

The generator follows a U-Net-style convolutional architecture. It compresses the image through downsampling and then reconstructs an output through upsampling. Skip connections carry information from earlier stages into later reconstruction stages. This arrangement gives the network access to both broadly processed features and more local image detail.

The initial downsampling uses 3 × 3 convolutions with stride 2. Later downsampling combines average pooling with 3 × 3 convolutions at stride 1. Reconstruction uses bilinear upsampling followed by convolution. Skip-connected features are concatenated and then processed with a 1 × 1 convolution. Instance normalization and ReLU activations follow the layers.

These architectural details describe how the image-to-image mapping is implemented, but they do not by themselves explain the transfer result. The distinctive supervision comes from the randomized-to-canonical pairs. The paper does not compare the chosen generator against a broad set of alternative architectures.

#### Make the output match its paired target

The supervised objective rewards agreement with the canonical RGB image, segmentation, and depth:

```
L_eq(G) = E[λₓ lₓ(Gₓ(xᵣ), x꜀) + λₘ lₘ(Gₘ(xᵣ), m꜀) + λ_d l_d(G_d(xᵣ), d꜀)]
```

L_eq is the combined equality loss. E means an expectation over the paired training examples. Gₓ, Gₘ, and G_d select the image, segmentation, and depth outputs of the generator. The target quantities x꜀, m꜀, and d꜀ are the corresponding canonical observations.

The functions lₓ, lₘ, and l_d measure disagreement for the image, segmentation, and depth tasks. Their weights are λₓ, λₘ, and λ_d. The authors set each weight to 1. This makes the auxiliary objectives part of the stated training procedure rather than optional outputs attached after image training.

For image agreement, the authors choose mean pairwise squared error after experimenting with L1 and L2 alternatives. They report faster convergence without a performance penalty for that choice. The segmentation and depth objectives use L2 distance. The paper names the image loss but does not expand its algebra, so its detailed definition should not be inferred from a different source.

A reconstruction objective supplies a strong constraint on content: the output should correspond to this particular scene. However, such objectives can produce visually blurred results. The authors therefore add an adversarial objective aimed at making the generated images resemble sharp canonical renderings.

#### Add an adversarial realism objective

The adversarial component follows the generator–discriminator framework associated with [Generative Adversarial Nets](https://md.research.elamur.ai/free/en/papers/goodfellow-2014-generative-adversarial-nets/). The generator makes an image; the discriminator tries to distinguish an authentic canonical rendering from a generated one. The generator is trained to make that distinction harder.

Using separate symbols for canonical targets and randomized inputs, the objective is:

```
L_GAN(G, D) = Eₓ꜀[log D(x꜀)] + Eₓᵣ[log(1 − D(Gₓ(xᵣ)))]
```

L_GAN is the adversarial objective and D is the discriminator. D(x꜀) is its estimated likelihood that a true canonical image belongs to the canonical domain. D(Gₓ(xᵣ)) is the same assessment for the generator’s image output. The logarithms form the cross-entropy-based adversarial criterion. The expectations average over the relevant training images.

The discriminator is convolutional and patch-based. It assesses image content at resolutions of 472 × 472, 236 × 236, and 118 × 118, then combines the patch assessments into its loss. This supplies feedback at different spatial scales rather than relying solely on a single whole-image judgment.

The final optimization combines adversarial appearance with paired reconstruction:

```
Ĝ = arg min_G max_D [L_GAN(G, D) + L_eq(G)]
```

Ĝ denotes the resulting trained generator. The arg min selects generator parameters that minimize the combined objective, while max_D describes the discriminator’s opposing optimization of the adversarial term. L_eq depends on the generator and its supervised targets; it does not give the discriminator a separate reconstruction task.

The objectives have complementary roles. Paired agreement ties the output to the observed scene. Adversarial feedback encourages canonical-looking visual detail. Neither should be confused with direct optimization of grasp success: the translator is trained through image, semantic, depth, and domain objectives, while the grasping policy is trained through interaction outcomes.

#### Represent what the grasping system observes

The baseline QT-Opt state contains an image, an aperture indicator, and gripper height:

```
sₜ = (xₜ, g_apt,ₜ, g_height,ₜ)
```

sₜ is the state representation at timestep t. The camera observation xₜ has resolution 472 × 472. The variable g_apt,ₜ indicates whether the gripper is open or closed, and g_height,ₜ gives its height above the tray bottom.

RCAN changes the image portion of that state:

```
sₜ = ([Gₓ(xₜ); xₜ], g_apt,ₜ, g_height,ₜ)
```

The semicolon inside brackets denotes channel-wise concatenation. Gₓ(xₜ) is the generated canonical RGB image, and xₜ is the original RGB observation. Their combination forms the 6 channel image input described in the appendix. The other state quantities keep their original roles.

This is more precise than saying the robot sees only canonical images. The adapted view is central to the transfer strategy, but the actual grasping network also receives the source. During simulated operation, that source can be randomized imagery. During physical operation, it is a real camera image.

The visual features are combined with transformed state and action information inside the Q-network. The image stream passes through 7 convolutional layers before merging with the other stream by element-wise addition. Further processing uses 9 convolutional layers and 2 fully connected layers to produce a scalar action value. The appendix describes batch normalization and ReLU activations except at the final layer.

#### Keep the robot’s action definition unchanged

The paper retains QT-Opt’s action representation:

```
aₜ = (tₜ, rₜ, g_close,ₜ, g_open,ₜ, eₜ)
```

aₜ is the action at time t. The vector tₜ specifies Cartesian translation. The vector rₜ encodes rotation through sine and cosine values. The quantities g_close,ₜ and g_open,ₜ form the gripper command, and eₜ is a learned stopping signal.

The translational and rotational components belong to these spaces:

```
tₜ ∈ ℝ³
```

ℝ³ denotes a real-valued vector with the dimensionality used for Cartesian movement. The symbol tₜ remains the translation component of the action.

```
rₜ ∈ ℝ²
```

ℝ² denotes the real-valued space used for the sine–cosine rotation encoding. The symbol rₜ here is the rotation vector, distinct from the reward function discussed below.

```
[g_close,ₜ, g_open,ₜ] ∈ {0, 1}²
```

The bracketed pair is the one-hot representation of the open-or-close command. The set notation specifies binary entries, while the one-hot requirement selects the intended command encoding.

The reward is sparse: a successful grasp receives 1, an unsuccessful grasp receives 0, and other transitions receive −0.05. This gives the policy an outcome-based learning signal instead of a dense sequence of manually specified instructions for approaching each object.

#### Learn action values with QT-Opt

QT-Opt learns a Q-function, which estimates the value of taking an action in a state. The parameters θ are trained by reducing disagreement with a target value:

```
L_B(θ) = E_(s,a,s′)∼p [D(Qθ(s,a), Q_T(s,a,s′))]
```

L_B is the Bellman-error objective. The distribution p supplies transitions containing state s, action a, and successor state s′. Qθ is the learned value function. Q_T is the target value used for learning. D measures disagreement and is cross-entropy in this setup; it is separate from the image discriminator denoted D earlier.

The target combines immediate reward with a discounted estimate of future value:

```
Q_T(s,a,s′) = r(s,a) + γV(s′)
```

r(s,a) is the reward for action a in state s. The factor γ discounts future value. V(s′) estimates the value available after arriving in the successor state.

For stability, QT-Opt uses target networks and a clipped value estimate:

```
V(s′) = minᵢ₌₁,₂ Qθ̄ᵢ(s′, arg max_a′ Qθ̄₁(s′,a′))
```

The barred parameter sets θ̄₁ and θ̄₂ belong to the target networks. The inner arg max identifies an action a′ favored by the first target network. Both target networks evaluate that action, and the minimum supplies V(s′). The paper combines this construction with Polyak averaging when updating target parameters.

The greedy action rule is expressed as:

```
πθ̄₁(s) = arg max_a Qθ̄₁(s,a)
```

πθ̄₁ is the policy induced by the first target value function. The arg max asks which action a has the highest estimated value in state s. Because the action space is continuous, QT-Opt approximates this search with the cross-entropy method, a stochastic optimization procedure.

The cross-entropy method used for action search should not be confused with the cross-entropy losses used elsewhere in training. Here it is a way to search over candidate actions. RCAN leaves that control mechanism intact and changes the visual evidence on which value estimates depend.

#### Add limited real experience

After simulated preparation, the authors collect real on-policy grasps. “On-policy” means these attempts come from the system currently being trained, rather than only from an older stored collection. Joint finetuning combines that stream with continuing on-policy experience generated in simulation.

This differs from the comparison procedure that reloads a large collection of past real grasps while also gathering new real attempts. RCAN assumes that such a real archive is unavailable. Simulation supplies the continuing experience that would otherwise have to come from past physical operation.

The real training collection uses about 1,000 varied objects. Between 5 and 10 are placed in each tray, with the selection changed every few hours. These objects are distinct from the held-out evaluation objects.

During this stage, gradient updates affect the grasping network but leave the RCAN generator fixed. The translated view therefore remains imperfect. Improvement comes from teaching the controller how to use its combined source-and-adapted observation more effectively, instead of retraining the translator to reproduce real scenes more accurately.

### Experiments and results

#### What the evaluation measures

The experiments ask whether a policy can grasp unfamiliar real objects without real-image training, whether RCAN improves on direct domain randomization, and whether limited real experience further improves performance. These questions are tested through physical grasping across multiple Kuka IIWA robots.

Each robot performs 102 attempts using its own set of 5 to 6 unseen test objects. Those object sets stay constant across evaluations. After an attempt, the object is returned to a randomly selected location in the tray. The protocol therefore uses replacement rather than evaluating how completely a robot can empty a tray without objects returning.

An attempt can last at most 20 timesteps. If no object has been grasped by that point, it is counted as a failure. All visual observations come from the camera over the robot’s shoulder. The metric is average grasp success across the evaluated robots.

The held-out-object condition matters. The authors state that test objects appear in neither simulated training nor real joint finetuning. Success therefore requires transfer across object instances as well as across the visual differences between simulation and the physical workspace.

At the same time, the protocol is a controlled comparison. Keeping each robot’s test objects fixed makes it easier to attribute score changes to the training condition. It does not establish performance across every possible object distribution or robot workspace.

#### Initial transfer without real training

The canonical-simulation baseline tests how much of the problem remains if the policy is simply trained virtually and then deployed. It achieves 21% real grasp success. That result shows that a policy capable of learning in the selected simulated environment does not automatically interpret camera observations well enough for reliable operation.

RCAN reaches 70% without real training data. The following chart compares those endpoints under the zero-shot condition.

Real unseen-object evaluation, zero-shot grasp success Adding randomized-to-canonical adaptation makes simulated preparation substantially more useful on the physical robot.

**The numbers**

| System or setting | grasp success % |
| --- | --- |
| Canonical simulation transferred directly | 21 |
| RCAN (this paper) | 70 |

The more demanding comparison is against policies trained directly on randomized images. The authors vary the amount and kind of randomization instead of testing only a weak baseline.

Mild randomization changes the tray’s texture, object texture and color, arm color, and illumination direction and brightness. Its background imagery comes from 6 views associated with the real camera. Medium randomization expands background variation on the floor. Heavy randomization uses the scheme employed for RCAN’s paired training data.

Across these direct-randomization conditions, zero-shot success lies between 33% and 37%. The text reports that range without assigning every individual value to a named condition. RCAN’s 70% is therefore supported as an improvement over the tested family, without requiring an invented ordering among its members.

A useful distinction concerns real-data access. RCAN’s initial translator training uses simulated observations, whereas the mild-randomization description includes a small set of real-camera backgrounds. The direct-randomization comparisons are thus not interchangeable definitions of a strictly simulation-only pipeline. Their common role is to test whether putting visual variation directly into policy training is sufficient.

#### Stable learning does not guarantee strong transfer

The authors find that QT-Opt remains trainable under heavy randomization. This contrasts with the instability reported for other reinforcement learning algorithms in earlier work discussed by the paper.

That finding narrows the interpretation of RCAN’s advantage. The zero-shot improvement cannot simply be described as rescuing a baseline that failed to learn anything. QT-Opt can handle the randomized training process, yet its resulting policy transfers poorly relative to RCAN.

The experiment therefore separates successful optimization in simulation from useful generalization to camera imagery. A training procedure can tolerate wide appearance variation without discovering exactly the invariances needed for the physical setting. RCAN’s paired visual task supplies a more directed way of using that variation.

#### What limited real finetuning changes

The authors choose 5,000 real grasps as their smaller joint-finetuning budget. They describe collecting this amount in a day, compared with the much longer collection effort associated with the large real-data baseline.

After this stage, RCAN reaches 91% success. The direct-randomization systems also improve considerably, reaching between 77% and 85%. Their behavior is important to the paper’s practical conclusion: domain randomization is a useful preparation strategy even when its initial deployment performance is weak.

The earlier QT-Opt system achieves 87% after training on 580,000 off-policy real grasps. In the additional comparison reported here, joint finetuning that already real-trained system with 5,000 new grasps gives 85%. The paper interprets this as no demonstrated improvement from that smaller additional budget.

These figures should be read with their training conditions attached. RCAN’s 91% follows simulated learning plus limited physical interaction. The baseline’s 87% follows extensive real-data training. They support an advantage in the amount of real experience required to reach the reported performance, rather than equal computational cost or equal total training experience.

With 28,000 real grasps for joint finetuning, RCAN reaches 94%. The paper describes that as close to the stronger jointly finetuned QT-Opt result, whose success rate is discussed as 96%. RCAN substantially reduces the real-data requirement, but it does not exceed every reported comparison endpoint.

RCAN on real unseen objects, success after joint finetuning Real interaction improves RCAN beyond its initial transfer performance, while the generator remains fixed.

**The numbers**

| System or setting | grasp success % |
| --- | --- |
| No real training grasps | 70 |
| After 5,000 real grasps | 91 |
| After 28,000 real grasps (this paper) | 94 |

The authors also inspect intermediate checkpoints between initial deployment and 5,000 real grasps. They evaluate RCAN and the mild-randomization policy at intervals of 1,000 grasps. Most of the observed gain arrives within the first 2,000 grasps for both methods.

That learning-curve observation is useful even without reading numerical values from the plotted curves. It indicates that much of the adaptation happens early in physical operation. The paper does not provide enough textual checkpoint values to reconstruct a detailed numerical trajectory, so the broad timing conclusion is more defensible than a newly drawn curve.

#### What the generated images reveal

The visual examples show the generator converting randomized simulated scenes and real scenes into the selected canonical appearance. The authors highlight cluttered scenes and shadows that appear consistent with the canonical illumination.

Those examples support the claim that the learned mapping does more than replace a uniform background. It attempts to preserve object and robot arrangements while changing the rendering convention. Its depth and segmentation outputs also show the auxiliary predictions used during training.

The comparison between simulated and real inputs reveals an important weakness: the gripper is reconstructed more accurately for randomized simulated observations. This qualitative mismatch helps explain a behavioral failure discussed by the authors. The area where the policy must judge whether it is holding an object is also an area where translation artifacts can become consequential.

### What the ablations show

#### The central controlled comparison is where randomization goes

The paper does not present a comprehensive component-by-component ablation of RCAN. Its main controlled comparisons vary the source of policy-training images and the amount of subsequent real interaction. These experiments establish the value of the complete pipeline more clearly than they establish the necessity of every architectural choice.

The key comparison places randomization in different roles. In the direct approach, the grasping network receives randomized images and must learn a robust action-value function. In RCAN, randomization first supplies a supervised translation task, and the grasping system receives an adapted view alongside the original observation.

The zero-shot result favors RCAN. This supports the claim that the tested use of randomization improves transfer relative to learning control directly from varied rendering conditions. It does not isolate whether the gain comes mainly from paired supervision, the canonical style, auxiliary tasks, added processing capacity, or their interaction.

The authors’ explanation is that the generator takes on visual complexity that would otherwise burden the grasping network. This is plausible given the architecture and training arrangement. However, the experiments do not directly measure how much complexity has moved between components, so it remains an explanation consistent with the evidence rather than a separately established mechanism.

#### Increasing randomization is not a complete solution

The mild, medium, and heavy conditions test whether broader appearance variation alone closes the transfer gap. All remain within the reported 33% to 37% zero-shot range. The experiment therefore gives no basis for claiming that simply adding the tested forms of visual diversity makes direct policy transfer competitive with RCAN.

It also reveals that optimization stability and transfer quality are different properties. QT-Opt tolerates heavy randomized training, which limits the relevance of instability as an explanation for its weaker real performance.

The precise scope matters. The paper tests particular randomization schemes, not every possible distribution over rendering changes. A different choice of variation could behave differently. What the experiments establish is that RCAN outperforms these concrete alternatives under the shared grasping evaluation.

#### Real experience changes the value of the baselines

After 5,000 real grasps, directly randomized policies reach substantially stronger performance. This suggests that their simulated training has learned features or behavioral structure that real data can quickly refine, even though it does not transfer reliably at first.

The authors propose viewing direct randomization as a strong pretraining regime. That interpretation explains why an initially weak policy can improve quickly without learning grasping from an empty starting point. The result is broader than a simple ranking of initial success rates: it shows that the usefulness of simulated preparation depends on whether the system will receive later physical experience.

RCAN retains the higher reported performance at the smaller finetuning budget. The difference between approaches becomes less pronounced than in zero-shot deployment, which means the practical choice should depend partly on the expected amount of real adaptation data.

The checkpoint analysis reinforces this interpretation. Both RCAN and mild randomization gain much of their improvement early. The paper does not establish a detailed law relating data volume to success, but it does show that the initial stages of real interaction are highly consequential in this setup.

#### Regrasping connects image quality to control behavior

Regrasping is the clearest behavioral analysis. A capable closed-loop system can recognize that its gripper has closed without securing an object, reopen it, and try again. The paper reports that RCAN initially preserves several useful corrective behaviors but shows relatively little regrasping.

The likely difficulty is visually local. A small object between the fingers and an artifact created by translation may be hard to distinguish. An error in that judgment changes the sequence of actions: the robot may fail to reopen when it should, or misunderstand whether an attempt has succeeded.

After joint finetuning with 5,000 real grasps, regrasping becomes more apparent. The authors attribute this partly to the policy’s access to both the generated and original images. The controller can learn to consult camera evidence where the translated image is unreliable.

This attribution is not backed by a reported removal experiment that discards the source image. The behavioral change is observed, while the proposed explanation remains a hypothesis. A careful account should preserve that distinction.

#### Several useful design choices remain unisolated

The paper reports experimenting with L1, L2, and mean pairwise squared error for image reconstruction, choosing the last for faster convergence without reduced performance. It does not supply a detailed numerical comparison that would establish how broadly that preference holds.

Similarly, there is no reported success-rate ablation removing segmentation supervision, depth supervision, the adversarial objective, or individual aspects of the canonical appearance. The auxiliary tasks have a clear intended function, but their independent contribution to the final grasping score is not measured.

There is also no reported grasping comparison that feeds the auxiliary predictions into QT-Opt. The authors deliberately keep them out of the policy input and suggest that including them could be explored later. That proposal should not be mistaken for an evaluated extension of RCAN.

### Limitations

#### Author-observed limitation: translation can damage decisive details

The authors explicitly identify imperfect real-to-canonical translation as a source of failure. The generated gripper can differ from the physical one, and artifacts can be confused with small objects. This matters because closed-loop grasping depends on recognizing intermediate outcomes, not merely locating an object at the beginning.

A translated scene can look broadly convincing while being wrong at exactly the location needed for a control decision. The qualitative images and regrasping discussion make this more concrete than a general warning about image generation. The failure concerns the evidence used to decide whether another attempt is necessary.

Keeping the real image available helps the downstream network potentially recover from such errors. It also means the complete system does not establish that a generated canonical image alone contains everything required for reliable grasping. The actual architecture preserves a route around the translator.

#### Author-stated uncertainty: why the method improves transfer

The authors hypothesize that RCAN simplifies the control problem by moving visual variation into a separately trained component. They also suggest that imposing a canonical structure can make learning easier. These explanations are consistent with the results but are not individually tested.

Similarly, the paper proposes that direct randomization learns broadly useful visual features that later adapt quickly. The strong finetuning result supports the usefulness of the initialization. It does not reveal exactly which representations are responsible.

The distinction is scientifically important. The experiments establish that the complete RCAN procedure performs well under the evaluation. They provide less evidence about which internal learning mechanism is essential or sufficient.

#### Author-proposed extension: improve adaptation with real observations

RCAN’s initial appeal is that its translator requires no real images. Once physical operation begins, however, real observations become available. The authors explicitly suggest combining RCAN with domain-adaptation ideas to use those observations more effectively.

This is an open direction in the paper. During the reported joint finetuning, the generator stays fixed. The results therefore do not show whether adapting that generator would reduce artifacts, improve grasp success, or introduce new training difficulties.

The authors also suggest passing auxiliary segmentation and depth predictions to the grasping network. Again, that is a proposal instead of a reported result. The demonstrated policy input contains the original RGB image and the generated RGB image, together with the nonvisual state variables.

#### Careful-reader limitation: randomization does not guarantee coverage

The translator’s real-world behavior depends on generalization beyond its synthetic training inputs. Paired supervision makes the simulated task well specified, but it does not guarantee that every physical camera image falls within a useful range of variation.

The experiments demonstrate adequate coverage for the tested setup and objects. They do not establish how the method behaves under an arbitrary change in camera arrangement, robot appearance, or visual environment. Those changes could alter the relationship between the real observation and the canonical target.

The canonical environment itself is hand chosen. Uniform background and arm colors, distinct link colors, retained object textures, and fixed lighting are reasonable decisions for the task. The paper does not compare alternative canonical designs, so it cannot identify a generally optimal representation.

#### Careful-reader limitation: visual transfer is only part of transfer

The paper recognizes differences in simulated physics as well as appearance. RCAN directly acts on the observation image. It does not by itself correct inaccurate contact behavior, object dynamics, or other physical mismatches.

The strong grasping results show that the overall system can succeed despite the remaining discrepancies in this experiment. They do not demonstrate that visual canonicalization will be sufficient for tasks whose outcomes depend more sensitively on unmodeled physical properties.

There is also an object-distribution issue. Holding out test objects provides meaningful evidence of generalization, but the simulated training collection and the real evaluation still define particular distributions. Performance on unfamiliar items in this setup does not imply equal performance on every type of graspable object.

#### Careful-reader limitation: real-data efficiency is not total-cost efficiency

The headline comparison concerns physical grasping data. RCAN uses extensive simulated experience and a separate image-translation training process. The paper does not provide a complete accounting that makes simulator computation, visual training, robot time, and engineering effort directly comparable across systems.

Its result should therefore be read as a reduction in required real-world examples under the reported procedure. That is valuable because robot interaction is costly, but it is narrower than proving the cheapest possible training system overall.

The comparison with the real-trained QT-Opt baseline also joins systems with different histories of experience collection. RCAN’s joint training continues to generate simulation data, whereas the baseline can reload past real data. The authors describe these differences, and they belong in the interpretation of the scores.

#### Careful-reader limitation: the evaluation has a specific reach

The test uses multiple robots and unseen objects, which is stronger than a single illustrative demonstration. Nonetheless, each robot repeatedly encounters its assigned object set, and objects return to the tray after attempts. The metric measures success under that repeated-grasp protocol.

The paper does not report uncertainty intervals or detailed variation across every robot and object in the textual results. Small differences between high-performing endpoints therefore deserve more caution than the broad gap between initial RCAN transfer and direct randomized training.

The method is also evaluated with QT-Opt rather than several different control algorithms. Compatibility with other reinforcement or imitation learning methods follows from the input-preprocessing design, but compatibility is not the same as demonstrated benefit. The paper does not establish that every downstream learner would obtain comparable gains.

Finally, the real-data result and the zero-shot result answer different claims. RCAN’s initial deployment uses no real training observations. Its stronger later performance uses physical grasping experience. Keeping those conditions separate preserves the paper’s actual contribution without implying that its best reported score is achieved completely through simulation.

### What came after

No specific later citing work is available to support a documented account of RCAN’s subsequent influence. The paper itself leaves several concrete directions: combine simulated canonicalization with adaptation from real observations, make better use of the real grasps collected during finetuning, and test whether the predicted depth and segmentation can improve the controller when supplied as inputs.

It also proposes applications beyond grasping, including generating segmentation for autonomous driving. That is a suggested use of the general approach, rather than a result demonstrated by the experiments.

The research question left open is how far a supervised task created inside simulation can support reliable interpretation of real inputs. RCAN gives a clear positive example for closed-loop grasping, while its gripper artifacts show why intermediate representations must be judged by the decisions they support. Future extensions would need to establish both broader transfer and preservation of the small details on which successful action depends.

## Cite

Cite as Stephen James, Paul Wohlhart, Mrinal Kalakrishnan, Dmitry Kalashnikov, Alex Irpan, Julian Ibarz, Sergey Levine, Raia T. Hadsell and Konstantinos Bousmalis. 2019. Sim-To-Real via Sim-To-Sim: Data-Efficient Robotic Grasping via Randomized-To-Canonical Adaptation Networks. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr.2019.01291](https://doi.org/10.1109/cvpr.2019.01291) · [arXiv 1812.07252](https://arxiv.org/abs/1812.07252)

```bibtex
@inproceedings{james2019sim,
  title = {{Sim-To-Real via Sim-To-Sim: Data-Efficient Robotic Grasping via Randomized-To-Canonical Adaptation Networks}},
  author = {Stephen James, Paul Wohlhart, Mrinal Kalakrishnan, Dmitry Kalashnikov, Alex Irpan, Julian Ibarz, Sergey Levine, Raia T. Hadsell and Konstantinos Bousmalis},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2019},
  doi = {10.1109/cvpr.2019.01291},
  eprint = {1812.07252},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2019.01291}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
