LatentMimic: Terrain-Adaptive Locomotion via Latent Space Imitation

Zhiquan Wang, Yunyu Liu, Dipam Patel, Ayush Kumar, Aniket Bera +1 more
4/7/2026
cs.ROcs.AI

No confident code implementation found for this paper.

Abstract

Developing natural and diverse locomotion controllers for quadruped robots that can adapt to complex terrains while preserving motion style remains a significant challenge. Existing imitation-based methods face a fundamental optimization trade-off: strict adherence to motion capture (mocap) references penalizes the geometric deviations required for terrain adaptability, whereas terrain-centric policies often compromise stylistic fidelity.

Show full abstract

We introduce LatentMimic, a novel locomotion learning framework that decouples stylistic fidelity from geometric constraints. By minimizing the marginal latent divergence between the policy's state-action distribution and a learned mocap prior, our approach provides a conditional relaxation of rigid pose-tracking objectives. This formulation preserves gait topology while permitting independent end-effector adaptations for irregular terrains. We further introduce a terrain adaptation module with a dynamic replay buffer to resolve the policy's distribution shifts across different terrains. We validate our method across four locomotion styles and four terrains, demonstrating that LatentMimic enables effective terrain-adaptive locomotion, achieving higher terrain traversal success rates than state-of-the-art motion-tracking methods while maintaining high stylistic fidelity.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026latentmimic,
  title  = {LatentMimic: Terrain-Adaptive Locomotion via Latent Space Imitation},
  author = {Zhiquan Wang and Yunyu Liu and Dipam Patel and Ayush Kumar and Aniket Bera and Bedrich Benes},
  year   = {2026},
  eprint = {2604.16440},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.16440v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.16440.svg)](https://codeofpaper.com/paper/2604.16440)

Discussion