atlas

Research map / Architectures and efficiency / Attention and transformers

ImagePiece: Content-aware Re-tokenization for Efficient Image Recognition

AAAI 2025 · 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.

Proposes ImagePiece, a MaxMatch-inspired re-tokenization that merges semantically weak but locally coherent ViT patch tokens (with a convolutional local coherence bias) before token pruning, speeding up DeiT-S by 54% while improving ImageNet accuracy.

Problem

ViT tokens from non-overlapping grid patches often lack semantics, so existing token pruning and merging methods discard or dilute important information, hurting accuracy under token reduction.

Approach

Apply a WordPiece-style MaxMatch re-tokenization inside ViT blocks: bottom-k attentive tokens are merged with similar tokens via bipartite soft matching, re-scored by class attention, and kept or discarded accordingly; an overlapping-convolution local coherence bias stem makes nearby patches more similar.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Retokenize non-semantic tokens before pruningDeiT-S · ImageNet-1ktop-1 accuracy (%): 79.83 -> 80.22Helped
Retokenize non-semantic tokens before pruningDeiT-S · ImageNet-1kthroughput (img/s): 2531.1 -> 3891.9Helped
Retokenize non-semantic tokens before pruningDeiT-Ti · ImageNet-1ktop-1 accuracy (%): 72.13 -> 72.61Helped
Retokenize non-semantic tokens before pruningDeiT-S · ImageNet-1ktop-1 accuracy (%): 79.36 -> 80.22Helped
Retokenize non-semantic tokens, then pruneDeiT-S · ImageNet-1ktop-1 accuracy (%): 79.67 -> 80.22Helped
Add the local coherence bias module (ablation)ImagePiece on DeiT-S · ImageNet-1ktop-1 accuracy (%): 79.81% -> 80.22%Helped
Integrate ImagePiece as the tokenizerDynamicViT · ImageNet-1ktop-1 accuracy (%): 79.32 -> 80.11Helped
Integrate ImagePiece as the tokenizerToMe · ImageNet-1ktop-1 accuracy (%): 79.36 -> 80.08Helped
Integrate ImagePiece as the tokenizerEViT · ImageNet-1ktop-1 accuracy (%): 79.37 -> 80.22Helped
Retokenize non-semantic tokensDeiT-S · ImageNet-1k, 7 random masksaccuracy (%): 79.63 vs 78.21Helped
Retokenize non-semantic tokensDeiT-S · ImageNet-1k, 50 random masksaccuracy (%): 71.42 vs 65.41Helped
Reduce tokens to 26 output tokensImagePiece · ImageNet-1k hyper-speed inferenceaccuracy (%): 79.38No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k

Benchmarks: ImageNet-1k

Metrics: top-1 accuracy throughput (img/s)

Baselines: DynamicViT SPViT EViT ToMe Token Pooling Token Learner

Builds on: DeiT ToMe EViT DynamicViT WordPiece

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