atlas

Research map / Architectures and efficiency / Attention and transformers

Once for Both: Single Stage of Importance and Sparsity Search for Vision Transformer Compression

CVPR 2024 · Architectures and efficiency › Attention and transformers · approach: Vision transformer pruning · 8 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 OFB, a single-stage vision transformer compression method that jointly learns importance and sparsity scores via a bi-mask weight-sharing scheme, an adaptive one-hot loss, and progressive masked image modeling.

Problem

Vision Transformer compression (TAS and TP) typically uses a two-stage importance-then-sparsity search, causing a gap between score distributions and high search costs.

Approach

Entangles importance scores (learned soft masks with l1 regularization) and differentiable sparsity scores (DARTS-style softmax over step-wise architecture parameters) into a single bi-mask that is optimized jointly, with an adaptive one-hot regularizer (entropy and variance alignment) that converts continuous scores to binary pruning decisions, plus a progressive MIM regularizer during search.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use bi-mask weight sharing instead of ordinal sharing (ablation)OFB on DeiT-S · ImageNet-1K, 1B FLOPs search ablationTop-1 accuracy: 75.8 -> 76.1Helped
add progressive masked image modeling to bi-mask (ablation)OFB on DeiT-S · ImageNet-1K, search without retrainingTop-1 accuracy: 69.2 -> 72.8Helped
use progressive masking instead of constant masking (ablation)OFB on DeiT-S · ImageNet-1K, 1B FLOPsTop-1 accuracy: 75.8 -> 76.1Helped
remove masked image modeling (ablation)OFB on DeiT-S · ImageNet-1K, 1B FLOPsTop-1 accuracy: 76.1 -> 75.4Hurt
use variance regularization Ψ(α) only instead of the full regularization (ablation)OFB on DeiT-S · ImageNet-1K, regularization ablationTop-1 accuracy: 76.1 -> 74.1Hurt
use L1 regularization only instead of the full regularization (ablation)OFB on DeiT-S · ImageNet-1K, regularization ablationTop-1 accuracy: 76.1 -> 74.8Hurt
combine entropy and variance regularization without L1 (ablation)OFB on DeiT-S · ImageNet-1K, regularization ablationTop-1 accuracy: 76.1 -> 74.3Hurt
combine entropy and L1 regularization without variance regularization (ablation)OFB on DeiT-S · ImageNet-1K, regularization ablationTop-1 accuracy: 76.1 -> 76.3Helped
combine variance and L1 regularization without entropy regularization (ablation)OFB on DeiT-S · ImageNet-1K, regularization ablationTop-1 accuracy: 76.1 -> 75.6Hurt
remove variance regularization from the full regularization (ablation)OFB on DeiT-S · ImageNet-1K, regularization ablationTop-1 accuracy: 76.1 -> 76.3Helped
compress DeiT-S using OFB instead of the strongest listed comparator at 0.9B FLOPsOFB on DeiT-S · ImageNet-1K, 0.9B FLOPsTop-1 accuracy: 75.3 -> 75.0Hurt
compress DeiT-S using OFB instead of ViT-Slim at 1.7B FLOPsOFB on DeiT-S · ImageNet-1K, 1.7B FLOPsTop-1 accuracy: 77.9 -> 78.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K CIFAR-10 CIFAR-100 Cityscapes

Benchmarks: ImageNet-1K CIFAR-10 CIFAR-100 Cityscapes

Metrics: Top-1 accuracy Top-5 accuracy FLOPs parameters GPU search days throughput latency mIoU

Baselines: AutoFormer ViTAS TF-TAS ViT-Slim S2ViTE WDPruning SSP DynamicViT VTP GLiT

Builds on: DARTS ViT-Slim SimMIM SPOS AutoFormer

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