MedTokenBudget: Lesion-Preserving Token Routing for Dermoscopic Image Classification
Abstract
Dermoscopy classifiers built on Vision Transformers process all image patches uniformly, although diagnostic evidence is concentrated in the lesion region. Existing token pruning methods reduce tokens using generic saliency or similarity signals, but rarely ask whether the retained subset still contains the lesion. This paper introduces MedTokenBudget, a supervised post-backbone token routing framework that learns to construct compact lesion-enriched representations when auxiliary lesion masks are available. Its Lesion-Aware Token Scoring (LATS) module fuses attention entropy, feature norm, and local feature contrast through a learned scorer, then routes the top- patches under a target budget. LATS is trained with budget curriculum learning, diversity regularization, attention distillation, and lesion-mask supervision. The trained router is evaluated with a lesion retention rate that directly measures how much ground-truth lesion evidence survives the token budget. On ISIC 2019, mask-supervised LATS consistently outperforms Random and ToMe at headline budgets while retaining substantially more lesion patches. Code is provided for reproducibility, and complete tabulated results are included in the supplementary material.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Comments
- 12 pages, 3 figures. Includes supplementary material
Related papers
Token Clustering and Semantic Sequence Mamba for Hyperspectral Image Classification
Shared title terminologycs.CVYimin Zhu, Mahmood Elahi, Lincoln Linlin Xu
Benefit of Structured Representations: When Equivariance Helps in Image Classification
Shared title terminologycs.CVFlorian A. Hölzl, Daniel Rueckert, Georgios Kaissis
Preserve-and-Compose Training for Composed Image Retrieval
Shared title terminologycs.CVSehyun Kwon
Exploiting Spatial Structure for Transductive Few-Shot Classification of Whole-Slide Images
Shared title terminologycs.CVTiffanie Godelaine, Manon Dausort, Karim El Khoury et al.
UNMATCH: Selective Unbalanced Token-Patch Matching for Forensic Image-Claim Verification
Shared title terminologycs.CVXinjin Li, Lian Lian, Yuanzhe Yang et al.
Multimodal Routing and Region Refinement for Language-Guided Medical Image Segmentation
Shared title terminologycs.CVMd Maklachur Rahman, Md Hasan Al Banna, Saraf Anjum et al.