Learning Where to Focus: Self-Supervised Multi-Scale ViTs for Histopathology

Anabel Stammer, Valay Bundele, Mehran Hosseinzadeh, Hendrik P. A. Lensch
9/16/2026
cs.CV
transformer-attentioncontrastive-ssl

No confident code implementation found for this paper.

Abstract

Pathologists diagnose diseases by first locating suspicious tissue and then examining it at higher magnification, whereas self-supervised vision transformers (ViTs) allocate the same spatial resolution to every image region despite diagnostic evidence being sparse and spanning multiple biological scales. Recent pathology foundation models have substantially improved representation quality by scaling training data and model capacity, but largely retain uniform tokenization.

Show full abstract

We instead investigate whether pathology representations can be improved by learning where to allocate spatial resolution during self-supervised learning. To this end, we propose CRAFT (Coarse-to-fine Region-Adaptive Feature Tokenization), a DINO-based framework that learns image-dependent mixed-scale representations by using self-supervised attention to selectively refine informative regions while preserving coarse context, together with a symmetric cross-scale regularization objective that encourages complementary coarse and fine representations. Across CAMELYON16, TCGA-Lung subtype classification, and TCGA-LUAD survival prediction, CRAFT consistently outperforms comparable-scale self-supervised methods while requiring lower inference computation. Despite using only a compact 22M parameter backbone trained on comparatively small pathology datasets, CRAFT remains competitive with, and often surpasses, substantially larger pathology foundation models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{stammer2026learning,
  title  = {Learning Where to Focus: Self-Supervised Multi-Scale ViTs for Histopathology},
  author = {Anabel Stammer and Valay Bundele and Mehran Hosseinzadeh and Hendrik P. A. Lensch},
  year   = {2026},
  eprint = {2609.18578},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.18578v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.18578.svg)](https://codeofpaper.com/paper/2609.18578)

Discussion