Abstract
Training bipedal robots to navigate complex, non-flat terrains typically requires meticulously handcrafted reward functions that often fail to generalize. This paper introduces a framework that leverages Inverse Reinforcement Learning (IRL) to infer robust reward functions from expert demonstrations. By utilizing Inverse Policy Mirror Descent (IPMD), the system extracts the underlying "intent" of stable locomotion. Our results demonstrate that the Cassie bipedal robot, using these learned rewards, can adapt to diverse unseen environments—including gravel and sinusoidal slopes—outperforming traditional handcrafted baselines in both learning efficiency and traversal speed.
Introduction
Achieving human-like walking in bipedal robots across varied terrain is a significant challenge in robotics. Conventional Reinforcement Learning (RL) relies on engineers to design reward functions that balance multiple objectives, such as stability and forward progress. These handcrafted rewards are often brittle; a configuration optimized for a flat laboratory floor may lead to failure on uneven outdoor surfaces.
While Imitation Learning allows robots to mimic specific trajectories, it fails to capture the fundamental goals of the movement, making adaptation difficult. This research addresses the problem by applying Inverse Reinforcement Learning (IRL) to infer the reward function directly from demonstrations. By understanding the "why" behind the movement, the robot can generalize its behavior to entirely new environmental conditions.
Methodology: Inferring the Reward
The proposed pipeline consists of three main stages: Infer, Analyze, and Adapt.
The "Infer" stage utilizes a two-step learning process. First, standard imitation learning creates near-optimal demonstrations based on Inverse Kinematics (IK) trajectories. Second, the framework applies Inverse Policy Mirror Descent (IPMD). IPMD is a computationally efficient IRL method that employs an average-reward criterion, providing greater stability for continuous locomotion tasks compared to traditional discounted reward models.
To ensure the learned rewards are interpretable, the researchers employed a Value Decomposition Network (VDN) paired with Integrated Gradients (IG). This combination allows for the identification of which physical features—such as pelvis pitch or foot force—the neural network-based reward function is prioritizing, effectively "opening the black box" of the learned model.
Adaptation to Unseen Environments
Once the reward function is learned on flat ground, it is used to train an RL agent in the MuJoCo physics simulator across four challenging, unseen terrains: randomly perturbed ground, gradually perturbed slopes, gravel-like surfaces, and sine-wave terrains.
This adaptation process allows the robot to maintain its core objectives (e.g., stability) while discovering new joint-level strategies necessary for the specific terrain.
Key Results and Insights
The experimental evaluation on the Cassie robot model yielded several significant findings:
- Superior Performance: The IRL agent achieved higher episodic rewards (482.87) than the expert demonstrations (447.2) it was trained on. This indicates that the IRL process successfully "denoises" demonstrations to find a more optimal underlying strategy.
- Enhanced Generalization: By learning the "essence" of the task—prioritizing stability and velocity over specific joint angles—the robot successfully navigated bumpy and irregular terrains. On gravel, the adaptive model achieved nearly double the average sagittal velocity of the handcrafted baseline.
- Learning Efficiency: Using the learned reward ($r_\theta$) significantly sped up the training process for new terrains compared to starting from scratch with manual rewards.
- Zero-Shot Robustness: The system demonstrated the ability to handle sinusoidal terrains with random height variations without additional training, showcasing the inherent robustness of the inferred reward.
Conclusion and Future Work
This work demonstrates that inferring rewards from demonstrations provides a more robust and adaptable path for bipedal locomotion than manual engineering. While the results in the MuJoCo simulator are promising, future research will focus on bridging the "sim-to-real gap" to deploy these learned rewards on physical Cassie hardware. Additionally, automating the feature selection process for interpretability analysis remains a key goal for creating fully autonomous learning pipelines.
Summary updated