Robots trained in simulation are usually made robust by domain randomization: training on many versions of the simulator with different friction, masses, delays, and so on, so that the real world looks like one more variation. The best automated versions widen this range of versions only while the robot keeps succeeding, and narrow it again when success drops. We argue that this narrowing step often misreads the situation. A drop in success on a newly added, harder slice of simulated worlds can mean two things. The worlds may be unsolvable, or the policy may simply not yet have explored enough to find the behavior those worlds need. Current methods treat every drop as the first case, retreat to easier worlds, and forget what they had learned at the edge. We propose to test for the second case first. When success falls in a region of parameter space, the method raises the policy's exploration temperature (how random its actions are) in that region. It contracts the world distribution only if that fails.
The setting where this matters most is the one domain randomization handles worst: environments with moving obstacles. Most randomization work varies passive physics and assumes a static scene. We randomize obstacle behavior as well: pedestrian speed, how strongly pedestrians react to the robot, and how many there are. This produces exactly the sudden success drops that trigger premature retreat. Because the simulator knows which parameters it sampled, the temperature can depend on those parameters during training. At deployment the policy runs deterministically and never needs them.
Core Claim
Our central claim is that the temperature should depend on the simulator parameters. Letting it vary with them turns the "success dropped, so shrink the distribution" rule into a two-stage test that separates exploration failures from infeasibility. We claim this yields wider final training distributions, less forgetting after backtracking, and better held-out success in dynamic-obstacle navigation than either piece alone. The two pieces are entropy-constrained randomization with a global temperature, and adaptive temperature over a fixed distribution.
Where This Sits
The mechanism for widening the world distribution comes directly from Domain Randomization via Entropy Maximization (DORAEMON). It maximizes the entropy of the simulator-parameter distribution subject to task success staying above a threshold $\alpha$. When success falls below $\alpha$, a trust-region step contracts the distribution. DORAEMON trains with Soft Actor-Critic, a standard reinforcement learning algorithm. That algorithm keeps a single scalar temperature controlling policy randomness, tuned toward a fixed entropy target. The research file also records that its backtracking causes the policy to lose edge-case behaviors. We keep DORAEMON's outer loop and change what happens at a success drop.
Two related methods also shape the world distribution by feedback, and neither touches the policy's own exploration. Active Domain Randomization steers sampling toward parameter settings where a discriminator detects divergent behavior. Adaptive Curriculum Dynamics Randomization widens actuator-failure ranges when reward passes a threshold, and finds that hard-to-easy orderings can beat easy-to-hard ones. That finding is a caution for us: curriculum direction is not obvious, so our rule must be tested against reversals.
On the temperature side, three works make temperature adaptive, and all of them do so globally. Efficient Exploration via Epistemic-Risk-Seeking Policy Optimization (ERSAC) tunes one temperature in a game against epistemic uncertainty, and scales to DeepSea depth 250 where vanilla actor-critics fail beyond depth 14. Convergence Analysis of Policy Gradient Methods with Dynamic Stochasticity shows that learning the noise level converges faster but only to a stochastic policy. Phased decay instead recovers a deterministic policy at worse sample complexity. Temperature as a Meta-Policy adapts generation temperature in language-model reinforcement learning.
None of these three conditions temperature on environment parameters, and none operates under a shifting training distribution. The determinism result of Montenegro et al. constrains our design. The policy we deploy must be the deterministic mean action, so we must measure and control the gap between stochastic and deterministic performance rather than assume it is small.
Using simulator-only information to shape training but not deployment follows Asymmetric Actor Critic for Image-Based Robot Learning, which gives the critic privileged simulator state. We give that information to the exploration schedule instead.
The dynamic-obstacle regime is motivated by two works. Crowd-Robot Interaction shows that interaction-aware policies avoid the freezing that non-interactive ones suffer. Omni-Perception trains legged avoidance of moving obstacles with fixed PPO entropy, and samples obstacle trajectories from fixed velocity distributions. Neither randomizes obstacle behavior adaptively.
Research Program
Let $\xi$ be the vector of simulator parameters sampled for an episode, and let $p_\phi(\xi)$ be the randomization distribution that DORAEMON maintains, where $\phi$ holds its parameters. The vector $\xi$ covers robot dynamics (latency, acceleration limits, mass) and obstacle behavior (count, preferred speed, reactivity to the robot, and the probability that an obstacle ignores the robot).
We replace the single temperature with a small function $\tau_\psi(\xi)$, meaning a temperature that depends on the sampled parameters, with $\psi$ its learnable weights. We train it with the usual entropy-matching loss, but against a target entropy that also depends on the parameters:
$$ J(\psi) = \mathbb{E}_{\xi \sim p_\phi,\; s,\; a \sim \pi}\big[\tau_\psi(\xi)\,\big(-\log \pi(a \mid s) - H^*(\xi)\big)\big], \qquad H^*(\xi) = H_0 + \beta \max\big(0,\ \alpha - \hat{s}(\xi)\big). $$
Here $\pi(a \mid s)$ is the policy's probability of action $a$ in state $s$. $H_0$ is the base entropy target. $\hat{s}(\xi)$ is a kernel-smoothed estimate of recent success near $\xi$, and $\beta$ sets how much a local success deficit raises the target. Mastered regions therefore cool toward low noise, which keeps the deterministic deployment policy close to the trained one. Struggling regions heat up.
The outer loop is DORAEMON with one change. When global success falls below $\alpha$, we first freeze $p_\phi$ and let the heated temperature act for $K$ iterations. We run the contraction step only if success does not recover. We also log every such event as either "rescued by heating" or "contracted."
Deliberately infeasible configurations provide the key control. In these, obstacles move faster than the robot can escape, so the robot starts inside an inevitable collision state in the sense of Safe Motion Planning in Unknown Environments. A correct method must fall back to contraction there rather than heat forever.
Baselines
The naive reference point is fixed uniform randomization over the full target range, with standard automatic temperature tuning. In DORAEMON's PandaPush experiments, this Fixed-DR setting reached 0% real-world success.
The strongest existing method is DORAEMON itself, with its single automatically tuned temperature and immediate contraction. On the physical PandaPush task it reports 60% zero-shot success and 2.68 cm final error, against LSDR at 46.7% and AutoDR at 26.7% (DORAEMON). No reported result was found on Lacuna for DORAEMON or any adaptive randomization method on crowd navigation or dynamic-obstacle avoidance, so we will run it ourselves in those settings. We will also run Active Domain Randomization as a second distribution-shaping competitor.
For fairness, every method shares the same simulator, parameter ranges, policy network, and success threshold $\alpha$. All use the same environment-step budget and the same hyperparameter search budget, for example twenty configurations each. Results are averaged over at least five seeds.
Three ablations isolate the ingredients:
- Global temperature with the heat-first rule. Isolates the value of making temperature depend on $\xi$.
- Parameter-conditioned temperature with immediate contraction. Isolates the value of the heat-first rule.
- A policy with a learned state-dependent action spread and no temperature control. Tests whether ordinary Gaussian policies already do this implicitly.
Beating DORAEMON means two things at matched budget. First, higher success on a held-out test distribution drawn from the full target range. Second, a larger final distribution entropy at equal or better success, with the difference exceeding seed-to-seed variation.
Why not just…?
Why not just use Soft Actor-Critic's automatic temperature tuning, as DORAEMON already does? Automatic tuning holds one global entropy target. When a hard slice of worlds is added, it cannot raise exploration there without also making behavior noisier in slices the policy has already mastered. The heat-first rule depends on local heating, so this is exactly the "global temperature, heat-first" ablation. If that ablation matches the full method, our claim that temperature should depend on the parameters fails.
Why not just learn a state-dependent action spread? This is a real threat. A Gaussian policy whose spread depends on the observation could learn to be noisier around fast obstacles. However, such a policy's spread is trained by the return gradient and has no signal telling it that success is below $\alpha$ in a particular slice of the parameter space. It also cannot see privileged parameters such as obstacle reactivity, which the observation reveals only indirectly. The third ablation settles this directly.
Why not just keep contraction and add replay of hard-environment experience to stop forgetting? Replay addresses forgetting after retreat but not the misdiagnosis that caused the retreat. It is nonetheless cheap and plausible, so we include DORAEMON with a reservoir of edge-region episodes as an additional baseline. If replay closes the gap on the forgetting metric, our contribution narrows to the claim about final distribution width.
Why not just replan fast against static snapshots of the obstacles? Crowd-navigation results show that non-interactive reactive methods lag interaction-aware ones: CADRL at 78% versus LM-SARL at 100% in the invisible-human setting (Crowd-Robot Interaction). Those numbers do not bear on randomization, though. We therefore use an attention-based interaction policy as the backbone for all methods rather than as a competitor.
Proposed Experiments
The primary testbed is CrowdNav (CrowdNav), with an LM-SARL-style policy. We extend it so that pedestrian speed, count (up to 20, as in Intention Aware Robot Crowd Navigation), and reactivity to the robot are randomized jointly with robot latency and acceleration limits. The second testbed is a reduced reimplementation of the Omni-Perception Isaac Gym setting, with six obstacles whose speed is randomized around its 1.5 m/s. In that fixed-speed setting, Omni-Perception reports 76.7% simulated success; this is not a randomized result. The third is simulated PandaPush, used to check that the method does not hurt a static manipulation task where DORAEMON is strong.
Metrics are:
- success, collision, and timeout rates on the held-out distribution, where timeouts measure freezing;
- final distribution entropy;
- a forgetting score: the drop in success on previously mastered regions after each backtrack event;
- the gap between stochastic and deterministic evaluation.
The decisive check is a forking experiment. At every success drop during a DORAEMON run, we branch training into contraction and heat-first continuations from the same checkpoint. We then measure how often heating recovers success without contraction, and whether recovered branches keep their edge behaviors.
The heat-first idea is supported only if two conditions hold together. Heating must rescue a substantial fraction of drops in feasible regions. It must also almost never rescue drops in the planted infeasible regions. If heating rarely rescues anything, drops are mostly true infeasibility and DORAEMON's rule is already right. If heating "rescues" infeasible regions, the success signal is being gamed and the method is unsafe.
References
- Domain Randomization via Entropy Maximization
- Active Domain Randomization
- Reinforcement Learning with Adaptive Curriculum Dynamics Randomization for Fault-Tolerant Robot Control
- Efficient Exploration via Epistemic-Risk-Seeking Policy Optimization
- Convergence Analysis of Policy Gradient Methods with Dynamic Stochasticity
- Temperature as a Meta-Policy: Adaptive Temperature in LLM Reinforcement Learning
- Asymmetric Actor Critic for Image-Based Robot Learning
- Crowd-Robot Interaction: Crowd-Aware Robot Navigation With Attention-Based Deep Reinforcement Learning
- Omni-Perception: Omnidirectional Collision Avoidance of Legged Robots in Dynamic Environments
- Safe Motion Planning in Unknown Environments: Optimality Benchmarks and Tractable Policies
- Intention Aware Robot Crowd Navigation with Attention-Based Interaction Graph