让机器人在真实世界中持续学习,用仿真数据提升适应能力。
LoopSR: Looping Sim-and-Real for Lifelong Policy Adaptation of Legged Robots
- 用Transformer构建真实轨迹的数字孪生,生成可训练的仿真环境。
- 仅用少量真实数据,在仿真中持续训练,性能超越基线方法。
- 适合需要长期优化的足式机器人部署场景。
强化学习在模拟到现实的足式机器人行走任务中展现出强大的泛化能力。然而,尽管领域随机化等自适应方法能提升策略在多样环境中的鲁棒性,却可能损害其在特定环境下的性能,导致实际部署效果不佳,这符合无免费午餐定理。为此,我们提出LoopSR,一种后部署阶段持续优化强化学习策略的终身适应框架。LoopSR采用基于Transformer的编码器将真实世界轨迹映射至隐空间,并重建数字孪生以供进一步优化。通过自编码器结构和对比学习增强对真实动态特征的提取。持续训练所需的仿真参数由解码器预测值与预先收集的仿真轨迹数据集中的参数共同确定。借助仿真中的持续训练,LoopSR相比强基线方法具备更优的数据效率,在有限数据条件下,于模拟到模拟及模拟到现实实验中均表现出卓越性能。
原文摘要 · Abstract (English)
Reinforcement Learning (RL) has shown its remarkable and generalizable capability in legged locomotion through sim-to-real transfer. However, while adaptive methods like domain randomization are expected to enhance policy robustness across diverse environments, they potentially compromise the policy's performance in any specific environment, leading to suboptimal real-world deployment due to the No Free Lunch theorem. To address this, we propose LoopSR, a lifelong policy adaptation framework that continuously refines RL policies in the post-deployment stage. LoopSR employs a transformer-based encoder to map real-world trajectories into a latent space and reconstruct a digital twin of the real world for further improvement. Autoencoder architecture and contrastive learning methods are adopted to enhance feature extraction of real-world dynamics. Simulation parameters for continual training are derived by combining predicted values from the decoder with retrieved parameters from a pre-collected simulation trajectory dataset. By leveraging simulated continual training, LoopSR achieves superior data efficiency compared with strong baselines, yielding eminent performance with limited data in both sim-to-sim and sim-to-real experiments. Please refer to https://peilinwu.site/looping-sim-and-real.github.io/ for videos and code.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。