Introduction
Training humanoid robots to walk using Reinforcement Learning (RL) frequently encounters the "sim-to-real gap." In simulated environments, physics is idealized, allowing virtual motors to change torque or direction instantaneously. This often results in "jittery" policies—high-frequency oscillations between extreme actions—that are impractical for real-world hardware. Such jitter leads to motor overheating, mechanical wear, and instability. Traditional solutions, such as manual tuning of smoothness rewards or low-pass filtering, are often non-differentiable and require extensive robot-specific adjustments.
The Lipschitz-Constrained Policy (LCP) Framework
This research introduces Lipschitz-Constrained Policies (LCP), a method to enforce smoothness by bounding the policy's rate of change. By leveraging Lipschitz continuity, the authors constrain the gradient of the policy's output relative to its input.
Differentiable Gradient Penalty
Unlike hard mathematical constraints, LCP implements a differentiable gradient penalty (GP) within the Proximal Policy Optimization (PPO) framework. The objective function is modified to maximize expected returns while penalizing the squared norm of the policy's gradient. This approach makes the smoothness requirement "visible" to the optimization process, leading to more stable training compared to non-differentiable filters.
Adaptation and History
To handle real-world dynamics like varying friction or motor strength, the framework incorporates Regularized Online Adaptation (ROA), which learns a latent representation of the environment. Furthermore, the researchers found that applying the gradient penalty across the entire observation history is crucial for eliminating jerky movements caused by changes in the robot's internal temporal state.
Experimental Validation
The LCP method was evaluated across a diverse set of humanoid platforms to demonstrate its generality. Training was performed in IsaacGym, with cross-engine validation in MuJoCo to ensure robustness.
The hardware suite included:
- Fourier GR1T1 & GR1T2: Full-sized humanoids with up to 21 controlled joints.
- Unitree H1: A widely used full-sized humanoid platform.
- Berkeley Humanoid: A smaller, highly agile bipedal robot.
Remarkably, a single gradient penalty coefficient ($\lambda_{gp} = 0.002$) proved effective across all these distinct platforms, highlighting the "plug-and-play" nature of the LCP approach.
Results and Discussion
Quantitative analysis shows that LCP reduces action jitter by over 90% compared to unconstrained policies, achieving a jitter score of approximately 3.2 versus the baseline's 42.
Zero-Shot Deployment
Policies trained with LCP were deployed "zero-shot" on physical robots, successfully navigating:
- Irregular Terrains: Including soft mats and uneven outdoor surfaces.
- External Perturbations: Maintaining balance after physical impacts, such as being hit by a heavy ball.
While LCP maintains performance parity with heavily tuned reward-based methods, it significantly outperforms low-pass filters, which can hinder the robot's learning of complex maneuvers by dampening exploration during the training phase.
Conclusion
Lipschitz-Constrained Policies offer a robust, robot-agnostic solution for achieving smooth humanoid locomotion. By replacing manual tuning with a differentiable gradient penalty, LCP simplifies the sim-to-real transition. Future research will explore the application of LCP to more explosive movements like jumping and its utility in humanoid manipulation tasks where precision and smoothness are equally critical.
Summary updated