Subtoken Vision Transformer for Fine-grained Recognition

· Source: Computer Vision and Pattern Recognition · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Computer Vision · Depth: Expert, quick

Summary

Subtoken Vision Transformer (SubViT) is introduced as a selective image tokenization method designed for fine-grained visual recognition tasks. It addresses the limitation of standard Vision Transformers by representing discriminative image patches with multiple subtokens, while maintaining original tokens for global context, thereby allocating more processing capacity where needed. SubViT employs a two-stage training strategy: Stage 1 fine-tunes the ViT using subdivision regions from random attention heads, and Stage 2 distills informative attention maps into a lightweight single-map router. Evaluated on Generalized Category Discovery (GCD), SubViT improved DINOv2's novel-category accuracy from 81.3% to 84.7% across CUB, FGVC-Aircraft, and Stanford Cars, with only 0.50 ms additional latency and 3.4% more FLOPs, and reduced latency by 73.8% relative to Retina Patch. Its applicability extends to CIFAR-10 and ImageNet-100.

Key takeaway

For Computer Vision Engineers developing models for fine-grained recognition or Generalized Category Discovery, SubViT offers a compelling approach. You should consider integrating its selective tokenization and two-stage training strategy to significantly boost novel-category accuracy. This method provides substantial performance gains with minimal latency overhead, making it a practical enhancement for existing Vision Transformer architectures on challenging visual tasks.

Key insights

SubViT enhances fine-grained recognition by selectively tokenizing discriminative image patches with multiple subtokens.

Principles

Method

SubViT uses a two-stage training: Stage 1 fine-tunes ViT with random attention head subdivisions; Stage 2 distills informative attention maps into a single-map router for deterministic token-importance scores.

In practice

Topics

Best for: Research Scientist, AI Scientist, Computer Vision Engineer, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.