All models

Kaiko

DINO-trained ViT-S/16 pathology foundation model from kaiko.ai, pre-trained on TCGA whole slide images.

Medical imaging · 351 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (19 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
21.7M
Operations
351
Framework
PyTorch
Recurrent
No
Published
2024
Cited by
68 (as of 18 November 2026)
Authors
kaiko.ai
License
LicenseRef-Kaiko-Non-Commercial
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17670
Graph hash
f170d99692f3d297639d98345ea00ac9f0f6392d3f96b1d19cc9a3c8d2f55044
Skeleton hash
a6401d15f93e190a81afbce0b4e28d148f9427c168e16db1da0ddfb5d8dde0bc
Architecture hash
6352614b5596abb805a67a08d67fbb9170a175110382176903c80c10218b90e7
Diagram SHA-256
3ff90adade96a4483791e46df8ac8311650392d176f8fc61a305dfb487ab5f6d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is the ViT-S/16 model among the pathology foundation models (FMs) released by kaiko.ai, trained on open-access TCGA whole slide images. Loaded through PyTorch Hub under the name vits16, it turns an image patch into a 384-dimensional feature embedding. The accompanying paper presents a scalable training pipeline for large pathology imaging data and an analysis of hyperparameter choices and training techniques.

The models were trained with the DINO and DINOv2 self-supervised algorithms on the whole set of 29k open-access TCGA slides, both Flash-Frozen and FFPE. Instead of cutting a fixed patch dataset before training, the pipeline uses Online Patching, which extracts patches of arbitrary size and resolution from the slides as training runs. The recipes mainly follow the original ones, but start from models pre-trained on ImageNet and train on patches taken at different magnification levels.

For ViT-S/16 the repository lists linear-probing balanced accuracy of 0.797 on BACH, 0.943 on CRC, 0.828 on MHIST and 0.893 on the PCam test set. The paper observes that reducing the patch size of the vision transformer considerably improves performance. It also reports that the ViT-S16 model achieves higher accuracy on BACH, CRC and MHIST than the larger Phikon model, a ViT-B16 trained with iBOT.

Key idea. The paper presents a scalable pipeline for training pathology foundation models on TCGA whole slide images and releases the resulting vision transformers.

  • Kaiko
  • kaiko.ai
  • pathology foundation model
  • ViT-S/16
  • vits16
  • TCGA
  • histopathology
  • computational pathology
  • whole slide images
  • towards_large_pathology_fms

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{ai2024largescaletrainingpathologyfoundation,
      title={Towards Large-Scale Training of Pathology Foundation Models}, 
      author={kaiko. ai and Nanne Aben and Edwin D. de Jong and Ioannis Gatopoulos and Nicolas Känzig and Mikhail Karasikov and Axel Lagré and Roman Moser and Joost van Doorn and Fei Tang},
      year={2024},
      eprint={2404.15217},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2404.15217}, 
}