Research
Learning Fault-Tolerant Locomotion with Adaptive Gait Timing
When a joint on a legged robot suddenly loses torque, the robot must quickly reorganize how its remaining joints cooperate and re-time its steps to stay upright.

- arXiv
- 2608.07328 · accepted · IROS
- Published
- 2026-08-07
- Authors
- Giovanbattista Gravina, Luca Rossini, Carlo Rizzardo, Arturo Laurenzi, Nikos Tsagarakis
In plain words
When a joint on a legged robot suddenly loses torque, the robot must quickly reorganize how its remaining joints cooperate and re-time its steps to stay upright. Most learned controllers either assume the robot knows which joint is broken, hard-code strategies for the injured leg, or were only demonstrated on small, light quadrupeds.
AI summary
Overview
Research area: Legged robotics — deep reinforcement learning for fault-tolerant locomotion control of quadruped robots.
Technical level: Intermediate. Readers should be comfortable with reinforcement learning basics (actor–critic methods, PPO, reward shaping) and with legged-robot concepts such as gait phases, PD joint control and sim-to-real transfer.
Scope: A single-stage asymmetric actor–critic training scheme with a latent-alignment loss and a learnable gait-frequency action that lets a 68 kg quadruped keep walking after sudden actuator power loss on uneven terrain.
What This Paper Is About
When a joint on a legged robot suddenly loses torque, the robot must quickly reorganize how its remaining joints cooperate and re-time its steps to stay upright. Most learned controllers either assume the robot knows which joint is broken, hard-code strategies for the injured leg, or were only demonstrated on small, light quadrupeds. This paper trains one policy that infers the fault purely from its own sensor history and is allowed to change its stepping frequency on the fly, so it can adapt to both faults and uneven ground without any predefined faulty-leg behavior.
Key Contributions
- Fault-aware locomotion from fault-unaware sensing. A single-stage training procedure built on an asymmetric actor–critic architecture, augmented with an auxiliary latent-alignment loss (mean-squared error between the actor's latent vector and the critic's privileged latent vector) that pushes the actor to reconstruct privileged information from proprioceptive observations alone.
- Adaptive gait timing. The action space is extended with a learnable gait-frequency term alongside the joint position targets (action dimension n_J + 1), so the policy autonomously regulates step timing and contact scheduling under fault and terrain conditions, without redesigning the gait pattern.
- Fault inference analysis. An ablation over proprioceptive observation history length H ∈ {1, 2, 3, 5, 7} quantifying how much past information the actor needs to infer and compensate for faults.
- Sim-to-real validation. High-fidelity simulation on uneven terrain and real-world experiments on flat ground with the Kyon robot, a 68 kg quadruped with 4 legs and 12 actuated joints.
Main Findings
- Latent alignment plus history closes the gap to the oracle. Averaged over five training runs per variant, the full method (H = 3, λ₃ = 1) achieved the episodic total reward closest to the Oracle variant, which has full noiseless access to privileged information including the joint fault mask; it outperformed the same architecture without latent-alignment loss and without proprioceptive history.
- One step of history gives most of the benefit. Increasing history length from H = 1 to H = 2 produced the largest improvement in reward and latent cosine similarity; further increases gave marginal gains, motivating H = 3 as a practical trade-off that limits network size.
- Knee-joint faults are the hardest case. Evaluation with 1024 agents per selected policy, 25 s episodes and a power-loss fault injected at t = 5 s showed performance grouped by fault location (front/rear legs; hip roll, hip pitch, knee pitch), with knee-joint faults generally the most challenging to handle.
- Faults trigger a gait change. In sim-to-sim tests, knee faults often caused the robot to switch to a tripodal locomotion pattern, whereas with hip-related faults the injured leg could still contribute to locomotion using its remaining degrees of freedom.
- Learnable gait frequency yields smoother motion than free gait. In a flat-terrain comparison at v_x^cmd = 0.7 m/s with a front-left knee pitch fault, both the gait-adaptive policy and a free-gait baseline switched to a tripodal gait, but the free-gait policy produced aperiodic and spurious contacts, particularly during single support on the rear-right leg; the proposed policy produced longer, more periodic swing–stance phases.
- The gait-frequency action has interpretable structure. After the fault, the gait-frequency action became periodic, increasing during single support and decreasing during double support, matching the difference in stance duration.
- Smoother actuation. Averaged over healthy joints during the faulty condition, the free-gait policy consistently showed higher joint accelerations and higher action variation than the gait-adaptive policy.
- Generalization to unseen terrain in sim-to-sim. With MuJoCo plus the XBot2 middleware (running as a separate process at 1 kHz, introducing asynchronous communication not modelled in training), the policy handled stairs with a novel profile (10 cm step height, 0.7 m step width) and ramps up to 13°, including under hip pitch and knee pitch faults.
- Zero-shot sim-to-real on flat ground. Without a perception module, setting the terrain observation to zero allowed deployment on the real Kyon robot, which handled a sudden power-loss fault at the rear-left knee pitch joint while locomoting.
- Numerical tracking-error and survival-time values are not reported in the text. These are presented graphically in the paper's figures, grouped by fault location and aggregated, rather than as numbers in the prose.
Methodology in Plain English
The robot is controlled by a neural network that runs at 50 Hz and outputs, for each of the 12 joints, a small offset from a default joint posture, plus one extra number that sets how fast the legs should step. A PD controller turns those position targets into joint torques, and the stepping-frequency number sets the rate at which a reference gait phase advances, which in turn defines which feet are supposed to be on the ground.
Training uses PPO in simulation with 8192 robots at once on stepped-pyramid terrain (10-by-10 m bases, 2 m corridors, steps of 4, 8 and 12 cm with widths of 1.2, 1 and 0.8 m). Episodes last 20 s (1000 control steps), and velocity commands are resampled every 4 s within ±1.5 m/s forward, ±0.8 m/s sideways and ±1 rad/s turning.
The actor–critic split is deliberately lopsided. The critic, used only during training, sees privileged information: base linear velocity and acceleration, world-frame angular velocity, joint velocities, applied torques, binary foot contacts, foot velocities and a binary joint-health mask, plus terrain data. The actor sees only what a real robot could measure — noisy versions of base angular velocity, gravity vector, joint readings, foot positions, previous action, commands and encoded gait phase — plus terrain observations. The actor's encoder compresses a history of H proprioceptive observations into a 32-dimensional latent vector, and an extra loss term asks that vector to match the critic's privileged latent vector, so the deployed network learns to infer the hidden state (including whether a joint is broken) rather than guessing from reward alone. Total loss is the PPO loss plus λ₃ times this alignment loss.
Faults are simulated by scaling the commanded torque of one joint by an efficiency factor between 0 and 1, applied at a randomly sampled time and on a randomly sampled joint in each episode. A curriculum starts every joint at efficiency 0.25 and reduces it by 0.0125 per episode for a joint once velocity-tracking rewards pass thresholds (0.7 for linear, 0.8 for angular) without termination, letting the policy experience partial failures before complete ones. Rewards follow the MuJoCo Playground locomotion task rewards plus a phase-consistency term matching measured contacts to the reference schedule — with faulty legs excluded from that term, so no specific compensation behavior is imposed — and a standing-posture term active only when zero velocity is commanded and the robot is fully healthy. Domain randomization covers actuator gains, damping, friction, rotor inertia, link and torso mass, centre of mass, initial joint positions and terrain friction.
Why This Matters
The work targets a practical failure mode in field robotics: hardware degrades, and the robot must keep working or reach a safe state instead of falling. It shows that a single learned controller can absorb fault inference and gait re-timing without hand-designed faulty-leg rules, and that this transfers to a relatively heavy 68 kg platform where aggressive, high-frequency compensation used on small quadrupeds is not viable.
Real-world applications:
- Search and rescue in unstructured terrain where a damaged robot must still return or continue.
- Industrial inspection of large sites where a joint failure should not end the mission.
- Outdoor parcel delivery and logistics, where payload mass and actuator wear make degradation likely.
- Outdoor agriculture and construction support tasks on uneven ground with heavy-legged platforms.
Industry relevance: Adaptive gait timing is a lightweight, general mechanism that can be added to existing locomotion stacks without new hardware, offering a route to longer mission uptime and fewer catastrophic falls for commercial quadrupeds. The reliance on externally provided terrain height is the main practical caveat: deployment at scale would need a perception pipeline supplying that map.
Future Directions
- Integrating onboard perception (for example LiDAR or RGB-D based terrain reconstruction) to replace the assumed terrain height observations, which were set to zero for the flat-ground real experiment.
- Learning unified fault-tolerant locomotion and fall-recovery policies, extending the scope beyond faults that remain recoverable by walking.
- Exploring fault tolerance for hybrid wheeled-legged systems.
- Extending validation beyond flat ground in the real-world experiments, since hardware trials covered only flat terrain while uneven-terrain results came from simulation.
Target Audience
Robotics researchers and graduate students working on learning-based legged locomotion, sim-to-real transfer and fault-tolerant control; engineers at quadruped platform companies evaluating controller robustness under actuator degradation; and reinforcement learning practitioners interested in asymmetric actor–critic designs with auxiliary representation-alignment objectives.
Authors’ abstract
Hardware failures require legged robots to rapidly reorganize coordination and gait timing to maintain stability and mobility. This is particularly challenging for larger quadrupeds, where increased mass and tighter actuation limits reduce the feasibility of aggressive, high-frequency compensation strategies often observed on smaller platforms. In this work, we propose a deep reinforcement learning approach for fault-tolerant locomotion under actuator power loss. The method…
The full abstract on arXivRelated papers
- Bridging Task Planning and Execution for Language-Conditioned Bimanual Manipulation 2026-11-09 · cs.RO · Also by Arturo Laurenzi, Luca Rossini +1
- Efficient Real-World Online Reinforcement Learning for Robot Manipulation via Centralized Training and Critic Decomposition 2026-08-10 · cs.RO · Also by Arturo Laurenzi, Nikos Tsagarakis
- Energy-Efficient Gait Adaptation via Hierarchical Reinforcement Learning for Quadrupedal Locomotion Across Diverse Terrains 2026-10-07 · cs.RO · Key terms of the title in common
- PACE: Adaptive Budget Allocation for Time-Efficient Embodied Planning 2026-08-04 · cs.RO · Key terms of the title in common
- Rapid Embodiment Adaptation for Quadrupedal Locomotion 2026-08-02 · cs.RO · Key terms of the title in common