Organizations: Humanoids and Human-Centered Mechatronics Research Line, Istituto Italiano di Tecnologia (IIT), 16163 Genova, Italy. · LimX Dynamics, 518055 Shenzhen, China. · School of Automation and Intelligent Manufacturing (AIM), Southern University of Science and Technology, 518055 Shenzhen, China.
Reinforcement learning policies are often trained with static domain randomization for real-world deployment. However, real-world environments often exhibit unmodeled dynamic variations, such as payload changes or friction shifts, that lie outside the randomization distribution, leading to performance degradation upon deployment. We propose a framework that moves beyond static domain randomization by adapting a learned dynamics model to the deployed target conditions, with a concurrent teacher-student paradigm applied to both the policy and dynamics model. This framework integrates the dynamics model into an on-policy reinforcement learning pipeline, letting the performance of the policy align with the empirical target dynamics. Experimental validations on bipedal locomotion tasks demonstrate competitive adaptability under extreme physical variations, including a payload reaching 80% of self-weight and an oil-lubricated low-friction surface.
Figures & tables
Fig. 1: Overview of the framework. The pipeline operates in four phases. (a) Simulator online pre-training, where a nominal policy is trained via a teacher-student architecture, while a dynamics model is learned concurrently using aggregated off-policy data. (b) Real world data collection with the pre-trained behavior policies. (c) The aggregated simulation and real data are used to fine-tune the dynamics model. (d) The dynamics model creates a high-fidelity surrogate to fine-tune the policy against physical variations.
Fig. 2: Overview of the proposed training architecture. The architecture consists of a concurrent teacher-student policy learning module (bottom) and dynamics modeling modules (top).
Proprioceptive ot
Privileged et
Quantity
Symbol
Dim.
Quantity
Symbol
Dim.
Base angular vel.
w
3
Base linear vel.
v
3
Projected gravity
g
3
Joint torque/accel.
τ,q¨
6 each
Joint pos./vel.
q,q˙
6 each
Foot vel./force
vf,Ff
6 each
Velocity commands
vc,wc
2, 1
Relative base mass
m
1
Previous action
at−1
6
Foot properties
ϕ
6
TABLE I: Observation definitions
Reward term
Value
Weight
track linear velocity
e−0.25max(∥vc∥,1)2∥vc−vxy∥2
1.5
track angular velocity
e−0.25(wc−wz)2
0.75
no fly
\mathds1(∥Fc∥>0)
1.0
Penalty term
Value
Weight
linear velocity penalty
(vz)2
−0.5
angular velocity penalty
(wx)2+(wy)2
−0.05
TABLE II: Training Rewards
Fig. 3: Normalized root-mean-squared error (NRMSE) of predicted states over a 100-step rollout across dynamics model architectures. Shaded bands denote one standard deviation across the evaluated trajectory windows. The inset enlarges the first 30 steps.
Fig. 4: Model hallucination. Left: the neural dynamics model (blue) predicts stable locomotion for a policy that fails catastrophically in the ground-truth simulator (red). Middle: training on data collected from diverse policies produces predictions that closely match the ground truth. Right: Policy reward versus behavioral pool size N in held-out IsaacSim episodes.
Fig. 5: Accuracy of the predicted base velocity and imagined return. (a) Forward base velocity over one episode. (b) Imagined return versus the true return by the adapted model. Each point indicates the return value over one episode rollout from an adapted policy.
Fig. 6: Qualitative comparison of the locomotion task under a 15 kg heavy payload in MuJoCo. Time-lapse snapshots illustrate the robot’s behavior across the different baselines and our method.
Metric
Narrow-DR
Wide-DR
RMA
SysID
Ours
High payload
Succ. ↑
3.33 ± 2.31
0.00 ± 0.00
70.00 ± 25.87
96.00 ± 6.08
97.33 ± 1.15
Ev↓
1.29 ± 0.03
-
0.44 ± 0.17
0.32 ± 0.06
0.24 ± 0.04
Ew↓
0.89 ± 0.12
-
0.30 ± 0.16
0.18 ± 0.05
0.15 ± 0.01
τ↓
31.26 ± 0.76
-
30.37 ± 1.89
32.09 ± 0.13
28.22 ± 1.08
Pow. ↓
394.09 ± 37.13
-
133.68 ± 33.17
118.33 ± 16.76
88.47 ± 5.32
TABLE III: Quantitative Performance in MuJoCo Under the High-Payload and Low-Friction Conditions
Fig. 7: Real-world locomotion under a 15 kg payload. Snapshots and foot-contact sequences show that our method maintains a stable upright posture and highly periodic gait, while Narrow-DR fails to support the weight, resulting in severe body sagging and gait arrhythmia.
Fig. 8: Real-world snapshots of the adapted policy. (a) Outdoor walking with an added payload. (b) Walking on oil-lubricated ground.
Real-world dynamics shifts pose a critical challenge for reinforcement learning in robotics, as policies tightly coupled to nominal environments often fail catastrophically when physical conditions change. Most existing methods rely on encoding explicitly identified physical parameters into a latent context, a parameter-centric paradigm that depends on pre-specified axes of variation and becomes brittle under unmodeled or compound dynamics changes. We revisit dynamics adaptation from an outcome-centric perspective: rather than telling policies what the dynamics are, we enable them to learn how dynamics affect interaction outcomes. Theoretically, this is grounded in a monotonic relationship between target-domain regret and the Lipschitz constant of a trajectory dynamics encoder. Practically, this constant can be upper-bounded through contrastive learning, yielding a smooth, task-relevant latent topology without privileged dynamics information. On MuJoCo benchmarks, our method consistently outperforms parameter-centric baselines under severe dynamics shifts, including unmodeled and time-varying parameters, while also improving in-distribution stability and latent interpretability. Overall, these results validate that controlling latent geometry is a principled mechanism for robust adaptation.
Zhiming Xu, Weitao Zhou, Xianghui Pan +4
School of Computer Science and Engineering, Tongji University, Shanghai, China · School of Vehicle and Mobility, Tsinghua University, Beijing, China · Simple AI, Beijing, China +1
Robots deployed in the real world rarely operate under a single fixed dynamics model: wind changes, payloads vary, batteries drain, contacts shift, and hardware wears. Yet most learning-based controllers are trained once and deployed as if learning were complete. This prevents the robot from using deployment experience to further improve task performance. In this work, we propose a continual learning framework that uses real-world experience to improve robot policies under hidden and recurring dynamics. Our method learns a condition-aware dynamics model from real state-action trajectories by combining an analytical physics prior with a neural residual for unmodeled effects. A recurrent encoder infers the current hidden condition from recent interaction, and this estimate conditions both the residual model and the policy. Policy learning is performed via differentiable simulation using diverse learned dynamics sampled from the latent model. At deployment, these sampled conditions are replaced by conditions inferred online from recent real interaction, allowing the policy to recover recurring dynamics by recognition rather than residual re-fitting. Through extensive simulation studies and real-world experiments, we demonstrate that the framework improves policy performance under diverse unobserved disturbances. On real quadrotor trajectory tracking under changing wind, the policy recovers from recurring disturbances in roughly 1s, about 5x faster than online residual re-fitting. It also reduces large-disturbance hover and tracking errors by 65.7% and 53.3% over the state-of-the-art online adaptation approaches
Jiaxu Xing, Zhiyuan Zhu, Yunfan Ren +4
Robotics and Perception Group, University of Zurich
Reinforcement learning has enabled robust locomotion for legged robots, but learned policies are typically tied to a specific robot morphology and require additional engineering when the number of legs, actuators, or mechanical properties change. We present PolyMorph, a morphology-conditioned framework that learns a single locomotion policy for heterogeneous legged robots. PolyMorph converts each robot's URDF into joint-link modules and combines a recurrent encoder, graph-based Transformer, and per-joint decoder to generate actions across variable leg counts and joint configurations. To improve training stability, PolyMorph uses morphology-normalized rewards, adaptive robot sampling, and URDF-derived PD-gain initialization. We evaluate PolyMorph in simulation across bipedal, tripedal, and quadrupedal robots, including unseen morphology variants and platforms, and deploy the policy on real quadruped platforms operated in multiple configurations. The results show that a single PolyMorph policy generalizes across diverse robot morphologies without per-robot policy retraining.