All models

DiffuseLoco

A diffusion-based policy that controls legged robot locomotion in real time, learned from offline datasets.

Reinforcement learning and control · 462 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (27 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
6.9M
Operations
462
Framework
PyTorch
Recurrent
No
Published
Conference on Robot Learning (arXiv 2024)
Cited by
81 (as of 27 November 2026)
Authors
Xiaoyu Huang, Yufeng Chi, Ruofeng Wang and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16134
Graph hash
7dd3ec372bcdb678322f216531ebfac19fe46683323431f59f27e57a32062191
Skeleton hash
b6e598ea8ff9d3a57a5a8c821ecf2d27fd2a84e0d806df55324ef20d67c306dd
Architecture hash
0b5ae308f6b6ee83bf98413cb9e74d12f6452127d1f3c0ce12211e7812ecf316
Diagram SHA-256
35ccdbb9f8468cc02ba88c98852d027159c8c5b54417012429829e44d55b7669
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DiffuseLoco is a framework for training multi-skill diffusion-based policies for dynamic legged locomotion from offline datasets, built for real-time control of robots in the real world. The paper argues that scaling up learning for legged locomotion, especially with several skills in a single policy, is hard for online reinforcement learning methods. Its response is to use diffusion models to learn directly from offline multimodal datasets that cover a diverse set of locomotion skills.

The design choices are tailored to real-time control in dynamical systems and include receding horizon control and delayed inputs. The official repository defines the model as a transformer for diffusion. It uses TensorRT to accelerate policy inference and meet the real-time requirement.

The paper reports zero-shot transfer to real quadrupedal robots and deployment on edge computing devices. In real-world experiments the authors report better stability and velocity tracking than prior reinforcement learning and non-diffusion-based behavior cloning baselines. The repository evaluates its pre-trained checkpoint on bipedal walking, hop, bounce and walk tasks.

Key idea. DiffuseLoco trains one multi-skill diffusion policy for legged locomotion from offline datasets and runs it in real time on real quadrupedal robots.

  • diffuseloco
  • diffusion policy
  • legged locomotion
  • quadruped robot
  • locomotion control
  • offline learning
  • real-time control
  • multi-skill policy

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{huang2024diffuselocorealtimeleggedlocomotion,
      title={DiffuseLoco: Real-Time Legged Locomotion Control with Diffusion from Offline Datasets}, 
      author={Xiaoyu Huang and Yufeng Chi and Ruofeng Wang and Zhongyu Li and Xue Bin Peng and Sophia Shao and Borivoje Nikolic and Koushil Sreenath},
      year={2024},
      eprint={2404.19264},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2404.19264}, 
}