All models

METER

A fully transformer-based vision-and-language model with separate image and text encoders fused by co-attention.

Multimodal · 1,378 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 (78 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
358.5M
Operations
1,378
Framework
PyTorch
Recurrent
No
Published
CVPR 2022
Cited by
361 (as of 24 October 2026)
Authors
Zi-Yi Dou, Yichong Xu, Zhe Gan and others
License
MIT
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
m18091
Graph hash
f6cd6786b532c5c5614e6b3a2b1602356e74c1f04e0ca215036ce9927e6c721d
Skeleton hash
09f28c8f6c3c04c6939826680681c4d59db29f6b6ff98ea4c4ff95bc332cb3d0
Architecture hash
b5ec80f478910ee1e7e14576ba46672d2f0112e5d8d8b475d65561c3b4f86b22
Diagram SHA-256
dfb3de5a7f19eaa83e9d0580c5da3e25d7105fece0bdae587eef90cdbb5ee553
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

METER, short for Multimodal End-to-end TransformER, is a vision-and-language model built entirely from transformers, and also the framework its authors used to study how such models should be designed and pre-trained. The paper's motivation is that fully transformer-based models can be more efficient than earlier region-feature-based methods, but their downstream performance often degrades significantly.

In the default design, a pre-trained visual encoder and a pre-trained text encoder sit at the bottom, and 6 transformer encoding layers are stacked on top of each. This is the co-attention arrangement, in which text and visual features go into different transformer blocks. There is no decoder, and the vision and language branches share no parameters. Pre-training uses masked language modeling and image-text matching only.

The authors find that the vision transformer plays a more vital role than the language transformer in vision-and-language pre-training. In their settings, adding a masked image modeling loss did not improve downstream task performance. The paper reports an accuracy of 77.64% on the VQAv2 test-std set using only 4M images for pre-training. The released checkpoints include METER-CLIP16-RoBERTa at resolution 288, pre-trained on GCC+SBU+COCO+VG.

Key idea. The paper presents METER, a framework for studying how to design and pre-train a fully transformer-based vision-and-language model end to end, comparing encoders, fusion modules and objectives.

  • METER
  • Multimodal End-to-end TransformER
  • vision-and-language transformer
  • vision-language pre-training
  • VLP
  • visual question answering
  • VQAv2
  • image-text retrieval
  • co-attention

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

Cite the paper

@misc{dou2022empiricalstudytrainingendtoend,
      title={An Empirical Study of Training End-to-End Vision-and-Language Transformers}, 
      author={Zi-Yi Dou and Yichong Xu and Zhe Gan and Jianfeng Wang and Shuohang Wang and Lijuan Wang and Chenguang Zhu and Pengchuan Zhang and Lu Yuan and Nanyun Peng and Zicheng Liu and Michael Zeng},
      year={2022},
      eprint={2111.02387},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2111.02387}, 
}