All models

UNITER-UniversalImageText

A single Transformer that embeds image regions and text tokens together for vision-and-language tasks.

Multimodal · 425 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 (24 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
109.9M
Operations
425
Framework
PyTorch
Recurrent
No
Published
ECCV 2020
Cited by
2,051 (as of 23 October 2026)
Authors
Yen-Chun Chen, Linjie Li, Licheng Yu 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
m3224
Graph hash
99a99caa018813cc6c3b871ace7a8a3fb089ec1ece0857646313e37c49dde826
Skeleton hash
d2766f12e071dedb2709c6e7b1bd3665bc0c66f99bc950f7c000e4fc708f67cc
Architecture hash
e0fc0312de69818fe41d1f56b429bf7386235fa9dba97d64bab4c5da755c9f76
Diagram SHA-256
395da66f9621088d033c5e30b7bf85f2134b93068027a1510872c263098d3328
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

UNITER (UNiversal Image-TExt Representation) is a model that reads an image and a sentence together and produces joint multimodal embeddings, learned by pre-training on four image-text datasets and meant to serve many vision-and-language tasks. The image enters as regions: Faster R-CNN extracts visual features for each region, and each region's location is encoded as a 7-dimensional vector. The text side follows BERT and tokenizes the sentence into WordPieces. Both sets of embeddings then go through one multi-layer Transformer, which learns a contextualized embedding across visual regions and textual tokens.

Pre-training uses four tasks: Masked Language Modeling (MLM), Masked Region Modeling (MRM), Image-Text Matching (ITM) and Word-Region Alignment (WRA). The masking is conditional, so a masked word is predicted with the full image visible and a masked region with the full text visible, where earlier work masked both modalities at random. WRA uses Optimal Transport to encourage fine-grained alignment between words and image regions.

The paper reports two sizes, UNITER-base with 12 layers and UNITER-large with 24 layers. The authors note that VilBERT and LXMERT had observed two-stream models outperforming single-stream ones, while in their own experiments the single-stream UNITER-base gave the best results reported at the time with fewer parameters: 86M against 183M for LXMERT and 221M for VilBERT.

Key idea. The paper introduced UNITER, a joint image-text representation pre-trained on four image-text datasets to serve many downstream vision-and-language tasks.

  • uniter
  • universal image-text representation
  • image-text representation
  • vision and language
  • vision-language pre-training
  • joint multimodal embedding
  • visual question answering
  • image-text retrieval

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

Cite the paper

@misc{chen2020uniteruniversalimagetextrepresentation,
      title={UNITER: UNiversal Image-TExt Representation Learning}, 
      author={Yen-Chun Chen and Linjie Li and Licheng Yu and Ahmed El Kholy and Faisal Ahmed and Zhe Gan and Yu Cheng and Jingjing Liu},
      year={2020},
      eprint={1909.11740},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1909.11740}, 
}