
eva_large_patch14_196
Image classification688 ops304.1M params
A billion-parameter plain ViT pre-trained to reconstruct masked CLIP features from public images.
Image classification · 1,094 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
timm.create_model('eva_giant_patch14_clip_224', pretrained=False) 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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}