Turning Pre-Trained Vision Transformers into End-to-End Histopathology Whole Slide Image Models for Survival Prediction

Jia-Wen Li, Jia-Li Hu, Xi-Tong Ling, Renao Yan, Yuxuan Chen +2 more
1/1/2026
transformer-attention

No official code found. Best implementation: WonderLandxD/E2E-ViT (5 stars, Apache-2.0, last commit 2026-06-09).

Abstract

Conventional whole slide image (WSI) analysis pipelines follow a two-stage process. First, an image encoder, such as a vision transformer (ViT), is used to perform batched offline feature extraction on a series of tiles cropped from the WSI.

Show full abstract

Second, a multiple instance learning (MIL) model is trained with slide-level labels to obtain task-specific slide embeddings. However, several limitations exist: strong reliance on pre-trained weights of the tile encoder, the absence of receptive fields from the original image, and a lack of task-independent WSI representations. An ideal improvement would be to develop an end-to-end pre-trained WSI model, but training it from scratch will face challenges such as high training costs and computational complexity. In this work, we deconstruct the key steps of ViT-based pathology image representation and propose a conversion strategy called E2E-ViT, which transforms a vanilla ViT into an end-to-end pre-trained WSI model without introducing additional parameters. E2E-ViT directly inputs the entire tissue region in WSIs to efficiently feed image sequences into the transformer backbone, achieving information interaction from the original receptive fields and generating slide features. Through multiple survival prediction tasks, we demonstrate that transformed pre-trained ViTs outperform two-stage MIL models and slide foundation models (SFM). Our work presents a new end-to-end learning paradigm that provides a promising direction for the next generation of computational pathology models.

Semantic Scholar

Code Implementations(1)

Apache-2.0

[CVPR 2026] Turning Pre-Trained Vision Transformers into End-to-End Histopathology Whole Slide Image Models for Survival Prediction

50Mar 16, 20265 months agoApache-2.0

Similar Papers

Cite this paper

@article{li2026turning,
  title  = {Turning Pre-Trained Vision Transformers into End-to-End Histopathology Whole Slide Image Models for Survival Prediction},
  author = {Jia-Wen Li and Jia-Li Hu and Xi-Tong Ling and Renao Yan and Yuxuan Chen and Tian Guan and Yong-Hong He},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:bf7fb8e0561c87f313a78f2c5757ed371b9fbb85},
  journal = {Computer Vision and Pattern Recognition}
}

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/bf7fb8e0561c87f313a78f2c5757ed371b9fbb85.svg)](https://codeofpaper.com/paper/bf7fb8e0561c87f313a78f2c5757ed371b9fbb85)

Discussion