arXiv:2608.24217cs.ROAug 2026

Manuscript Offprint

arXiv:2608.24217

CARO: Contact-Agnostic Residual Observation for Zero-Shot Robust Quadruped Locomotion

Zihan Yang, Shixuan Han, Kexin Guo, Xiang Yu

Zihan Yang 1^{1}, Shixuan Han 2^{2}, Kexin Guo 1,†^{1,\dagger}, and Xiang Yu 2^{2}

Abstract—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.

I. INTRODUCTION

Reinforcement learning (RL) has enabled agile and versatile quadruped locomotion, achieving impressive performance in high-speed running [1], perturbation recovery [2], and complex-terrain traversal [3]. Despite this progress, deployment robustness remains a persistent limitation. When a robot encounters conditions outside the training distribution, the performance of learned policies can degrade significantly. Most existing pipelines achieve robustness implicitly, either through large-scale simulation and domain randomization or through adaptation modules that infer latent environment properties and adjust policy behavior accordingly [3]–[6]. Although effective under moderate distribution shifts, these approaches generally lack an explicit, physically structured feedback channel for detecting abrupt changes in the robot's dynamics and contact conditions.

A complementary line of research incorporates model-based control structures into learning-based policies [7]–[10]. Predictive errors, disturbance estimates, and adaptive signals can provide informative closed-loop feedback to the policy and improve robustness under model mismatch. However, applying internal-model-based and observer-based methods to quadruped locomotion remains challenging because legged dynamics are hybrid, nonlinear, and strongly affected by contact interactions. Accurate floating-base inverse-dynamics calculations typically require reliable estimates of the floating-base state, actuator behavior, and contact forces. These sensing and modeling requirements can be difficult

Figure

Fig. 1. Overview of the CARO framework. The fixed-base Euler–Lagrange internal model is embedded within the RL control loop, and the resulting joint-level residual is provided to the policy as an adaptation signal.

to satisfy during terrain transitions, foot impacts, slipping, and large body motions, limiting the direct deployment of conventional observer-based feedback in learned locomotion systems.

In this work, we propose Contact-Agnostic Residual Observation (CARO), a framework for robust quadruped locomotion. CARO embeds a fixed-base Euler–Lagrange internal model into the RL control loop and constructs a lightweight joint-level residual observation. Although the internal model omits explicit floating-base dynamics, payload changes, external pushes, and terrain variations remain observable through their effects on contact-force distribution and joint-space loading. Here, contact-agnostic means that CARO captures the joint-space consequences of contact interactions without explicitly estimating contact states, locations, or wrenches. Rather than directly applying the estimated residual as joint-level compensation, CARO provides it to the policy as an internal-model adaptation signal.

CARO is trained under the same terrain, command, and domain-randomization conditions as the nominal policy, without specialized disturbance curricula or additional adaptation supervision. We evaluate the resulting policy through systematic payload-terrain sweeps and sudden payload changes in simulation. CARO consistently improves locomotion robustness relative to representative baselines based on standard RL, history-based adaptation, and adaptive control. Real-world experiments further demonstrate zero-shot traversal of unseen terrains, heading maintenance under center-of-mass shifts, increased payload capacity, and improved robustness during elevated-platform landings.

The main contributions of this work are summarized as follows:

• Deployable contact-agnostic internal-model adaptation. We introduce a fixed-base Euler–Lagrange residual

†^{\dagger} Corresponding author.

1^{1}School of Aeronautic Science and Engineering, Beihang University, Beijing 100035, China

2^{2}School of Automation Science and Electrical Engineering, Beihang University, Beijing 100035, China observer that can be directly integrated into a quadruped locomotion policy without explicit contact-force estimation, force/torque sensing, or measurements of the floating-base position and linear velocity.

• Policy-level use of structured residual feedback. Rather than using the observed residual for direct joint-level compensation, CARO provides it to the RL policy as an adaptation input, allowing the policy to determine an appropriate response under contact-rich and out-of-distribution conditions.

• Zero-shot robustness without specialized robustness training. Using the same training conditions as the nominal policy, CARO improves robustness to out-of-distribution payloads, center-of-mass shifts, terrain geometries, and abrupt dynamics changes in both simulation and real-world experiments.

References (28)