Walk These Ways
A single locomotion policy for the Go1 quadruped that can execute diverse gaits chosen in real time.
Reinforcement learning and control · 23 operations Checked
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
- 3.1M
- Operations
- 23
- Framework
- PyTorch
- Recurrent
- No
- Published
- CoRL 2022
- Cited by
- 61 (as of 29 October 2026)
- Authors
- Gabriel B Margolis, Pulkit Agrawal
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21444
- Graph hash
- 51ce2952d7b17f2c603a0b9c76212edc0f591e5f8df47a38a466a359184ad753
- Skeleton hash
- bc2277548292f8cbbefa1faf3abdb0e4bc7e440ebb3dfaf38c22ae7cc24a92d6
- Architecture hash
- 2751be0e85874a750da965abbd0aae07234a74782fdbe26aa7d66d200dec5828
- Diagram SHA-256
- 93147cd63c9cefb6b6346a1ca905b62dfb96e5a69a55908b8b9d70b0c273b84d
- 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
Walk These Ways is an open-source locomotion controller that can execute diverse gaits with variable footswing, posture and speed. It addresses a gap in learned locomotion policies: they adapt quickly to environments like those seen in training but have no mechanism for fast tuning when they fail in an out-of-distribution test environment. The paper says such a failure normally forces a slow, iterative cycle of reward and environment redesign.
Its alternative is to learn a single policy that encodes a structured family of locomotion strategies, each solving the training tasks in a different way, which the paper calls Multiplicity of Behavior (MoB). Different strategies generalize differently, so one can be chosen in real time for a new task or environment without retraining. The paper lists downstream tasks this opens up: crouching, hopping, high-speed running, stair traversal, bracing against shoves and rhythmic dance.
The code trains reinforcement learning policies for the Go1 robot using PPO, IsaacGym, domain randomization and MoB. It includes a pretrained agent checkpoint. Deployment code is provided for the Unitree Go1 Edu robot. Training with the default configuration runs 4000 parallel simulated environments and needs about 12GB of GPU memory.
Key idea. The paper trains a single locomotion policy that encodes a structured family of strategies, so a different one can be chosen in real time instead of retraining.
- Walk These Ways
- MoB
- Multiplicity of Behavior
- legged locomotion
- quadruped locomotion
- locomotion controller
- Unitree Go1
- sim-to-real
- reinforcement learning
- gait-conditioned policy
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{margolis2022walkwaystuningrobot,
title={Walk These Ways: Tuning Robot Control for Generalization with Multiplicity of Behavior},
author={Gabriel B Margolis and Pulkit Agrawal},
year={2022},
eprint={2212.03238},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2212.03238},
}