All models

TITAN-Pathology

A Vision Transformer slide encoder that turns a grid of pathology patch features into one whole-slide embedding.

Medical imaging · 298 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 (16 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
48.5M
Operations
298
Framework
PyTorch
Recurrent
No
Published
Nature Medicine 2025
Cited by
27 (as of 30 October 2026)
Authors
Tong Ding, Sophia J. Wagner, Andrew H. Song and others
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
m20806
Graph hash
d717d009d7a14188c612ea846f8bfeb785a714372d392bc748b11452bf9c59c1
Skeleton hash
c988559b213d709bb6951dba2654ab9f511ddd5d1fd1553b524384f1c762d58b
Architecture hash
9189ee10f7e6bb40223ec25688c42aa9d2d65b86b966178a328b250c21dfcb97
Diagram SHA-256
e339f10bf39fefe71cf8083c4e9817a8a29dda630d632fe3a31093ce92d773ad
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

TITAN is a multimodal whole-slide foundation model for pathology that uses a Vision Transformer to turn an entire digitized tissue slide (a whole-slide image, or WSI) into one slide embedding. Those embeddings can feed slide-level classification by linear probing and retrieval by distance, without task-specific finetuning.

Rather than reading pixels, the slide encoder takes a sequence of patch features produced by a separate histology patch encoder. Each slide is divided into 512×512-pixel patches at 20× magnification, and each patch becomes a 768-dimensional CONCHv1.5 feature. These features are laid out on a 2D feature grid that mirrors where the patches sit in the tissue. To carry training on small crops over to whole slides, the authors extended attention with linear bias (ALiBi) to 2D, with the bias set by the Euclidean distance between features on the grid.

Pretraining runs in three stages: vision-only pretraining on region crops from Mass-340K, alignment of regions with generated morphological descriptions, and alignment of whole slides with clinical reports. The paper calls the vision-only model TITANV and the model after all three stages TITAN. The Hub card describes the released weights as a preview. In the paper's evaluations, TITAN outperforms both ROI and slide foundation models in linear probing, few-shot and zero-shot classification, rare cancer retrieval, cross-modal retrieval and pathology report generation.

Key idea. The paper built TITAN, a multimodal whole slide foundation model pretrained on 335,645 WSIs with visual self-supervised learning and vision-language alignment.

  • TITAN
  • TITAN-Pathology
  • TITAN-preview
  • whole slide foundation model
  • computational pathology
  • histopathology
  • slide embedding
  • whole slide image
  • pathology report generation

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

Cite the paper

@misc{ding2024multimodalslidefoundationmodel,
      title={Multimodal Whole Slide Foundation Model for Pathology}, 
      author={Tong Ding and Sophia J. Wagner and Andrew H. Song and Richard J. Chen and Ming Y. Lu and Andrew Zhang and Anurag J. Vaidya and Guillaume Jaume and Muhammad Shaban and Ahrong Kim and Drew F. K. Williamson and Bowen Chen and Cristina Almagro-Perez and Paul Doucet and Sharifa Sahai and Chengkuan Chen and Daisuke Komura and Akihiro Kawabe and Shumpei Ishikawa and Georg Gerber and Tingying Peng and Long Phi Le and Faisal Mahmood},
      year={2024},
      eprint={2411.19666},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2411.19666}, 
}