Neural Fidelity Calibration for Informative Sim-to-Real Adaptation
Youwei Yu, Lantao Liu
TL;DR
This work tackles the sim-to-real gap by introducing Neural Fidelity Calibration (NFC), a diffusion-model based framework that online-calibrates simulator physics and residual fidelity, including perception uncertainty. By coupling anomaly-driven policy fine-tuning, sequential NFC with a proposal prior, and optimistic exploration, NFC enables informative, data-efficient policy adaptation across diverse robots and challenging real-world conditions, such as a broken wheel axle on snow. Key contributions include a diffusion-based neural posterior for both calibration and residuals, a residual-fidelity model that captures dynamics and perception shifts, and a principled integration with anomaly detection and Hallucinated randomness to guide safe online learning. The approach demonstrates superior calibration accuracy and policy improvement in both sim-to-sim and real-world experiments, offering a practical path to robust, real-time sim-to-real adaptation without extensive expert physics priors.
Abstract
Deep reinforcement learning can seamlessly transfer agile locomotion and navigation skills from the simulator to real world. However, bridging the sim-to-real gap with domain randomization or adversarial methods often demands expert physics knowledge to ensure policy robustness. Even so, cutting-edge simulators may fall short of capturing every real-world detail, and the reconstructed environment may introduce errors due to various perception uncertainties. To address these challenges, we propose Neural Fidelity Calibration (NFC), a novel framework that employs conditional score-based diffusion models to calibrate simulator physical coefficients and residual fidelity domains online during robot execution. Specifically, the residual fidelity reflects the simulation model shift relative to the real-world dynamics and captures the uncertainty of the perceived environment, enabling us to sample realistic environments under the inferred distribution for policy fine-tuning. Our framework is informative and adaptive in three key ways: (a) we fine-tune the pretrained policy only under anomalous scenarios, (b) we build sequential NFC online with the pretrained NFC's proposal prior, reducing the diffusion model's training burden, and (c) when NFC uncertainty is high and may degrade policy improvement, we leverage optimistic exploration to enable hallucinated policy optimization. Our framework achieves superior simulator calibration precision compared to state-of-the-art methods across diverse robots with high-dimensional parametric spaces. We study the critical contribution of residual fidelity to policy improvement in simulation and real-world experiments. Notably, our approach demonstrates robust robot navigation under challenging real-world conditions, such as a broken wheel axle on snowy surfaces.
