Skip to content

Equal Importance, Not Equal Area: Quantile Tokenization for Vision Backbones

Shicheng Yin, Kaixuan Yin, Weixing Chen, Yongsen Zheng, Yang Liu

cs.CV

Abstract

Standard vision tokenizers partition an image into patches of equal area, spending as much budget on background as on detail. EquiTok replaces equal area with equal importance: a lightweight scorer on frozen ImageNet-pretrained MobileNetV3 features predicts an importance map, and inverting its piecewise-linear CDF at uniform quantiles yields exactly N equal-importance tokens with closed-form gradients and the standard grid as the uniform case, leaving the backbone unchanged with positional encodings sampled at token centers. EquiTok-Grid applies this quantile layer to axis marginals, whereas EquiTok-Flow cuts adaptive rows and applies it globally across resampled, concatenated rows. At 196 tokens, EquiTok improves all five tested self-attention and state-space backbones by +0.8 to +1.6 Top-1 without changing their architecture or recipe. DeiT regions are read from a 448 × 448 source, yet controls gain +1.0 on the baseline's 224 × 224 source pixels and +0.6 at matched parameters, while a 448 × 448 source under uniform allocation gives no gain. Under matched long-sequence fine-tuning against the 576-token DeiT-S grid, EquiTok comes within 0.1 percentage points with 288 tokens at 46% of its FLOPs and exceeds it with 392 at 65%, running at 1.94 × and 1.38 × its measured throughput. Applied to video as is, the image-trained scorer also improves SSv2 classification with half the tokens.

Create a lesson

Metadata

Categories
cs.CV, cs.AI