Vision Transformer › Scaling Properties
Language AI HandbookAll chapters Vision Transformer › Scaling PropertiesOne section · Sections in this chapter8 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
ViT exhibits fundamentally different scaling characteristics compared to CNNs. While ResNet performance improves predictably but with diminishing returns as model size increases, ViT demonstrates steeper scaling curves when data is sufficient. With large datasets, larger ViT models continue to improve significantly, while CNN performance plateaus at a lower ceiling. This aligns with the scaling laws we explored in Part XXIII: Scaling Laws: transformer-based models follow power-law improvement with scale when data is abundant.
The original ViT paper introduced a family of standardized model sizes using naming conventions borrowed from BERT:
- ViT-Tiny: embed_dim=192, depth=12, num_heads=3 (~5.7M parameters)
- ViT-Small: embed_dim=384, depth=12, num_heads=6 (~22M parameters)
- ViT-Base (ViT-B/16): embed_dim=768, depth=12, num_heads=12 (~86M parameters)
- ViT-Large (ViT-L/16): embed_dim=1024, depth=24, num_heads=16 (~307M parameters)
- ViT-Huge (ViT-H/14): embed_dim=1280, depth=32, num_heads=16, patch_size=14 (~632M parameters)
The notation ViT-B/16 means Base model with patches; ViT-H/14 uses patches instead. Moving to smaller patches for the Huge model increases the sequence length and allows the model's greater capacity to capture finer spatial detail.

The crossover point in the scaling curve reflects the core trade-off: CNNs start with strong inductive priors that provide a head start in the low-data regime, but these same priors impose a ceiling on what the model can learn. ViT starts with no visual priors, requiring more data to learn the basics, but its more flexible representational capacity allows it to keep improving at larger scales.