HIRO
A two-level reinforcement learning agent whose higher-level policy sets goals for a lower-level policy.
Reinforcement learning and control · 50 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
- 1.1M
- Operations
- 50
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2018
- Cited by
- 446 (as of 25 October 2026)
- Authors
- Ofir Nachum, Shixiang Gu, Honglak Lee, Sergey Levine
- Source
- GitHub: tensorflow/models
- License
- Apache-2.0
- 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
- m17250
- Graph hash
- 4dc07d99b8efb1d9e4a817ff4b00ad04769f6a8bcc8cc8ae524d80771725bc64
- Skeleton hash
- b0acb3a867b7436a7e15ff3944c2f928460e6fad27823af74f4edeeb17b85401
- Architecture hash
- 1a8659c0f9de0325d0e14649182298039696745689519ea583204fcf9ca7ddcd
- Diagram SHA-256
- 57b5670aaa57f6bb69da030ef5dadc1747da5fdd5b425cd44599612b1c02073b
- 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
HIRO is a hierarchical reinforcement learning (HRL) agent designed to be general and to learn from modest numbers of interaction samples, which the paper argues suits real-world problems such as robotic control. The name stands for HIerarchical Reinforcement learning with Off-policy correction.
Two policies work at different time scales: a higher-level policy issues a goal every c steps, and a lower-level policy that acts directly on the environment is rewarded for reaching it. A goal is a desired relative change in the state observation, and the lower-level reward is based on the distance between the current observation and the goal observation. Training is off-policy at both levels and uses TD3, a variant of DDPG. Because the lower-level policy keeps changing, a past high-level experience may no longer be valid, so the method re-labels it with a high-level action chosen to maximize the probability of the past lower-level actions. In the paper's implementation the new goal is picked from 10 candidates.
The paper tests on the simulated ant tasks Ant Gather, Ant Maze, Ant Push and Ant Fall, with comparisons to variants of FuN, SNN4HRL and VIME. It reports that HIRO learns complex behaviors from only a few million samples, equivalent to a few days of real-time interaction. On Ant Gather the method is out-performed by a variant that pre-trains the lower-level policy, which the authors take to suggest that the off-policy correction is still not perfect.
Key idea. HIRO trains higher- and lower-level policies off-policy, with a correction that re-labels past high-level goals, and so uses substantially fewer environment interactions than on-policy algorithms.
- hiro
- hierarchical reinforcement learning with off-policy correction
- data-efficient hierarchical reinforcement learning
- hierarchical rl
- hrl
- off-policy correction
- goal-conditioned policy
- ant maze
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{nachum2018dataefficienthierarchicalreinforcementlearning,
title={Data-Efficient Hierarchical Reinforcement Learning},
author={Ofir Nachum and Shixiang Gu and Honglak Lee and Sergey Levine},
year={2018},
eprint={1805.08296},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1805.08296},
}