TL;DR
This paper introduces Lipschitz-Constrained Policies (LCP), a simple yet powerful method to ensure humanoid robots move smoothly. By applying a differentiable gradient penalty during reinforcement learning, the authors eliminate the need for tedious manual tuning of smoothness rewards or filters, enabling robust, "jitter-free" locomotion that transfers seamlessly from simulation to multiple real-world robotic platforms.
What Problem Does This Paper Address?
Training humanoid robots in simulation is efficient, but it often leads to the "sim-to-real gap." Because simulators are mathematically idealized, reinforcement learning (RL) agents often develop "jittery" behaviors—essentially slamming motors back and forth (bang-bang control) to maximize rewards.
While these jerky movements work in a digital world, they can destroy real hardware or cause the robot to fall because physical actuators cannot produce instantaneous torque changes. Traditionally, engineers fix this using smoothness rewards (penalizing acceleration) or low-pass filters. However, these methods are often non-differentiable, require extensive trial-and-error tuning for every new robot, and can even hinder the robot's ability to learn complex maneuvers by dampening exploration.
Methods
The authors propose LCP, which treats smoothness as a mathematical constraint on the policy's "rate of change," known as Lipschitz continuity.
Instead of complex reward engineering, they implement this constraint as a Gradient Penalty (GP). During training, the RL objective is modified to penalize the squared norm of the policy's gradient with respect to its inputs: $$\|\nabla_s \log \pi(a|s)\|^2$$ This makes the objective function differentiable, allowing the neural network to learn "smoothness" directly through backpropagation. The training uses the Proximal Policy Optimization (PPO) algorithm and a teacher-student framework called Regularized Online Adaptation (ROA) to handle the transition from privileged simulation data to real-world sensor observations.
Datasets
The researchers did not use static datasets but rather trained their agents in the IsaacGym simulator. To validate the robustness of the learned policies, they performed "sim-to-sim" transfers by testing the IsaacGym-trained models in the MuJoCo physics engine. Finally, they evaluated the policies on four distinct real-world humanoid platforms:
- Fourier GR1T1 & GR1T2 (Human-sized)
- Unitree H1 (Human-sized)
- Berkeley Humanoid (Small-scale)
Key Insights and Ideas
- The "Aha" Moment from Gradients: The authors observed that policies trained with traditional (but tedious) smoothness rewards naturally exhibited smaller gradient magnitudes. This led to the insight: why not just optimize for small gradients directly?
- Differentiability is King: Unlike low-pass filters or reward-based penalties, the gradient penalty is mathematically "clean" for the optimizer. This allows the robot to find the most efficient way to be smooth without the "blind spots" created by non-differentiable heuristics.
- Universal Applicability: A single hyperparameter for the gradient penalty ($\lambda_{gp} = 0.002$) worked effectively across four different robots with varying joint counts and sizes, suggesting LCP is a general-purpose solution for legged locomotion.
Key Results
LCP successfully produced stable locomotion across diverse terrains, including smooth floors, soft mats, and irregular "rough" surfaces.
- Smoothness Metrics: In head-to-head comparisons, LCP achieved significantly lower "Action Jitter" and "DoF Acceleration" than policies trained without smoothing, matching or exceeding the performance of hand-tuned smoothness rewards.
- Task Performance: LCP maintained high "Task Returns" (how well the robot follows speed/direction commands). While " No Smoothing" policies technically had higher returns in sim, they were undeployable in the real world due to jitter. LCP outperformed low-pass filters, which tended to over-dampen the robot's movements.
Limitations and Future Work
The authors acknowledge that while LCP is excellent for steady-state walking, their current experiments are limited to basic locomotion. They have not yet tested whether a strict Lipschitz constraint might be too restrictive for highly dynamic, explosive movements like sprinting, jumping, or backflips, where rapid changes in action are actually necessary. Future work will likely explore adaptive constraints that allow for "sharp" movements only when the physics of the task demands them.
Summary updated