atlas

Research map / Architectures and efficiency / Attention and transformers

RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layers

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient and robust vision transformers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RePaViT, which keeps most FFN channels idle (bypassing GELU) so the two FFN projections can be structurally reparameterized into smaller linear layers at inference, yielding large speedups on ViTs with accuracy gains on large models.

Problem

ViT inference latency is dominated increasingly by FFN layers as model size grows, and existing efficient-ViT methods (token pruning/merging, hybrids, pruning) do not reparameterize FFN layers, so FFN latency remains a bottleneck for large ViTs.

Approach

A channel idle mechanism keeps a large fraction of FFN hidden channels bypassing the nonlinearity during training; BatchNorm replaces LayerNorm so normalizations and the linear shortcut can be folded into weights post-training, turning the two FFN projections plus shortcut into three smaller linear transforms at test time.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply channel idle mechanism and reparameterize FFN layersViT-Large · ImageNet-1kTop-1 accuracy: 80.3% -> 82.0%Helped
Apply channel idle mechanism and reparameterize FFN layersViT-Huge · ImageNet-1kTop-1 accuracy: 80.3% -> 81.4%Helped
Apply channel idle mechanism with idle ratio 0.50DeiT-Tiny · ImageNet-1kTop-1 accuracy: 72.1% -> 69.4%Hurt
Apply channel idle mechanism and reparameterize FFN layersDeiT-Base · ImageNet-1kTop-1 accuracy: 81.8% -> 81.3%Hurt
Set channel idle ratio to 0.25 (ablation)DeiT-Small · ImageNet-1kTop-1 accuracy: 79.8% -> 80.3%Helped
Set channel idle ratio to 1.00 (ablation)DeiT-Base · ImageNet-1kTop-1 accuracy: 81.8% -> 73.7%Hurt
Set channel idle ratio to 1.00 (ablation)Swin-Base · ImageNet-1kTop-1 accuracy: 83.5% -> 75.5%Hurt
Train with reparameterized structure and BatchNorm reparameterization (ablation)RePa-DeiT-Tiny/0.75 · ImageNet-1kTop-1 accuracy: 64.2% -> 59.6%Hurt
Train with reparameterized structure without BatchNorm reparameterization (ablation)RePa-DeiT-Tiny/0.75 · ImageNet-1kTop-1 accuracy: 64.2% -> 64.3%No clear effect
Train with full parameters and reparameterize only at test time (ablation)RePa-DeiT-Small/0.75 · ImageNet-1kTop-1 accuracy: 75.0% -> 77.0%Helped
Apply channel idle mechanism with idle ratio 0.50CLIP-ViT-B/16 · ImageNet-1k zero-shot validationTop-1 accuracy: 62.7% -> 63.5%Helped
Apply channel idle mechanism with idle ratio 0.75 (ablation)CLIP-ViT-B/16 · ImageNet-1k zero-shot validationTop-1 accuracy: 62.7% -> 61.0%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k MSCOCO ADE20K LAION-400M

Benchmarks: ImageNet-1k MSCOCO ADE20K

Metrics: top-1 accuracy throughput (images/second) GMACs parameters AP mIoU latency

Baselines: DeiT Swin Transformer LV-ViT WDPruning X-Pruner DC-ViT LPViT SLAB

Builds on: RepVGG SLAB ShuffleNetv2 DeiT Swin Transformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy