Hostname: page-component-74656f9884-skzmx Total loading time: 0 Render date: 2026-11-06T02:59:16.816Z Has data issue: false hasContentIssue false

Learning robust bipedal running via structured gait and trajectory guidance

Published online by Cambridge University Press:  13 January 2026

Yunpeng Liang
Affiliation:
School of Mechanical Engineering, Shanghai Jiao Tong University, Shanghai, China
Zhihui Peng
Affiliation:
AgiBot Technology Co. Ltd., Shanghai, China
Yanzheng Zhao
Affiliation:
School of Mechanical Engineering, Shanghai Jiao Tong University, Shanghai, China
Weixin Yan*
Affiliation:
School of Mechanical Engineering, Shanghai Jiao Tong University, Shanghai, China
*
Corresponding author: Weixin Yan; Email: xiaogu4524@sjtu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Legged robots have demonstrated remarkable potential for dynamic locomotion and terrain adaptability, making them a prominent focus of research. However, achieving robust and agile bipedal running remains challenging due to the complex dynamics of legged locomotion. In this paper, we propose a reinforcement learning framework for robust bipedal running, incorporating a simple reference trajectory generator and an asymmetric actor-critic architecture. The reference generator, based on kinematics, provides diverse trajectory references while preserving key gait characteristics, facilitating efficient policy exploration. To mitigate the simulation-to-reality gap, we extract latent variables encoding environmental and motion information from dual historical observations. Our method simplifies the trajectory generation process while maintaining effective guidance for learning. Extensive simulation and physical experiments demonstrate that, compared to model-based and learning-based baselines, our approach achieves higher agility, more accurate velocity tracking, and stronger disturbance rejection while preserving gait stability. The resulting controller exhibits spring–mass running dynamics that remain robust on both flat and uneven terrains.

Information

Type
Research Article
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. The appearance and joint configuration of our studied robot.

Figure 1

Figure 2. The variation of the quintic polynomial curves $C_{z,i}({\phi })$ within one running cycle, where $i=0$ and $i=1$ correspond to the left and right legs, respectively, given $\psi =0.5$ and $\delta =0.7$.

Figure 2

Figure 3. Foot and joint space trajectories calculated based on the polynomial curves and inverse kinematics, with $\boldsymbol{v}^d_x=1.0 m/s$ and ${v}^d_y=0.3 m/s$.

Figure 3

Figure 4. Our RL control framework utilizes dual-history observations from the robot. The actor policy, running at 100 Hz, processes a 6.6-second history, which is first encoded by a 1D CNN to extract the system’s latent representation $\boldsymbol{z}_t$. A short history of four time steps is directly input into the base MLP, along with the estimated velocity $\hat {\boldsymbol{v}}_b$. All networks are trained simultaneously. The actor policy outputs the desired motor positions $\boldsymbol{a}_t$, which are smoothed using an LPF before being transmitted to the joint-level PD controllers to generate motor torques $\boldsymbol{\tau }$.

Figure 4

Table I. Network architecture for the actor-critic, encoder, and state estimator networks. The configuration of the 1D encoder CNN’s hidden layers is defined as [kernel size, filter size, stride size].

Figure 5

Table II. Composition of the state space.

Figure 6

Table III. Regularization rewards.

Figure 7

Table IV. Domain randomization parameters and their ranges. Additive randomization offsets a parameter within the given range, while scaling applies a multiplicative factor.

Figure 8

Table V. PPO hyperparameters.

Figure 9

Figure 5. Ablation study results on the dual-history window state encoding. The plots report the mean reward (top left), episode length (top right), gradient penalty loss (bottom left), and estimated base velocity loss (bottom right). Solid curves represent moving-average filtered data, and shaded regions indicate the standard deviation.

Figure 10

Figure 6. Ground reaction forces during a$1.3\,{m/s}$ running gait using various method. Solid lines represent low-pass filtered data, while shaded regions indicate data processed with a moving window filter.

Figure 11

Table VI. Velocity tracking metrics for different gaits.

Figure 12

Figure 7. Forward velocity and body height tracking results. Top two rows: RL-based and model-based controllers under a running gait with desired forward speed$v_x^{{d}}=1.3\,{m/s}$, gait period $T_s=0.66\,{s}$, and duty factor $\delta =0.65$. Middle two rows: corresponding body-height variations. Bottom row: RL-based controller under fast running with $v_x^{{d}}=1.9\,{m/s}$ (same $T_s$ and $\delta$).

Figure 13

Figure 8. External perturbation evaluation. The left figure shows the maximum external force that each method can resist, while the right figure depicts the directional distribution of perturbations applied during the experiments.

Figure 14

Figure 9. Recovery behavior under external perturbations. Top: snapshots of the robot’s recovery after push disturbances using our method. Bottom: responses of forward velocity, body pitch angle, left-hip joint position, and touchdown phase following the perturbation.

Figure 15

Figure 10. Body behavior on complex terrains. Top: snapshots from the terrain-adaptation experiment using our method. Bottom: time histories of forward body velocity, left-hip joint position, and body roll angle during terrain traversal.

Figure 16

Figure 11. Snapshots of the robot executing running gaits with different methods in the real world.

Figure 17

Figure 12. Base velocity tracking results of different methods in the physical world.

Figure 18

Table VII. Velocity tracking metrics for different gaits.

Figure 19

Figure 13. Limit cycle of the learned policy of running gaits.

Supplementary material: File

Liang et al. supplementary material

Liang et al. supplementary material
Download Liang et al. supplementary material(File)
File 49.4 MB