Research Analyzer
← Back ICRA 2026

Learning on the Fly: Rapid Policy Adaptation Via Differentiable Simulation

Jiahe Pan, Jiaxu Xing, Rudolf Reiter, Yifan Zhai, Elie Aljalbout, Davide Scaramuzza

PDF

AI summary

Key figure (auto-extracted from paper)
Policies can rapidly adapt to unseen real-world disturbances within seconds by continuously learning residual dynamics inside a differentiable simulator.
Differentiable Simulation Online Policy Adaptation Residual Dynamics Learning Sim-to-Real Transfer Quadrotor Control Rapid Real-Time Learning

Problem

Transferring simulation-trained control policies to physical robots is hindered by the sim-to-real gap, where unmodeled dynamics and environmental shifts degrade performance. Existing online adaptation methods are either too slow, require costly offline retraining, or fail under out-of-distribution conditions.

Approach

The framework continuously trains a neural network to predict unmodeled forces from real-time flight data, then rapidly updates the control policy using analytical gradients through a differentiable physics simulator in a closed loop.

Key results

  • 81% and 55% hovering error reduction vs. L1-MPC and DATT
  • Policy adaptation to unseen disturbances within 5 seconds
  • Vision-based control without explicit state estimation
  • First real-world closed-loop differentiable simulation with online residual learning

Why it matters

Eliminates reliance on costly offline retraining and domain randomization, enabling immediate real-world deployment of learning-based controllers under dynamic conditions.

Abstract

Learning control policies in simulation enables rapid, safe, and cost-effective development of advanced robotic capabilities. However, transferring these policies to the real world remains difficult due to the sim-to-real gap, where unmodeled dynamics and environmental disturbances can degrade policy performance. Existing approaches, such as domain randomiza- tion and Real2Sim2Real pipelines, can improve policy robustness, but either struggle under out-of-distribution conditions or require costly offline retraining. In this work, we approach these problems from a different perspective. Instead of relying on diverse training conditions before deployment, we focus on rapidly adapting the learned policy in the real world in an online fashion. To achieve this, we propose a novel online adaptive learning framework that unifies residual dynamics learning with real-time policy adaptation inside a differentiable simulation. Starting from a simple dynamics model, our framework continuously refines the model using real-world data to capture unmodeled effects and disturbances, such as payload changes and wind. The refined dynamics model is embedded in a differentiable simulation frame- work, enabling gradient backpropagation through the dynamics and thus rapid, sample-efficient policy updates beyond the reach of classical RL methods like PPO. All components of our system are designed for rapid adaptation, enabling the policy to adjust to unseen disturbances within 5 seconds of training. We validate the approach on agile quadrotor control under various disturbances in both simulation and the real world. Our framework reduces hovering error by up to 81% compared to L1-MPC and 55% compared to DATT, while also demonstrating robustness in vision-based control without explicit state estimation.

Index terms

Machine Learning for Robot Control Aerial Systems: Perception and Autonomy Continual Learning

Related papers