All families

TinyViT

5 models, image classification. Fewest parameters first.

TinyViT is a family of small image classifiers built on vision transformers and pretrained on large-scale datasets with a fast distillation framework. The paper's motivation is that most vision transformer models have so many parameters that they are hard to use on devices with limited resources. Its central idea is to transfer knowledge from large pretrained models to small ones during pretraining, so the small models also benefit from massive pretraining data. To keep that affordable, the teacher's outputs (logits) are sparsified and stored on disk in advance, so the teacher does not run while the student trains.

Read more

The network has four stages with a gradual reduction in resolution, similar to Swin and LeViT. Stage 1 and the downsampling blocks use MBConv convolution blocks, on the reasoning that convolutions in early layers learn low-level representation efficiently. The last three stages are transformer blocks that use window attention to reduce computational cost.

The paper reports 84.8% top-1 accuracy on ImageNet-1k for the 21M-parameter TinyViT after distilled pretraining on ImageNet-21k. On COCO object detection it reports an AP of 50.2 for TinyViT-21M, 2.1 points above Swin-T.

AI-written summary; not reviewed by a person. Corrections welcome.

Paper: TinyViT: Fast Pretraining Distillation for Small Vision Transformers

Filter and sort these in the model list