TL;DR
Reinforcement Learning (RL) at the "mega-scale"—using over one million parallel environments—often hits a bottleneck where compute is wasted on tasks that are either too easy or too hard. This paper introduces Success Guided Sampling (SGS), a simple adaptive sampling strategy that focuses training on the "frontier" of a policy's capabilities. By maintaining a balanced "data diet," SGS enables robots to learn complex behaviors like nut-and-bolt assembly and agile locomotion across treacherous terrains, outperforming standard uniform sampling and prior curriculum methods.
What Problem Does This Paper Address?
Sim-to-real RL has become a powerhouse for robot control, but it typically requires significant manual engineering, such as carefully shaped reward functions or expert demonstrations to guide exploration. While recent work has shown that massively parallel simulation combined with diverse "resets" (starting the robot in various intermediate states) can reduce this engineering burden, a new problem emerges at scale: sampling inefficiency.
When training across millions of environments, a uniform sampling of tasks means the robot spends most of its time practicing things it has already mastered or attempting tasks that are currently impossible. This leads to a "wasted" learning signal. The authors identify this as the exploration bottleneck in mega-scale RL, where simply adding more parallel environments yields diminishing returns unless the data distribution is actively managed.
Methods
The core contribution is Success Guided Sampling (SGS). Instead of sampling task configurations uniformly, SGS uses a rolling estimate of the policy's success rate ($p_i$) for each task configuration to decide what to practice next.
- Success Tracking: The system maintains a history of the last $H$ outcomes for each task configuration.
-
Beta-Shaped Weighting: To focus on the "learning frontier," SGS weights configurations using a Beta distribution kernel. This prioritizes tasks with moderate success rates (e.g., around 50-66%), avoiding those with 0% or 100% success. Beta-shaped sampling distribution. Different parameterizations prioritize coverage and sampling greediness.
-
Softmax Sampling: A softmax function with temperature $T$ converts these weights into sampling probabilities, ensuring that even "solved" or "impossible" tasks retain a non-zero probability of being revisited to keep success estimates accurate.
- Shared Rewards: Crucially, the authors use a single, simple reward function for all locomotion tasks and another for all manipulation tasks, rather than per-task shaping.
- Teacher-Student Distillation: For real-world deployment, they train "teacher" policies using privileged state information (like exact object poses) and then distill them into "student" policies that only use RGB camera images via DAgger.
Datasets
The authors evaluated SGS on two primary benchmarks:
- Multi-terrain Locomotion: A suite of 13 challenging terrains for the Anymal-D quadruped, including slopes, stairs, gaps, and procedurally generated "floating islands" and mazes. This involved 104,000 unique task configurations.
- Dexterous Manipulation: Six tasks from the NIST Assembly Task-Board (ATB1), such as nut-and-bolt threading, gear meshing, and BNC connector assembly. These tasks require high precision and contact-rich interactions. Manipulation and locomotion tasks. 6 NIST Assembly Task-Board (ATB1) tasks and 12 of the 13 challenging locomotion terrains, solved with SGS.
Key Insights and Ideas
- The "Frontier" is Key: The most useful gradients come from tasks where the robot is starting to succeed. By concentrating experience here, SGS makes the most of every simulation step.
-
Scaling Requires Adaptation: Uniform sampling actually performs worse as you scale to millions of environments in complex tasks because the ratio of "useful" experience to "wasted" experience drops. SGS shows monotonic improvement with scale. Success rate versus the number of parallel training environments. SGS achieves higher mean success than the compared baselines at 1M environments.
-
Simplicity Over Complexity: SGS is a non-parametric, success-based approach. It outperforms more complex methods like Prioritized Level Replay (PLR), which uses TD-errors to prioritize tasks, suggesting that success rate is a more robust signal for robot control at this scale.
- Emergent Robustness: Because SGS forces the robot to master the "frontier," the resulting policies exhibit robust behaviors, such as non-prehensile manipulation (flipping a nut) to recover from failures.
Key Results
- Mega-Scale Performance: At 1 million parallel environments, SGS achieved 73% success on multi-task locomotion (vs. 54% for PLR) and 70% success on Franka nut-and-bolt assembly (vs. 6% for uniform sampling).
- Unlocking New Capabilities: SGS solved the nut-and-bolt task, which requires ~6.5 revolutions of threading—a task prior sampling methods failed to learn entirely.
- Zero-Shot Sim-to-Real: The distilled RGB policies were successfully transferred to a real UR5e robot. They achieved a 94% success rate on gear mesh insertion and 37.5% on the highly difficult nut-and-bolt assembly. Zero-shot RGB sim-to-real transfer. Successful nut-and-bolt assembly (top), rod-in-hole insertion (middle), and gear mesh insertion (bottom) trajectories on UR5e hardware.
Limitations and Future Work
- Discrete Task Spaces: SGS currently maintains success estimates over a fixed, discrete set of configurations. Scaling this to continuous or infinite task spaces would require a learned representation of the task space.
- Reset Distribution Dependency: SGS decides how to sample from a given distribution but doesn't decide what tasks should be in that distribution. Integrating SGS with methods that automatically generate new, diverse reset states is a promising direction.
- Sim-to-Real Gap: While zero-shot transfer was successful, there remains a significant performance gap between simulation (90%+) and reality (37-94%), particularly for tasks with complex friction and contact dynamics like threading.
Summary updated