reViT: One Transformer Block for Multiple Processing Depths

Paper / preprint arXiv cs.LG · Reported findings, not independently verified by us.

A single Transformer block applied recurrently can, according to a new paper, match the accuracy of a full-depth vision encoder at comparable inference FLOPs. The proposed method, reViT, is reported to do so without intermediate feature distillation and with substantially fewer stored parameters.

To support different processing depths, reViT represents feedforward networks (FFNs) as weighted combinations drawn from a small shared bank of experts. A normalized depth coordinate controls the mixture, defining a resampleable trajectory through FFN parameter space. In controlled comparisons, this weight-space merging performed better than the tested token-dispatch and output-mixture alternatives at the same one-FFN budget.

The experiments cover supervised ImageNet-1k training and distillation from DINOv2. The authors report that reViT-B/16, trained from scratch, reached DeiT III accuracy with about 70 percent fewer stored parameters. An eight-expert model distilled using only the teacher’s output features retained nearly all of its linear-probe accuracy and transferred to classification, segmentation, and depth prediction.

Elastic-depth training lets one checkpoint operate at multiple tested depths. For fixed-depth deployment, the block can be materialized as a conventional dense computation graph: online routing and merging are removed, while storage requirements increase. The original paper provides further details on the method and experiments: arXiv original source.

🇬🇧 https://arxiv.org/abs/2610.12448v1

Leave a Comment

The weekly brief: selected developments, projects and videos