SoftMimic: Learning Compliant Whole-body Control from Examples
Gabriel B. Margolis, Michelle Wang, Nolan Fey, Pulkit Agrawal
TL;DR
SoftMimic tackles the challenge of safe, compliant whole-body control for humanoids by learning from augmented compliant trajectories generated offline via differential inverse kinematics. A PPO-based policy learns to map proprioceptive state and the original motion reference to the corresponding augmented targets, enabling controllable compliance with external forces while preserving tracking fidelity. The Compliant Motion Augmentation pipeline ensures feasible, diverse demonstrations and, combined with reward shaping, yields robust generalization to unseen tasks and disturbances, demonstrated in simulation and on a real Unitree G1. This approach advances practical humanoid interaction by balancing stiffness and safety, and it opens avenues for dynamic stiffness adaptation and richer data-driven compliance in future work.
Abstract
We introduce SoftMimic, a framework for learning compliant whole-body control policies for humanoid robots from example motions. Imitating human motions with reinforcement learning allows humanoids to quickly learn new skills, but existing methods incentivize stiff control that aggressively corrects deviations from a reference motion, leading to brittle and unsafe behavior when the robot encounters unexpected contacts. In contrast, SoftMimic enables robots to respond compliantly to external forces while maintaining balance and posture. Our approach leverages an inverse kinematics solver to generate an augmented dataset of feasible compliant motions, which we use to train a reinforcement learning policy. By rewarding the policy for matching compliant responses rather than rigidly tracking the reference motion, SoftMimic learns to absorb disturbances and generalize to varied tasks from a single motion clip. We validate our method through simulations and real-world experiments, demonstrating safe and effective interaction with the environment.
