Papers
Topics
Authors
Recent
Search
2000 character limit reached

Self-Supervised Active Domain Randomization

Updated 9 April 2026
  • SS-ADR is a reinforcement learning methodology that combines self-play with active domain randomization via SVPG sampling to create co-adaptive curricula.
  • It jointly evolves environment parameters and task goals, aligning task difficulty with the agent’s learning frontier for improved performance.
  • Empirical results show SS-ADR achieves robust sim-to-real transfer and lower variance compared to traditional uniform randomization methods.

Self-Supervised Active Domain Randomization (SS-ADR) is a methodology for generating automatic curricula in goal-directed reinforcement learning (RL) by coupling self-play with active domain randomization. SS-ADR simultaneously evolves both the environment parameters and task goals, resulting in a co-adaptive curriculum that directly targets the agent’s current learning frontier. By integrating environment domain parameters into the self-play framework using stochastic value particle gradient (SVPG) sampling, SS-ADR addresses the limitations of traditional self-play and uniform domain randomization in sim-to-real transfer and in training agents on progressively harder tasks (Raparthy et al., 2020).

1. Formal Framework and Problem Setting

SS-ADR operates within a family of goal-conditioned Markov Decision Processes (MDPs), each indexed by an environment parameter vector θ∈Θ⊂RNrand\theta\in \Theta \subset \mathbb R^{N_{\rm rand}}. The MDP is defined as Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma), where:

  • S\mathcal S: State space (e.g., robot joint states and object positions).
  • A\mathcal A: Continuous action space (e.g., actuation torques).
  • Tθ\mathcal T_\theta: Transition kernel, with θ\theta parameterizing simulator dynamics (e.g., friction, mass).
  • G\mathcal G: Goal space, typically a subset of states constituting the desired task objective.
  • R(s,g,a)\mathcal R(s, g, a): Reward function, commonly −∥dist(s,g)∥-\|\mathrm{dist}(s, g)\| or a binary success indicator.
  • γ\gamma: Discount factor.

An episode consists of two phases. In the first, an agent ("Alice") proposes a goal Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)0 in a reference environment (Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)1). In the second, another agent ("Bob") attempts this goal in a randomized environment Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)2, where Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)3 is an SVPG-sampled distribution over Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)4. The SVPG particle system Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)5 with parameters Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)6 constitutes the active domain randomization module, adapting Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)7 to concentrate on maximally informative environment parameters.

2. Self-Play and Joint Curriculum Evolution

SS-ADR extends classical asymmetric self-play by intertwining the selection of both environment parameters and goals. The self-play loop comprises three principal policies:

  • Alice’s acting policy, Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)8, proposes a sequence of actions in Mθ=(S,A,Tθ,R,γ)\mathcal M_\theta = (\mathcal S, \mathcal A, \mathcal T_\theta, \mathcal R, \gamma)9 until issuing a STOP.
  • Alice’s stopping policy, S\mathcal S0, determines when her current state becomes the next goal (S\mathcal S1).
  • Bob’s acting policy, S\mathcal S2, executes goal-reaching behavior in a sampled environment S\mathcal S3.

For each episode:

  1. Alice acts in S\mathcal S4 and stops to set S\mathcal S5 at S\mathcal S6.
  2. Environment samples are drawn from S\mathcal S7; S\mathcal S8 is instantiated at S\mathcal S9.
  3. Bob is tasked to reach A\mathcal A0 in A\mathcal A1, and the time taken A\mathcal A2 is measured.
  4. Rewards are assigned as follows:
    • Alice’s curriculum reward: A\mathcal A3, incentivizing her to create goals just beyond Bob’s capabilities.
    • Bob’s RL reward: A\mathcal A4, the environment reward.

This architecture enables environment goals and dynamics to co-evolve, preventing degenerate solutions (e.g., insoluble tasks or trivial environments).

3. Optimization Objectives and Learning Dynamics

The SS-ADR optimization decomposes into several interacting objectives:

  • Bob’s RL Losses: Standard DDPG objectives are used with Q-function A\mathcal A5 and deterministic policy A\mathcal A6. The critic loss is

A\mathcal A7

and the actor loss is

A\mathcal A8

  • Alice’s Stop Policy: Treated as a two-action (STOP/don’t-stop) episodic task, optimized via REINFORCE with gradient

A\mathcal A9

  • SVPG-based ADR Sampler: Each SVPG particle Tθ\mathcal T_\theta0 updates via

Tθ\mathcal T_\theta1

where Tθ\mathcal T_\theta2 is an RBF kernel enforcing diversity, and Tθ\mathcal T_\theta3.

  • Bilevel Optimization View:
    • Inner loop (goal-conditioned RL):

    Tθ\mathcal T_\theta4 - Outer loop (curricula/ADR):

    Tθ\mathcal T_\theta5

4. Implementation and Algorithmic Workflow

A succinct pseudocode representation:

θ\theta3

Inputs, episodic role assignment, reward flow, and parameter updates are synchronized between policies and the ADR sampler. Alice’s acting policy is periodically set as a delayed copy of Bob.

5. Empirical Evaluation and Comparative Results

Experiments focus on robotic control in simulated and physical domains:

  • Benchmarks:

    • ErgoReacher: 4 DoF robotic arm with goal-reaching.
    • ErgoPusher: 3 DoF robotic arm pushing a puck to a goal.
  • Domain Randomization:
    • Pusher: puck friction in Tθ\mathcal T_\theta6.
    • Reacher: 8 simulator dynamics parameters randomized.
  • Baselines:
    • Uniform Domain Randomization (UDR): Tθ\mathcal T_\theta7.
    • Unsupervised-Default: self-play over goals only, Tθ\mathcal T_\theta8.
  • Metrics:
    • Final distance to goal (lower is better).
    • Success rate on held-out "hard" environments.
    • Sample efficiency (performance versus simulator steps).
    • Variance across 4 seeds.

Simulation Findings:

Method In-domain performance Hard env. generalization Variance
SS-ADR Fast, stable Robust convergence Low
UDR Unstable Often fails High
Unsupervised-Default Stable Poor generalization High
  • Self-play alone and SS-ADR perform similarly in-domain.
  • Only SS-ADR reliably reaches low error in unseen hard environments.

Sim-to-Real Transfer:

  • Transfer to real Poppy Ergo Jr. robots in three friction/torque regimes shows SS-ADR outperforms both baselines, with lower and more consistent final distances on target.
  • Error reduction is often 20–50% over baselines on hardest real settings.

Self-Calibration Study:

  • UDR can collapse if Tθ\mathcal T_\theta9 includes "impossible" or unsolvable θ\theta0 parameters.
  • SS-ADR’s SVPG sampler avoids unsolvable extremes, concentrating on a viable "band" of environments.

6. Mechanistic Insights and Limitations

The coupling of goal and environmental curriculum in SS-ADR avoids degenerate scenarios where goals or environment variations become unlearnably hard. The single self-play reward signal θ\theta1 unifies goal and environment adaptation, aligning the difficulty levels adaptively.

Empirically, SS-ADR achieves lower performance variance than either ADR or goal-space self-play isolated, a property important for safety and reliability in zero-shot sim-to-real transfer.

Limitations include:

  • Necessity for a realistic bounding range θ\theta2; excessively broad or unrealistic domains slow or stall progress.
  • Reliance on a time-delayed copy of Bob for Alice’s acting policy may introduce goal proposal bias; improved synchronization or joint optimization could enhance performance.
  • Extensions to tasks beyond reachability (e.g., deformable objects, multi-object manipulation) require new definitions for the goal-stopping criterion and possibly for the reward structure.

These factors underscore the importance of ongoing calibration, careful domain space specification, and further architectural innovation for broader task classes (Raparthy et al., 2020).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Self-Supervised Active Domain Randomization (SS-ADR).