All models

eva_large_patch14_196

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

Image classification · 688 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
304.1M
Operations
688
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
m4810
Graph hash
e91e66d582cf1509aacd771c6a10a41ce6ff08b2c7b578afdae5ba2e39732785
Skeleton hash
8026ce5e26bf89ea585d0d275eb7e02a7f8738728c64d6df677255312063b3ca
Architecture hash
5d80ef6030ce4e602d8dd06df675b81e92f6adbfb695258bdde66ceeb575f56f
Diagram SHA-256
c1a35cdebfceadfec23589ebc715a522a72f3af7f6bfa1297679f921b3833135
TorchLens version
2.35.3
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_large_patch14_196', pretrained=False)

What it is

This is the EVA-large configuration, which timm documents as pre-trained via MAE-style masked image modeling.

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}, 
}