All models

Meta-Transformer

A frozen ViT encoder with per-modality tokenizers that maps data from 12 modalities into one shared token space.

Multimodal · 339 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
85.6M
Operations
339
Framework
PyTorch
Recurrent
No
Published
2023
Cited by
223 (as of 14 November 2026)
Authors
Yiyuan Zhang, Kaixiong Gong, Kaipeng Zhang and others
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 diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18424
Graph hash
b3fd60e5d0c4423b0467808881703b62e5dda671e1695b88427d2fd1ef6d7bf0
Skeleton hash
1ec398fe5d8e23f30077615703d947b27965bc7ea2ca3757cb08811843e8a62a
Architecture hash
0939a2e9b3f242b390baa1c03593c611ed47c280c5c958d9e1a397042b098bb0
Diagram SHA-256
fa6c7d7ec38a62aef05088d15b3a670007b80f694e1296fd6ff25ea581b71200
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

Meta-Transformer is a framework for multimodal learning in which one encoder with frozen parameters extracts features from many kinds of data. The paper explores 12 modalities, including images, natural language, point cloud, audio spectrogram, video, graph and time-series data. It performs multimodal perception without any paired multimodal training data.

The framework is composed of a data-to-sequence tokenizer, a modality-agnostic encoder and task-specific heads. The tokenizer transforms data from each modality into token sequences that share a common manifold space. The encoder is a ViT pretrained on the LAION-2B dataset with contrastive learning, and its parameters are frozen after pretraining. For each task, only the downstream task heads and the lightweight tokenizers are updated. The base-scale encoder is a stack of 12 transformer blocks with dimension 768 and 12 heads. This release, Meta-Transformer-B16, has 85M parameters.

With the help of the CLIP text encoder, the paper reports zero-shot image classification accuracy of 69.3% and 75.3% for its B16 and L14 models. With the pretrained parameters further tuned, it reports 85.4% and 88.1% accuracy on ImageNet classification. Among the limitations the authors list, Meta-Transformer lacks temporal and structural awareness, which may affect tasks such as video understanding. Its ability for cross-modal generation is still unknown.

Key idea. Meta-Transformer maps raw data from different modalities into a shared token space so that one encoder with frozen parameters can extract features for all of them.

  • Meta-Transformer
  • MetaTransformer
  • unified multimodal learning
  • multimodal perception
  • frozen encoder
  • modality-shared encoder
  • Data-to-Sequence tokenization
  • Data2Seq
  • unpaired multimodal data
  • 12 modalities

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

Cite the paper

@misc{zhang2023metatransformerunifiedframeworkmultimodal,
      title={Meta-Transformer: A Unified Framework for Multimodal Learning}, 
      author={Yiyuan Zhang and Kaixiong Gong and Kaipeng Zhang and Hongsheng Li and Yu Qiao and Wanli Ouyang and Xiangyu Yue},
      year={2023},
      eprint={2307.10802},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2307.10802}, 
}