DiSA-IQL: Offline Reinforcement Learning for Robust Soft Robot Control under Distribution Shifts
Linjin He, Xinda Qi, Dong Chen, Zhaojian Li, Xiaobo Tan
TL;DR
DiSA-IQL tackles distribution shift in offline reinforcement learning for soft robot control by introducing a robustness-enhanced extension to Implicit Q-Learning. It penalizes unreliable state–action pairs via a penalty term and leverages expectile regression for stable value estimation, enabling safer generalization to unseen targets. In simulation on a soft snake target-reaching task, DiSA-IQL outperforms Behavior Cloning, Conservative Q-Learning, and vanilla IQL in both in-distribution and out-of-distribution settings, achieving higher success rates and smoother trajectories. This work advances offline RL for deformable robots and provides open-source code to support reproducibility and further research.
Abstract
Soft snake robots offer remarkable flexibility and adaptability in complex environments, yet their control remains challenging due to highly nonlinear dynamics. Existing model-based and bio-inspired controllers rely on simplified assumptions that limit performance. Deep reinforcement learning (DRL) has recently emerged as a promising alternative, but online training is often impractical because of costly and potentially damaging real-world interactions. Offline RL provides a safer option by leveraging pre-collected datasets, but it suffers from distribution shift, which degrades generalization to unseen scenarios. To overcome this challenge, we propose DiSA-IQL (Distribution-Shift-Aware Implicit Q-Learning), an extension of IQL that incorporates robustness modulation by penalizing unreliable state-action pairs to mitigate distribution shift. We evaluate DiSA-IQL on goal-reaching tasks across two settings: in-distribution and out-of-distribution evaluation. Simulation results show that DiSA-IQL consistently outperforms baseline models, including Behavior Cloning (BC), Conservative Q-Learning (CQL), and vanilla IQL, achieving higher success rates, smoother trajectories, and improved robustness. The codes are open-sourced to support reproducibility and to facilitate further research in offline RL for soft robot control.
