All models

Hybrid Internal Model (HIM)

Legged locomotion controller that estimates external states from the robot's response using proprioception only.

Reinforcement learning and control · 30 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 (38 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
545.7K
Operations
30
Framework
PyTorch
Recurrent
No
Published
ICLR 2024
Cited by
7 (as of 29 October 2026)
Authors
Junfeng Long, Zirui Wang, Quanyi Li and others
License
CC-BY-NC-SA-4.0
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
m17405
Graph hash
4b66f29dd668d02291d2e7df5a353ff03cfa899aecbd3cc1d485e73b24cee389
Skeleton hash
f5353643f11a5fa0ed3917fa9405fb245608d8b51797d6b83e888e1b781b6594
Architecture hash
16ca2939438b5497c4357badd351e25cc6b8b830c229c0737bc6507c9a4c9a61
Diagram SHA-256
efab3ae6696a91ad5dc9a2ae533cd2546d53356c6eb7b508d978bb1a12f08938
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

Hybrid Internal Model (HIM) is a learned locomotion controller for legged robots that needs only the robot's proprioception, meaning joint encoders and the IMU, as observations. The difficulty it targets is state estimation: the sensors of most legged robots give only partial and noisy observations, and external states such as terrain frictions and elevation maps are especially hard to estimate. Inspired by the classical Internal Model Control principle, the authors treat these external states as disturbances and estimate them from the response of the robot.

That response, called the hybrid internal embedding, contains the robot's explicit velocity and an implicit stability representation. Contrastive learning optimizes the embedding to be close to the robot's successor state. The paper states that the method requires 1 hour of training on an RTX 4090 for a quadruped robot.

The code is released under the name HIMLoco by OpenRobotLab, and the codebase is built upon legged_gym. The repository news records that HIMLoco was accepted by ICLR 2024.

Key idea. HIM treats external states such as terrain friction as disturbances and estimates them from the robot's response, using a contrastively learned embedding and only proprioceptive observations.

  • Hybrid Internal Model
  • HIM
  • HIMLoco
  • legged locomotion
  • quadruped robot
  • locomotion control
  • internal model control
  • proprioceptive locomotion
  • contrastive learning

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

Cite the paper

@misc{long2024hybridinternalmodellearning,
      title={Hybrid Internal Model: Learning Agile Legged Locomotion with Simulated Robot Response}, 
      author={Junfeng Long and Zirui Wang and Quanyi Li and Jiawei Gao and Liu Cao and Jiangmiao Pang},
      year={2024},
      eprint={2312.11460},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2312.11460}, 
}