Skip to content
Robotics.world

Research

OmniMimic: Dynamics-completed Motion Augmentation for Multi-style Omnidirectional Quadruped Locomotion

Animal motion capture gives quadruped robots natural, distinctive gait styles that are hard to write as hand-crafted reward functions, but such data is overwhelmingly dominated by forward walking…

The paper’s first page · arXiv:2609.20566
arXiv
2609.20566 · Preprint · not peer-reviewed
Published
2026-09-17
Authors
Sheng Wu, Guoqiang Zhao, Zhe Yang, Fei Teng, Zhikun Zhou, Yanlin Yang, Zheng Fang, Hong Zheng, Yaonan Wang, Kailun Yang

In plain words

Animal motion capture gives quadruped robots natural, distinctive gait styles that are hard to write as hand-crafted reward functions, but such data is overwhelmingly dominated by forward walking, leaving almost no style-consistent supervision for backward, sideways, or turning commands.

AI summary

Overview

Research area: Legged robotics — learning-based quadruped locomotion control, specifically motion imitation from animal demonstrations combined with reinforcement learning for omnidirectional velocity tracking.

Technical level: Advanced. The paper assumes familiarity with reinforcement learning for locomotion (PPO, motion-imitation priors such as AMP and APEX), constrained dynamics (floating-base equations of motion, contact Jacobians, friction-cone constraints), and numerical optimization.

Scope in one sentence: OmniMimic is a training framework that stretches directionally limited animal gait demonstrations (Trot, Pace, Canter, Pronk) into a single command-conditioned policy that follows backward, lateral, and turning commands on a Unitree Go2.

What This Paper Is About

Animal motion capture gives quadruped robots natural, distinctive gait styles that are hard to write as hand-crafted reward functions, but such data is overwhelmingly dominated by forward walking, leaving almost no style-consistent supervision for backward, sideways, or turning commands. The paper's goal is to learn one policy that keeps the demonstrated gait styles while tracking commands across full per-axis velocity ranges, including velocities that never appear in the demonstrations. The authors achieve this by generating robot-specific kinematic and physical (force/torque) targets for reversed and mirrored motions, then training the policy with a progressive command curriculum and a shared-plus-residual network architecture.

Key Contributions

  1. Dynamics-completed Motion Augmentation (DMA). Constructs robot-specific physical supervision (joint torques, foot forces, contact events, load shares, touchdown impulses) for time-reversed references by solving a constrained per-frame optimization, and consistently reflects kinematic and physical quantities across the sagittal plane. These labels are used only during training, via confidence-weighted torque guidance and an event-aware physics reward.

  2. Demonstration-guided Omnidirectional Command Expansion (DOCE). A curriculum that starts from frame-matched reference velocities and progressively interpolates toward independently sampled commands on all three axes (forward/backward, lateral, yaw), reaching the target per-axis bounds over $I_c = 2{,}000$ iterations and then holding full range for $I_{\text{full}} = 400$ iterations.

  3. Shared-residual Multi-gait Policy (SMP). A shared actor (receiving state, command, and a four-dimensional one-hot gait code) plus $K = 4$ bounded residual expert branches mixed by a gait-conditioned soft gate with scale $\gamma_r = 0.2$, giving both reusable locomotion structure and gait-specific corrections within a single policy.

  4. A matched four-gait evaluation on a Unitree Go2 in Isaac Gym, including learning-module and data-generation ablations, plus zero-shot deployment of all four gaits on physical hardware.

Main Findings

  • Better than AMP and APEX on every aggregated metric. Averaged over four gaits, OmniMimic reached joint-angle RMSE 0.2627, base-height RMSE 0.0357, foot-position RMSE 0.0572, reference-command RMSE 0.2266, and Grid-9³ RMSE 0.2880, versus APEX (0.2841, 0.0394, 0.0657, 0.2442, 0.7814) and AMP (0.2870, 0.0391, 0.0698, 0.3688, 1.0488).

  • Headline relative gains against APEX. 12.9% lower mean foot-position RMSE at forward and backward reference velocities, and 63.1% lower velocity-tracking RMSE on the uniform Cartesian command grid.

  • Translation improved most, yaw did not. On the 52,111-command grid, OmniMimic reached 90.0% and 86.2% all-gait agreement for $v_x$ and $v_y$, exceeding APEX by 18.4 and 37.7 percentage points — but APEX scored higher on yaw (86.1% versus 79.4%).

  • Qualitative command execution. From an identical standing pose without torque guidance, OmniMimic executed all eight sign combinations of $\mathbf{v}^{\star} = (v_x^{\star}, v_y^{\star}, \omega_z^{\star})$ at $\pm 1$ m/s and $\pm 1$ rad/s; APEX tracked yaw closely but showed weak lateral motion, and AMP stayed nearly stationary for negative longitudinal commands.

  • Ablation: DOCE drives the tracking gain. Going from uniform sampling (A) to DOCE (B) cut grid RMSE by 56.4% (0.7814 to 0.3406), at the cost of a 1.8% increase in joint-angle RMSE.

  • Ablation: SMP adds further tracking gains. Adding SMP (B to C) reduced grid RMSE by a further 15.9% (0.3406 to 0.2866) and improved the other four metrics.

  • Ablation: DMA mainly buys motion fidelity. Adding DMA (C to D) reduced foot-position RMSE from 0.0645 to 0.0572 (11.3%) and improved all three motion-reproduction metrics, while grid RMSE changed from 0.2866 to 0.2880 and reference-command error rose slightly.

  • Constrained completion beats naive reversal for contact physics. Compared with directly time-reversed forward labels (R2), dynamics completion (R3) reduced contact-force RMSE by 5.6% and touchdown-impulse RMSE by 7.1%, while reference-command and dense-grid errors were 1.7% and 0.5% higher. R3 achieved the lowest error on six of eight metrics and improved seven of eight over masked backward supervision (R1).

  • Sim-to-real without fine-tuning. A single simulation-trained policy executed Trot, Pace, and Pronk on paved surfaces and Canter on grass on the Unitree Go2, using only proprioception, commands, and the gait code.

Methodology in Plain English

The pipeline has three stages that all feed a standard PPO-trained locomotion policy.

First, build physical labels for forward motions. For each source animal motion, the authors train a temporary reference-tracking policy in simulation (they call these policies "reference-conditioned" because they also see motion features and a normalized frame index). They roll this policy out and record, frame by frame, joint states, applied torques, foot contacts, and contact forces, using the Go2 model and Pinocchio for dynamics terms and foot Jacobians. These tracking policies are throwaway tools: they are never deployed and never used to initialize the final actor.

Second, manufacture supervision for the directions the animals never performed. To create backward references they reverse the frame order, negate joint and base velocities, and re-anchor root translation. Simply replaying forward forces and torques backwards is not physically valid, so at each reversed frame they solve a small constrained optimization (42 variables via OSQP) for generalized acceleration, foot forces, and joint torques that satisfy the floating-base dynamics, torque limits, non-negative bounded normal forces, and a linearized friction pyramid, while staying close to the reordered forward measurements and staying smooth across frames. Each label gets a confidence score that decays with tracking error and drops at contact transitions. They then reflect motions across the sagittal plane (swapping FL/FR and RL/RR, negating lateral velocity and yaw rate) and apply the same transformation to forces, load shares, contact events, torques, and Jacobians, so leftward and rightward motions — and clockwise and counterclockwise turns — come in consistent pairs.

Third, use those labels as training signal. A physical torque residual is added on top of the usual position-based reference guide, gated by command compatibility, reference stable support, and touchdown proximity, and clipped to a small fraction ($\gamma_\tau = 0.05$) of torque limits, with a half-cosine decay schedule. An event-aware reward scores six physical quantities only during relevant gait events: contact schedule, vertical-load share, total vertical force, per-foot force, touchdown impulse, and signed contact change.

Command curriculum. Rather than sampling commands uniformly from the target box immediately, DOCE samples a convex combination of the exact reference frame's velocity and a scaled random draw, using a progress factor $p = \min(i/I_c, 1)$. The random draw is transformed by the same sign flips as the chosen reference, so lateral and yaw commands cover all four sign combinations and the final curriculum spans the full Cartesian product of the per-axis ranges ($\pm 2$ m/s in $v_x$ and $v_y$, $\pm 1.5$ rad/s in $\omega_z$).

Architecture. The shared actor sees state, command, and gait code and outputs scaled joint-position offsets for PD control; four residual branches see only state and command and output $\tanh$-bounded corrections, softmax-weighted by the gait code. The actor has 191,372 parameters, matching the dense baseline. Training uses PPO with 4,096 environments, separate style and task value estimates, and averaged normalized advantages.

Deployment uses only the actor plus proprioception, command, and gait code — no references, frame indices, cycle progress, physical labels, critics, or guidance torques.

Why This Matters

Impact on research. The paper identifies a concrete, under-addressed gap: demonstration-based imitation methods inherit the directional bias of their motion capture data, and prior fixes (reward engineering, retargeting, style rewards) either dilute the style or sidestep the missing directions. OmniMimic shows that physical labels — not just kinematic ones — can be synthesized for reversed motion through constrained dynamics, which is a reusable idea beyond quadruped locomotion. The ablation also cleanly separates which component buys tracking accuracy (DOCE, SMP) from which buys motion fidelity (DMA), and honestly reports a small tracking trade-off for the latter.

Real-world applications:

  • Companion and entertainment robots that need expressive, recognizable gait styles (trotting, pacing, cantering, pronking) rather than a single generic walk, as motivated in the introduction.
  • Industrial inspection in confined spaces where backward and lateral tracking matter more than forward speed.
  • Human-robot interaction and character animation, where stylistic gait variety is itself the product feature.
  • Rapid behavior authoring from public animal mocap, reducing dependence on hand-tuned reward engineering per style.

Industry relevance. Two practical points stand out: the policy is trained in simulation and deployed on hardware without fine-tuning, and deployment requires no reference trajectories, mocap hardware, or guidance torques at runtime — only proprioception, a velocity command, and a gait label. That makes multi-gait stylistic control tractable as a firmware-level capability rather than a per-style engineering project.

Future Directions

  • Remove the discrete gait label. The current formulation uses a four-way one-hot gait code; the authors list gait coordination across commands as future work, which would allow continuous blending or automatic gait selection rather than a user-specified mode.

  • Quantify hardware accuracy. Motion fidelity in this paper is measured only in simulation, and only at reference-aligned forward and backward velocities. The authors state that hardware tracking accuracy and repeatability over broader command and terrain ranges remain to be measured.

  • Extend beyond flat terrain. Evaluation is primarily on flat ground (with a hardware Canter demonstrated on grass); rough-terrain generalization of both the completed labels and the policy is untested.

  • Address the yaw gap. APEX outperformed OmniMimic on yaw agreement (86.1% versus 79.4%), and the DMA step slightly increased reference-command error, so recovering yaw tracking without sacrificing the translational and fidelity gains is an open problem.

Target Audience

Researchers and graduate students in legged robotics and reinforcement learning who work on motion imitation, motion retargeting, or sim-to-real locomotion control. It is also useful for practitioners who already have animal mocap data and want a recipe for extending it to omnidirectional commands without hand-designing gait rewards. Readers without background in constrained dynamics or PPO-based locomotion training will find the method sections demanding.

Authors’ abstract

Animal demonstrations provide quadruped robots with natural and distinctive gait styles that are difficult to specify through hand-crafted rewards. However, their narrow directional coverage leaves little style-consistent supervision for backward, lateral, and turning commands. We present OmniMimic, a training framework that turns directionally limited animal demonstrations into a single multi-gait policy over target per-axis velocity ranges. OmniMimic first combines…

The full abstract on arXiv
Read the original paper

Related papers