atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Zero-TPrune: Zero-Shot Token Pruning through Leveraging of the Attention Graph in Pre-Trained Transformers

CVPR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Efficient ViT adaptation · 39 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.

Zero-TPrune prunes tokens in pre-trained vision Transformers without any fine-tuning, using a Weighted PageRank over the attention graph for importance and importance-guided similarity pruning.

Problem

Token pruning for Transformers usually needs expensive fine-tuning after pruning, which is impractical for edge deployment and for pruning large models under many configurations.

Approach

Treats the attention matrix as an adjacency matrix of a directed attention graph and ranks tokens with a Weighted PageRank (WPR) iteration, then combines this importance distribution with key-based cosine similarity pruning via importance-guided bipartite partitioning, with EIR head aggregation and variance-based head filtering.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace random token dropping with WPR importance scoring (ablation)DeiT-S with Zero-TPrune · ImageNetAcc@1: 76.8% (-3.0%) -> 78.6% (+1.8%)Helped
add EIR aggregation to WPR (ablation)DeiT-S with Zero-TPrune · ImageNetAcc@1: 78.6% (+1.8%) -> 78.8% (+0.2%)Helped
add VHF to WPR+EIR (ablation)DeiT-S with Zero-TPrune · ImageNetAcc@1: 78.8% (+0.2%) -> 78.9% (+0.1%)Helped
add similarity-based S-stage to the I-stage (ablation)DeiT-S with Zero-TPrune · ImageNetAcc@1: 78.9% (+0.1%) -> 79.4% (+0.5%)Helped
apply Zero-TPrune rather than ATSDeiT-S · ImageNet, 224pxAcc@top1: 79.2% (-0.6%) -> 79.4% (-0.4%)Helped
apply Zero-TPrune rather than ToMeDeiT-S · ImageNet, 224pxAcc@top1: 78.9% (-0.9%) -> 79.4% (-0.4%)Helped
apply Zero-TPrune rather than ATS or ToMeAugReg · ImageNetAcc@top1: 79.21% -> 80.22%; 79.30% -> 80.22%Helped
apply Zero-TPrune rather than ATS or ToMeLV-ViT-S · ImageNetAcc@top1: 80.4% -> 81.5%; 79.8% -> 81.5%Helped
apply Zero-TPrune rather than ATS or ToMeMAE · ImageNetAcc@top1: 82.07 -> 82.93; 82.69 -> 82.93Helped
apply Zero-TPrune rather than ATS or ToMeSWAG · ImageNet, 384pxAcc@top1: 84.21 -> 85.17; 85.09 -> 85.17Helped
use Zero-TPrune without fine-tuning after pruning instead of fine-tuned DynamicViT or A-ViTDeiT-S · ImageNetAcc@1: 0.1% accuracy loss relative to the bestNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet

Benchmarks: ImageNet ImageNet downstream transfer datasets

Metrics: Acc@1 GFLOPS throughput (img/s)

Baselines: DynamicViT A-ViT ATS ToMe

Builds on: PageRank ToMe ATS DynamicViT

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