atlas

Research map / Architectures and efficiency / Attention and transformers

Slicing Vision Transformer for Flexible Inference

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Hybrid and interpretable ViT designs · 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.

Scala slices a ViT into many width-scaled sub-networks trained in one shot, using Isolated Activation and Scale Coordination, so a single model matches separately trained DeiT variants.

Problem

Scaling down a ViT to flexible widths under dynamic resource constraints; uniform width slicing (US-Net style) works poorly on ViTs, falling well short of separate training.

Approach

Smaller ViTs are nested sub-networks of a larger ViT by embedding width. Scala always activates the smallest subnet via reverse-direction slicing (Isolated Activation), and coordinates training with progressive KD from intermediate subnets as teacher assistants, stable sampling of widths, and CE+KL noise calibration.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use one-shot Scala training rather than Separate TrainingDeiT-S · ImageNet-1K, r=0.25Top-1 accuracy: 45.8\% -> 58.7\%Helped
Use one-shot Scala training rather than Separate TrainingDeiT-S · ImageNet-1K, r=0.50Top-1 accuracy: 65.1\% -> 68.3\%Helped
Use one-shot Scala training rather than Separate TrainingDeiT-B · ImageNet-1K, r=0.50Top-1 accuracy: 79.9\% -> 79.3\%Hurt
Add Isolated Activation for the smallest subnet (ablation)Scala · ImageNet-1K, all width ratiosTop-1 accuracyHelped
Add Progressive Knowledge Transfer instead of distilling from the full network through the classification token (ablation)Scala · ImageNet-1K, especially small width ratiosTop-1 accuracyHelped
Add Stable Sampling instead of sampling intermediate width ratios uniformly across (s, l) (ablation)Scala · ImageNet-1KTop-1 accuracyHelped
Add Noise Calibration to combine cross-entropy with teacher-guidance loss (ablation)Scala · ImageNet-1K, small width ratiosTop-1 accuracyHelped
Train from scratch rather than fine-tune the pretrained DeiT-S (ablation)Scala · ImageNet-1K, r=0.25Top-1 accuracy: 23.4 -> 58.7Helped
Train from scratch rather than fine-tune the pretrained DeiT-S (ablation)Scala · ImageNet-1K, r=0.50Top-1 accuracy: 52.3 -> 68.3Helped
Replace Isolated Activation with activation choice (b) (ablation)Scala · ImageNet-1K, r=0.50Top-1 accuracy: 68.3 -> 64.9Hurt
Replace Isolated Activation with activation choice (c) (ablation)Scala · ImageNet-1K, r=1.00Top-1 accuracy: 76.1 -> 74.8Hurt
Evaluate the ViT at an unseen width ratio (ablation)Scala · ImageNet-1K, width ratio 0.40625Top-1 accuracy: 68.3 -> 1.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K ADE20K UCF101

Benchmarks: ImageNet-1K ADE20K UCF101 12 fine-grained classification datasets

Metrics: Top-1 accuracy GFLOPs mIoU

Baselines: AutoFormer US-Net Separate Training SN-Net MatFormer US-Net+KD ST+KD

Builds on: US-Net sandwich rule DeiT Slimmable Networks

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