DEAL: Diffusion Evolution Adversarial Learning for Sim-to-Real Transfer

Wentao Xu, Huiqiao Fu, Haoyu Dong, Zhehao Zhou, Chunlin ChenNeurIPS 2025

Training Reinforcement Learning (RL) controllers in simulation is safe and cost-effective, but the "reality gap"—the discrepancy between a simulator's physics and the real world—often causes these controllers to fail upon physical deployment. To address this, researchers have introduced DEAL (Diffusion Evolution Adversarial Learning), a novel framework that leverages diffusion models and adversarial training to bridge the sim-to-real gap with unprecedented precision.

The Sim-to-Real Bottleneck

The sim-to-real problem remains a major hurdle in robotics. While techniques like Domain Randomization (DR) help by training agents across a wide range of randomized parameters, they often result in overly conservative behaviors that lack agility.

An alternative approach is System Identification (Sys-Id), which attempts to tune the simulator's parameters to match the real world. However, traditional Sys-Id methods struggle as the number of parameters grows. Identifying dozens or hundreds of physical parameters simultaneously is notoriously difficult for standard optimizers, often leading to "parameter collapse" (getting stuck in local optima), low accuracy, or unstable convergence.

The DEAL Framework

DEAL tackles high-dimensional Sys-Id through a clever dual mechanism that iteratively identifies a robot's physical parameters (such as friction or joint stiffness) using minimal real-world data.

Schematic overview of the DEAL framework, highlighting the interplay between the Discriminator and Diffusion Evolution.

The architecture relies on two core components:

  1. Adversarial Learning (The Discriminator): A discriminator network is trained to distinguish between state transitions in the simulator (Source) and those from a small snippet of real-world data (Target). The discriminator’s output serves as a "fitness score"—the more realistic a simulation appears, the higher the score.
  2. Diffusion Evolution (The Generator): Instead of a standard gradient-based optimizer, DEAL employs Diffusion Evolution (DE). It treats the search for optimal parameters as an iterative denoising process. Starting with a noisy population of parameters, it "denoises" them toward a distribution that maximizes the discriminator's fitness score.

To ensure stability, DEAL adaptively adjusts the noise level based on the current population's fitness, balancing the exploration of new parameter spaces with the exploitation of known good ones. Additionally, it normalizes all physical parameters to a uniform scale to prevent crossover errors during optimization.

Key Insights and Innovations

  • Soft Weighting over Elitism: Traditional evolutionary strategies often use "elite selection," keeping only the top performers. DEAL uses soft probabilistic weighting over the entire population. This preserves diversity and prevents the optimizer from getting trapped in local optima, which is crucial for high-dimensional spaces.
  • Diffusion as a Stable Path: By reinterpreting the denoising process of diffusion models as an evolutionary step, DEAL provides a much more stable path to discovering true physical parameters compared to standard GAN-based or Bayesian methods.
  • Data Efficiency: DEAL is remarkably "few-shot." It can accurately identify complex parameters using just a few seconds of real-world trajectory data.

Results and Real-World Deployment

The authors evaluated DEAL across five simulated tasks (including the highly complex 125-parameter AllegroHand) and two challenging real-world deployments. DEAL consistently outperformed established baselines like EASI and BayesSim.

In high-dimensional tasks, DEAL achieved significantly lower search errors where other methods failed to converge. More importantly, policies retrained in a DEAL-optimized simulator performed nearly as well as "Oracle" policies trained directly on target physics.

Real-world deployment of the DEAL-optimized controller on the Unitree Go2 robot.

When deployed on a physical Unitree Go2 quadruped robot, DEAL-optimized controllers successfully climbed platforms and maintained straight-line running, whereas standard Domain Randomization controllers frequently failed or drifted significantly.

Limitations and Future Work

While highly effective, the authors note that the binary nature of the GAN discriminator might be a bottleneck. It is currently designed to distinguish between one target environment and one simulator at a time. If an environment features highly multimodal dynamics (e.g., a robot walking across surfaces with drastically different properties simultaneously), the discriminator might struggle to provide accurate fitness guidance. Future work will likely explore handling these complex, multimodal environmental dynamics to further close the reality gap.

Summary updated

BibTeX
@inproceedings{xu2025deal,
  author = {Wentao Xu and Huiqiao Fu and Haoyu Dong and Zhehao Zhou and Chunlin Chen},
  title = {{DEAL: Diffusion Evolution Adversarial Learning for Sim-to-Real Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=284GWLFtjU},
}
Figure