Balancing Generalization and Feasibility in Domain Randomization

24 concepts21 papers1 proposal

In the quest to deploy reinforcement learning (RL) policies from simulation to the physical world—the classic "Sim2Real" challenge—researchers frequently encounter the reality gap. Because simulators rely on simplified physics and approximations, a policy trained in a pristine virtual environment often fails catastrophically when confronted with real-world friction, mass discrepancies, or sensor noise.

To bypass this, the robotics community widely relies on Domain Randomization (DR). By intentionally perturbing simulation parameters during training, we can force an agent to learn features and behaviors that are invariant to environmental shifts. However, configuring these parameters introduces a fundamental, highly sensitive trade-off between policy robustness and task feasibility.

The Core Tension: Robustness vs. Feasibility

Configuring a domain randomization pipeline requires defining exactly which physical parameters to vary and choosing the upper and lower bounds of those variations. This choice introduces a delicate balancing act described by Fabio Ramos et al. in BayesSim: Adaptive Domain Randomization Via Probabilistic Inference for Robotics Simulators and Yuqing Du et al. in Auto-Tuned Sim-to-Real Transfer:

  [ Narrow Range ]  <------------ [ Optimal Range ] ------------>  [ Broad Range ]
  Overfits to Sim                  Max Generalization               Overly Conservative
  Fails in Reality                 High Performance                 or Unlearnable Task

Why Over-Randomization Destroys Performance

To understand why widening the randomization bounds indefinitely fails, we must look at how RL optimization algorithms interact with environmental variance. Over-randomization harms the learning process in two distinct ways:

1. Policy Conservatism

When an agent is optimized to maximize expected rewards across an excessively wide distribution of environments, it must find a single policy that prevents catastrophic failure under all possible conditions. As Eduardo Candela et al. demonstrate in Transferring Multi-Agent Reinforcement Learning Policies for Autonomous Driving using Sim-to-Real, this forces the agent to adopt highly cautious, sub-optimal strategies. For example, an autonomous vehicle might drive at a crawl to handle a theoretically possible but highly improbable friction drop, sacrificing practical efficiency. Tianle Huang et al. echo this in BayRnTune: Adaptive Bayesian Domain Randomization via Strategic Fine-tuning, noting that overly broad ranges consistently yield conservative policies that underperform during deployment.

2. Optimization Collapse

From an optimization standpoint, extreme parameter variance injects massive stochasticity into the transition dynamics. As Aidan Curtis et al. explain in Flow-based Domain Randomization for Learning and Sequencing Robotic Skills, broad uniform distributions often sample physically impossible or contradictory configurations. This washes out the gradient signal, causing the optimization algorithm to drop into poor local minima. When the training signal becomes indistinguishable from noise, the agent fails to acquire any useful behavior whatsoever (Yecheng Jason Ma et al. in DrEureka: Language Model Guided Sim-To-Real Transfer).

The Manual Tuning Bottleneck

Because the "Goldilocks zone" for randomization parameters is narrow, setting these ranges has historically required significant human intervention. In a comprehensive review, Wenhao Yu points out in Robot Learning From Randomized Simulations: A Review that this requirement effectively shifts the engineering burden from manual controller design to the manual tuning of randomization hyperparameters.

This manual process creates several distinct bottlenecks:

Algorithmic Solutions: Automating the Pipeline

To eliminate the manual tuning bottleneck, recent research focuses on algorithms that dynamically discover, scale, or entirely bypass explicit parameter distributions.

Rather than guessing parameter ranges, some frameworks use real-world data to solve the inverse problem. The authors of BayesSim use a data-driven approach to estimate the posterior distribution of physical parameters based on sparse real-world observations. Similarly, Yuqing Du et al. in Auto-Tuned Sim-to-Real Transfer reframe system identification as a search problem, using raw real-world visual observations to predict whether a simulator parameter should be adjusted higher or lower.

Expressive Generative Distributions

Standard domain randomization relies on simple uniform or Gaussian distributions. However, real-world variations are often complex and multimodal. To address this, Aidan Curtis et al. introduce Flow-based Domain Randomization for Learning and Sequencing Robotic Skills, which uses normalizing flows to automatically learn intricate parameter distributions. This maximizes environmental coverage while ensuring the simulator samples remain within feasible, learnable bounds.

Foundation Model Guidance

With the rise of large language models (LLMs), researchers are now leveraging evolutionary code generation to automate parameter selection. Frameworks like DrEureka and DexScale use LLMs to reason about physical properties, automatically generating reward functions and scaling domain randomization parameters without human intervention.

Bypassing Parameterization Entirely

Some approaches avoid explicit parameter manipulation altogether by modifying the optimization objective directly. For instance, Benjamin Eysenbach et al. in Off-Dynamics Reinforcement Learning: Training for Transfer with Domain Classifiers use binary domain classifiers to distinguish between source and target transitions, altering the reward function to steer agents away from simulation-specific physics exploits. Alternatively, Yuan Zhang demonstrates in UDUC: An Uncertainty-driven Approach for Learning-based Robust Control that enforcing diversity within a probabilistic ensemble model creates a "virtual domain randomization" effect, achieving robust control without requiring an explicit, parameterized model of environmental disturbances.

Key Foundational Work

BayesSim: adaptive domain randomization via probabilistic inference for robotics simulators (2019) — contributed 1 concept elements to this direction.
Domain Randomization for Simulation-Based Policy Optimization with Transferability Assessment (2018) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_domain_randomization_configuration_59f2fc0c,
  title = {domain randomization configuration},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/domain-randomization-configuration/rdr_59f2fc0c70e4469cb238da250fb4e768},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_domain_randomization_configuration_59f2fc0c_v1,
  title = {domain randomization configuration},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/domain-randomization-configuration/rdr_59f2fc0c70e4469cb238da250fb4e768/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake