UW and NVIDIA's SGS Trains Real Robots Across a Million Simulated Environments
Success-Guided Sampling fixes a wasted-batch problem in massively parallel RL, letting PPO scale past a million simulated robots and transfer to real hardware.
Takeaways
- SGS is a sampler tweak on top of PPO that focuses training on tasks at the policy's capability frontier.
- Scales cleanly to 2^20 parallel environments where uniform sampling and PLR collapse or stall.
- Franka nut-and-bolt reaches 0.70 success at 1M envs vs 0.05-0.06 for baselines.
- ANYmal D locomotion hits 0.73 across all terrains at 1M envs vs 0.54 for PLR.
- UR5e assembles NIST board parts zero-shot from RGB, trained only in simulation.
- Project site and paper live; code coming soon, CoRL 2026.
A University of Washington and NVIDIA team reports that task selection limits large-scale sim-to-real reinforcement learning more than the underlying training algorithm. Its method, Success-Guided Sampling (SGS), modifies the reset sampler so each simulated robot spends more time on configurations near its current ability. Paired with standard proximal policy optimization (PPO), SGS scaled beyond one million parallel environments.
In zero-shot hardware tests, a UR5e robot used RGB observations to thread nuts onto bolts, mesh gears, and insert pegs on a NIST assembly task board. Zero-shot means the policies trained entirely in simulation and received no real-world fine-tuning before deployment. The reported system also used no human demonstrations or per-task reward shaping. The same training recipe taught ANYmal quadrupeds to cross floating islands and stepping stones and to climb boxes.
Why giant batches go stale
GPU simulators such as Isaac Lab can run thousands of environment copies and pool their trajectories into a single PPO update. A larger batch provides more experience, but its value depends on which tasks those environments attempt.
Uniform reset sampling assigns each worker a random task configuration, defined as an initial robot state, a goal, and an environment layout such as terrain or object pose. As training progresses, many sampled configurations become either routine or temporarily unreachable. Both groups contribute limited learning signal, while configurations near the policy’s competence boundary become a smaller share of the batch.
The authors describe that distribution shift as an exploration bottleneck. Increasing the worker count reproduces the same weak task mix at greater scale, so additional simulation can yield little improvement or destabilize training.
A few lines redirect training
SGS creates a fixed pool of task configurations and stores a rolling success history for each one. A Beta-shaped weighting curve gives the highest reset probability to configurations with intermediate success rates. Solved configurations and consistently failed configurations receive lower weights while retaining some exposure.
Four changes in the reset loop
- Generate
Ntask configurations before training. - Attach a small success-history buffer to each configuration.
- Record the episode’s binary outcome in the corresponding buffer.
- Draw the next reset from weights computed from current success rates.
The PPO optimizer, policy architecture, and rollout process remain unchanged. On the project page’s nut-on-bolt example, a configuration with zero success receives a relative weight of 0.14. Its weight rises to 0.99 near a 40% success rate and falls to 0.73 once success reaches 90%.
The million-environment test
The authors swept from roughly 4,000 to one million parallel environments and compared SGS with uniform sampling, a linear curriculum, and Prioritized Level Replay (PLR), an existing method for replaying levels according to learning signals.
| Benchmark | SGS | PLR | Other baselines |
|---|---|---|---|
| Franka nut-and-bolt assembly | 0.70 | About 0.05–0.06 | Uniform sampling: about 0.05–0.06 |
| ANYmal D multi-terrain locomotion | 0.73 | 0.54 | Uniform and linear curricula: 0 |
SGS continued improving as the number of environments increased. Several baselines degraded at the largest scale, which the authors attribute to batches dominated by solved or inaccessible configurations. The results show why simulator throughput alone cannot ensure better policies: the reset distribution determines whether that throughput reaches useful parts of the task space.
RGB closes the sim-to-real gap
The simulation teachers consume privileged state, meaning exact variables available from the simulator, such as robot and object poses. The team distilled those teachers into RGB-based student policies through DAgger-style imitation. During data aggregation, the student visits states under its own policy and the teacher supplies target actions for those states.
The resulting students ran zero-shot on a UR5e. Their learned strategies included bracing a rod against a task-board leg to tip it upright, standing a gear against its shaft, and flipping a nut to avoid regrasping. These behaviors emerged from simulation training without teleoperated examples.
SGS needs measurable wins
SGS fits episodic tasks with reusable configurations and a clear success criterion. A practical implementation has several requirements:
- Each episode must produce a binary success signal.
- Configuration identities must persist long enough to accumulate success histories.
- The configuration pool must cover the states, goals, and layouts expected at deployment.
- Simulation fidelity, domain randomization, and task generation remain separate engineering requirements.
- Training infrastructure must store and update a small history buffer for every configuration.
Open-ended behaviors without a natural completion event fit the method less cleanly. A poorly constructed fixed pool can also omit important situations, regardless of how effectively SGS allocates samples within that pool.
Hardware results still have boundaries
- The team has completed 6 of the 20 NIST assembly-board tasks.
- Contact-rich manipulation remains sensitive to gripper-pad friction. The paper’s sweep includes failures with a 100 μm pad configuration described as unrealistic.
- The RGB student initially trails the simulation teacher and requires continued distillation to close the gap.
- The reported real-world evaluation covers a UR5e and a limited set of assembly objects, leaving broader hardware generalization untested.
Code is listed as forthcoming on the project page, and the paper is scheduled for CoRL 2026. Until the release, developers can reproduce the core mechanism from the published pseudocode by adding per-configuration success histories and weighted reset sampling to an existing PPO pipeline.