Organizations: School of Automation Science and Electrical Engineering, Beihang University, Beijing, China · School of Astronautics, Beihang University, Beijing, China · Hangzhou International Innovation Institute, Beihang University, Hangzhou, China · Nanyang Technological University, Singapore · School of Aeronautic Science and Engineering, Beihang University, Beijing, China
Reinforcement learning has made quadrupedal locomotion remarkably robust. To handle unmodeled dynamics and external disturbances, domain randomization is usually employed to make a policy hedge against every condition it might meet. However, maintaining accurate tracking across varying dynamics and generalizing beyond the sampled range remain challenging. Here we show that explicitly estimating the disturbance and feeding the resulting estimation back into both the policy and the controller can relax this compromise. We introduce Policy Augmentation and Compensation with Explicit disturbance estimation (PACE). The framework lumps payload variations, center-of-mass (CoM) shifts, actuator degradation, and external forces into one joint-space disturbance. A nonlinear observer subsequently recovers this disturbance online without requiring joint acceleration measurements. The disturbance estimation provides feedforward torque compensation as the foundational control pathway and further augments the policy observation to enable disturbance-aware action generation. Considering the learning difficulty of fast-varying contact effects, we further provide an analytical contact estimation approach from joint and inertial measurements, without demanding force sensors. Across eleven simulated dynamics conditions, PACE reduces velocity-tracking error by 18.1% to 57.0% against state-of-the-art baselines, and maintains improved tracking under out-of-distribution (OOD) commands. Notably, in real-world experiments, the deployed real robot carried an 11.5 kg payload, nearly equal to its own mass. It also negotiated unseen 16 cm step-downs and crossed five outdoor terrains. The policy was trained exclusively on flat ground in simulation with at most 3 kg of added mass.
Figures & tables
Fig. 1: Representative locomotion sequences on unseen real-world terrains after training exclusively on flat terrain in simulation. (a) Traversal of a flagstone path composed of irregular stone slabs. (b) Traversal of a gravel road covered with loose stones. Successive frames illustrate the robot’s progression across the two terrain types.
Fig. 2: Overview of the proposed PACE framework. (a) During training, privileged observations are encoded into the latent representation zt , while the explicit disturbance estimation is used for torque-level feedforward compensation and further provided to the policy as an additional observation. (b) During deployment, the adaptation module infers z^t from temporal partial observations, and the sensorless foot-force estimator reconstructs the contact-force input required by the DO, preserving the same disturbance-aware closed-loop structure without privileged information or foot-force sensors. (c) The policy, trained exclusively on flat terrain in simulation, is evaluated zero-shot on five unseen outdoor terrains.
Fig. 3: Vertical foot-contact force estimation for the front-left leg over 4 – 6s . The main force plot compares the estimate with the MuJoCo reference, and shaded regions indicate reference stance intervals. The lower plot shows the signed estimation error, with a marker highlighting the maximum absolute error within the displayed interval. The two upper insets show enlarged views of the regions in the main force plot: touchdown on the left and liftoff from the following gait cycle on the right. In these insets, Δt denotes the estimation delay.
Fig. 4: Effect of contact-force substitution on the DO output at the HR Hip-X joint. Left: observer outputs obtained using MuJoCo contact forces and estimated contact forces over 4 – 6s . Right: distribution of their signed difference using the same samples as in the left plot. Horizontal bar lengths indicate the percentage of samples in each difference bin, and the dashed line marks the mean difference.
Fig. 5: Joint-wise RMSE between DO outputs obtained using estimated and MuJoCo contact forces over the complete evaluation sequence. The horizontal axes identify the four legs (FL, FR, HL, and HR) and the three joint types (Hip-X, Hip-Y, and knee). Each bar represents one joint, with its height indicating the RMSE in N⋅m .
Reward
Equation ( ri )
Weight ( wi )
Lin. velocity tracking
exp(−4∥vxycmd−vxy∥22)
1.0
Yaw velocity tracking
exp(−4∣ωzcmd−ωz∣2)
0.5
Vertical velocity
vz2
−2.0
Roll–pitch rate
∥ωxy∥22
−0.05
Orientation
∥gxy∥22
−0.2
Base height
(h−hdes)2
−1.0
TABLE I: Reward structure. exp(⋅) is the exponential function, ∣⋅∣ denotes absolute value for scalars, and ∥⋅∥2 denotes the Euclidean norm for vectors. The superscripts (⋅)cmd and (⋅)des indicate commanded and desired quantities. vxy , vz , ωxy , and ωz are the body-frame base linear and angular velocities, gxy denotes the horizontal components of the gravity vector projected into the body frame, and h is the base height. fb is the contact force on body b ; Tkair , vf,k , and ck are the air time, velocity, and contact state of foot k . I(⋅) is the indicator function, Icmd=I(∥vxycmd∥2>0.1) , and Ikfc indicates the first contact of foot k . Finally, (x)+=max(x,0) , while Bcol and Jabad denote the penalized bodies and hip abduction–adduction joints.
Parameter
Randomization range
Unit
Added base mass
[−1,3]
kg
Kp factor
[0.8,1.2]
–
Kd factor
[0.8,1.2]
–
Motor strength factor
[0.8,1.2]
–
CoM shift ( x )
[−50,10]
mm
CoM shift ( y )
[−30,30]
mm
TABLE II: Domain randomization ranges applied in the simulation.
Condition
BASELINE
HIMLOCO
PACE 0
PACE
Payload: 5kg
0.398
0.193
0.252
0.162
Payload: 8kg
0.443
0.263
0.262
0.174
Payload: 11kg
0.476
0.246
0.279
0.194
CoM shift: x=2cm
0.369
0.200
0.238
0.169
CoM shift: y=3cm
0.370
0.201
0.237
0.169
CoM shift: x=2,y=3cm
0.365
0.197
0.235
0.170
TABLE III: Command-tracking performance under dynamics variations. All entries are RMSExy values in m/s , and lower values indicate better performance.
Fig. 6: Raincloud distributions of absolute forward (left) and lateral (right) velocity tracking errors under the OOD command of 2m/s . Half-violins show density estimates scaled to equal peak height. Boxes indicate the interquartile range (IQR), with internal lines marking the median, and whiskers extend to the most extreme samples within the 1.5IQR fences. Dots represent the displayed time samples.
Fig. 7: Lateral velocity responses to an 80N push along the y direction during forward locomotion commanded at 1m/s . Shaded regions indicate force application from 1.20 to 1.68s . Colored vertical dashed lines mark the recovery instants, which are determined using the full planar velocity and yaw-rate criteria defined in the text.
Fig. 8: Real-world robustness experiments. (a) Time-composited step-down trials: BASELINE fails at 14cm , whereas PACE 0 successfully recovers; at 16cm , PACE 0 fails while PACE maintains stable locomotion. (b) Payload trials: BASELINE fails with an 8kg payload, whereas PACE 0 successfully traverses under the same load; with an 11.5kg payload, PACE 0 fails while PACE maintains stable forward locomotion. Successive overlaid poses in (a) indicate temporal progression, and white arrows denote the commanded travel direction.
Method
8 cm
10 cm
12 cm
14 cm
16 cm
BASELINE
80
0
0
0
0
PACE 0
100
100
100
80
0
PACE
100
100
100
100
100
TABLE IV: Step-down success rates on unseen height discontinuities. All entries are success rates (%), and each method is evaluated over five trials at each height.
Method
Flagstone
Lawn
Sand
Gravel road
Large rocks
BASELINE
60
0
0
40
0
PACE 0
100
100
100
100
80
PACE
100
100
100
100
60
TABLE V: Traversal success rates on unseen real-world terrains. All entries are success rates (%), and each method is evaluated over five trials on each terrain.
Fig. 9: Failure case of direct acceleration-based disturbance estimation on hardware. In this variant, the disturbance used for feedforward compensation and policy augmentation is computed directly from reconstructed acceleration-related quantities, instead of being estimated by the proposed DO. The successive frames, ordered from left to right, show that the Lite3 rapidly loses stability and falls during deployment. This result indicates that directly using reconstructed acceleration information to compute the disturbance is highly sensitive to real-world sensing noise and reconstruction errors, whereas the proposed observer-based formulation provides a more reliable disturbance signal for deployment.
Humanoids deployed in human-centered environments must handle force-interactive tasks, where external contacts introduce unexpected disturbances that disrupt locomotion accuracy and stability. Existing learning-based approaches rely on broad domain randomization, task-specific force objectives, or learning-based force estimators from motion history, each of which compromises accuracy, task transferability, or out-of-distribution (OOD) robustness. We present Analytical Disturbance-Aware Policy Training (ADAPT), a framework that equips humanoid policies with a physically grounded disturbance observer. The core of ADAPT is an analytical whole-body disturbance observer that estimates residual force/torque online with the accessible robot dynamics, without requiring force/torque sensors. Fed directly into the policy, the estimated disturbances give the humanoid an explicit, physics-derived sense of external force/torque that can generalize across diverse unseen scenes. Experiments on a Unitree G1 humanoid show that ADAPT achieves accurate disturbance prediction and stronger robustness than a proprioception-only baseline under torso perturbations, standing pushes, and asymmetric hand payloads, with improved velocity tracking even on OOD disturbances. Moreover, ADAPT enables penalizing inferred disturbances at lower-body joints to encourage lighter locomotion.
We propose CARO, a contact-agnostic residual observation framework for policy adaptation. CARO embeds a fixed-base Euler--Lagrange model into the reinforcement learning control loop and constructs a torque-level residual observation without requiring torque sensors, explicit contact estimation, or vision-based measurements of the floating-base position and linear velocity. A disturbance observer extracts a structured signal representing dynamics mismatch, while the policy learns to exploit this feedback for online adaptation. CARO is trained under the same terrain, command, and domain-randomization conditions as the nominal policy, without specialized disturbance curricula or additional adaptation supervision. Nevertheless, it achieves substantially improved zero-shot robustness in simulation and sim-to-real transfer tasks involving out-of-distribution payloads, center-of-mass shifts, terrain geometries, abrupt dynamics changes, and elevated-platform landings.
Zihan Yang, Shixuan Han, Kexin Guo +1
School of Aeronautic Science and Engineering, Beihang University, Beijing 100035, China · School of Automation Science and Electrical Engineering, Beihang University, Beijing 100035, China
Numerous locomotion controllers have been designed based on Reinforcement Learning (RL) to facilitate blind quadrupedal locomotion traversing challenging terrains. Nevertheless, locomotion control is still a challenging task for quadruped robots traversing diverse terrains amidst unforeseen disturbances. Recently, privileged learning has been employed to learn reliable and robust quadrupedal locomotion over various terrains based on a teacher-student architecture. However, its one-encoder structure is not adequate in addressing external force perturbations. The student policy would experience inevitable performance degradation due to the feature embedding discrepancy between the feature encoder of the teacher policy and the one of the student policy. Hence, this paper presents a privileged learning framework with multiple feature encoders and a residual policy network for robust and reliable quadruped locomotion subject to various external perturbations. The multi-encoder structure can decouple latent features from different privileged information, ultimately leading to enhanced performance of the learned policy in terms of robustness, stability, and reliability. The efficiency of the proposed feature encoding module is analyzed in depth using extensive simulation data. The introduction of the residual policy network helps mitigate the performance degradation experienced by the student policy that attempts to clone the behaviors of a teacher policy. The proposed framework is evaluated on a Unitree GO1 robot, showcasing its performance enhancement over the state-of-the-art privileged learning algorithm through extensive experiments conducted on diverse terrains. Ablation studies are conducted to illustrate the efficiency of the residual policy network.
Zhiyuan Xiao, Xinyu Zhang, Xiang Zhou +1
School of Aeronautics and Astronautics, Sun Yat-sen University, Shenzhen 518107, P.R. China.