All models

HAMT (History Aware Multimodal Transformer)

Transformer agent for vision-and-language navigation that keeps the full history of panoramic views.

Multimodal · 1,905 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

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 (81 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
256.4M
Operations
1,905
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2021
Cited by
112 (as of 28 October 2026)
Authors
Shizhe Chen, Pierre-Louis Guhur, Cordelia Schmid, Ivan Laptev
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

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

Details
Stable ID
m17211
Graph hash
98e53f3a97a992efb5ef171a2d104dab68295f3d63824fcac618f3fed163d665
Skeleton hash
aa2e3759e8c42891a9b33204e8f8bfa6a64f589ef297d6f99aeab3ff85a47e9a
Architecture hash
d68251dd64070b8a5b726ab9739a59df2d96ba1bfa752b94a46a89d7dc02cc3d
Diagram SHA-256
edf1ec9e91fa8dde7aed061e43761f3c5c76b7692190b4cd3e2544a8c496b166
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

HAMT, the History Aware Multimodal Transformer, is an agent for vision-and-language navigation (VLN): it reads an instruction, looks at its surroundings and picks where to move next. Instead of condensing the trip so far into a recurrent state, it keeps the past observations and actions as an explicit sequence. To keep that sequence affordable, a hierarchical vision transformer (ViT) first encodes each view image, then relates the views within one panorama, then relates panoramas across time.

Separate transformers encode the text, the history and the current observation, and a cross-modal transformer then fuses the three. The paper sets 9 layers for the language transformer, 2 for the panoramic transformer and 4 for the cross-modal transformer. A stop token is appended to the observation so that stopping is one of the choices. The final outputs are embeddings for the text, history and observation tokens.

HAMT is first trained end-to-end on proxy tasks such as single-step action prediction and spatial relation prediction, and reinforcement learning then refines the navigation policy. The paper reports results across R2R, RxR, R2R-Last, REVERIE, CVDN, R4R and R2R-Back, and finds the model particularly effective on longer trajectories. R2R-Back, one of the setups the paper introduces, asks the agent to return to its start location after reaching the destination, so it has to remember where it has been.

Key idea. HAMT replaces the recurrent memory of earlier VLN agents with a transformer that incorporates a long-horizon history into multimodal decision making.

  • HAMT
  • History Aware Multimodal Transformer
  • vision-and-language navigation
  • VLN
  • instruction following
  • embodied navigation agent
  • hierarchical vision transformer
  • R2R

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

Cite the paper

@misc{chen2023historyawaremultimodaltransformer,
      title={History Aware Multimodal Transformer for Vision-and-Language Navigation}, 
      author={Shizhe Chen and Pierre-Louis Guhur and Cordelia Schmid and Ivan Laptev},
      year={2023},
      eprint={2110.13309},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2110.13309}, 
}