All models

eva_giant_patch14_clip_224

A billion-parameter plain ViT pre-trained to reconstruct masked CLIP features from public images.

Image classification · 1,094 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 (18 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

Family
EVA
Parameters
1B
Operations
1,094
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2022)
Cited by
23 (as of 5 October 2026)
Authors
Yuxin Fang, Wen Wang, Binhui Xie 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
m4809
Graph hash
9120e90c86310e8468149474d50e2ad6e078057af70495a6ad3a7291a120f9da
Skeleton hash
0313105e1172f63388561988e60e04f14b43b28a020244327ab5e5dbb2dd1bab
Architecture hash
fb7168e6d90015830d0a33193ae41602a83a2bc08a17223e8ec35030cc11416e
Diagram SHA-256
31160e010d7b5ba29a8281ea24b1a7f411b52f721955bd7a94dac901421ac1eb
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

How this diagram was made

timm.create_model('eva_giant_patch14_clip_224', pretrained=False)

What it is

This CLIP variant differs from the plain EVA-g only in its pooling.

About this model's family

EVA is a plain Vision Transformer pushed to one billion parameters, built to find out how far masked visual representation learning can go on public data alone. Architecturally there is little exotic about it: the shape follows ViT giant and the vision encoder of BEiT-3, and the authors use no relative positional embeddings or layer-scale during pre-training. What matters is the pretext task: EVA is pre-trained to reconstruct the masked-out image-text aligned vision features, conditioned on the visible image patches. Those targets come from the publicly available OpenAI CLIP-L/14 vision tower, and the loss is a negative cosine similarity after a linear projection to the CLIP feature dimension.

The paper's argument is that pixel-level recovery misses high-level semantics, while regressing CLIP features draws on both the semantic abstraction of image-text contrastive learning and the geometry captured by masked image modeling. The authors are careful to say the pretext task is not originally theirs; it had been studied in MVP and revisited by MILAN. Inputs are corrupted with [MASK] tokens under block-wise masking at a 40% ratio. Pre-training used 29.6 million publicly accessible unlabeled images.

For classification, which is what the captured members do, EVA gets intermediate fine-tuning on ImageNet-21K for 60 epochs and then 10 epochs on ImageNet-1K, with nothing more than a linear layer as the classifier. It reaches 89.6% top-1 on ImageNet-1K at 336 pixel inputs and 89.7% at 560, and the giant members here come in 224, 336 and 560 pixel versions. The same encoder also sets records on object detection, instance segmentation, semantic segmentation and video action recognition, and the paper finds that initializing a giant CLIP's vision tower from EVA stabilizes that training. In timm, the CLIP-flavoured giant differs from the plain one only in its pooling, and the two EVA-large members are described as reached via MAE-style masked image modeling pre-training.

Key idea. Showing that a vanilla ViT scales cleanly to one billion parameters when its masked image modeling target is CLIP's image-text aligned features rather than pixels, using only publicly accessible data. The result was a new state-of-the-art ImageNet-1K classifier with a canonical linear classifier head and no costly supervised training stage.

  • EVA
  • EVA-g
  • EVA ViT
  • masked image modeling
  • MIM
  • CLIP feature regression
  • vision foundation model
  • BAAI
  • image classification
  • ImageNet
  • eva_giant_patch14
  • eva_large_patch14
  • EVA-CLIP

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

Cite the paper

@misc{fang2022evaexploringlimitsmasked,
      title={EVA: Exploring the Limits of Masked Visual Representation Learning at Scale}, 
      author={Yuxin Fang and Wen Wang and Binhui Xie and Quan Sun and Ledell Wu and Xinggang Wang and Tiejun Huang and Xinlong Wang and Yue Cao},
      year={2022},
      eprint={2211.07636},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2211.07636}, 
}