Unsupervised Foundation Model-Agnostic Slide-Level Representation Learning

Tim Lenz, P. Neidlinger, Marta Ligero, Georg Wölflein, M. Treeck +1 more
2/9/2026

No official code found. Best implementation: KatherLab/COBRA (22 stars, GPL-3.0, last commit 2025-10-01).

Abstract

Representation learning of pathology whole-slide images (WSIs) has primarily relied on weak supervision with Multiple Instance Learning (MIL). This approach leads to slide representations highly tailored to a specific clinical task. Self-Supervised learning (SSL) has been successfully applied to train histopathology foundation models (FMs) for patch embedding generation. However, generating patient or slide level embeddings remains challenging. Existing approaches for slide representation learning extend the principles of SSL from patch level learning to entire slides by aligning different augmentations of the slide or by utilizing multimodal data. By integrating tile embeddings from multiple FMs, we propose a new single modality SSL method in feature space that generates useful slide representations. Our contrastive pretraining strategy, called COBRA, employs multiple FMs and an architecture based on Mamba2. COBRA exceeds performance of state-of-the-art slide encoders on four different public Clinical Protemic Tumor Analysis Consortium (CPTAC) cohorts on average by at least +4.4% AUC, despite only being pretrained on 3048 WSIs from The Cancer Genome Atlas (TCGA). Additionally, COBRA is readily compatible at inference time with previously unseen feature extractors. Code available at https://github.com/KatherLab/COBRA.

View on arXivView PDF

Code Implementations(1)

KatherLab/COBRACommunity100%
GPL-3.0

COntrastive Biomarker Representation Alignment (COBRA) [CVPR25]

222PythonDec 13, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{lenz2026unsupervised,
  title  = {Unsupervised Foundation Model-Agnostic Slide-Level Representation Learning},
  author = {Tim Lenz and P. Neidlinger and Marta Ligero and Georg Wölflein and M. Treeck and J. Kather},
  year   = {2026},
  eprint = {2411.13623},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.13623},
  journal = {CVPR 2024 2024}
}

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

Discussion