IC-1498The benefit of frozen LLM transformer blocks for visual encoding is scale-dependent: OPT blocks below 1.3B parameters degrade ViT-s performance while blocks at 1.3B and above improve it

Ziqi Pang, Ziyang Xie, Yunze Man, Yu-Xiong Wang

SourceFrozen Transformers in Language Models Are Effective Visual Encoder Layers

The paper tests the last transformer block from OPT at five scales (125M, 350M, 1.3B, 2.7B, 6.7B) appended to ViT-s, trained for 100 epochs following DeiT. The two smallest OPT blocks (125M, 350M) actually reduce accuracy below the ViT-s baseline, while the three larger blocks (1.3B, 2.7B, 6.7B) all improve it. The authors note that the small OPT blocks even produce NaN loss values at the original DeiT learning rate, requiring a 5x reduction for stable training, further indicating that sufficient scale is a prerequisite for the phenomenon.

Evidence
correlational
Key metric
ViT-s baseline 75.25; +OPT-125M 71.63; +OPT-350M 71.56; +OPT-1.3B 75.62; +OPT-2.7B 75.74; +OPT-6.7B 76.29
Caveat
Experiments use 100-epoch training (ablation setting) rather than the full 300-epoch protocol; small OPT models required a 1/5 learning rate reduction to avoid NaN loss.
Model
OPT
Concepts
Scale-dependent behaviour
Datasets
ImageNet-1k / ImageNet / ImageNet-1k-val / ImageNet-Val [eval]
Methods
DeiT [supporting]
Related findings
IC-1496, IC-1497
Extraction
automatic-extraction