Pathryoshka: Compressing Pathology Foundation Models via Multi-Teacher Knowledge Distillation with Nested Embeddings

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Grashei, Christian, Brechenmacher, Christian, Umer, Rao Muhammad, Liu, Jingsong, Marr, Carsten, Szczurek, Ewa, Schüffler, Peter J.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917111673126912
author Grashei, Christian
Brechenmacher, Christian
Umer, Rao Muhammad
Liu, Jingsong
Marr, Carsten
Szczurek, Ewa
Schüffler, Peter J.
author_facet Grashei, Christian
Brechenmacher, Christian
Umer, Rao Muhammad
Liu, Jingsong
Marr, Carsten
Szczurek, Ewa
Schüffler, Peter J.
contents Pathology foundation models (FMs) have driven significant progress in computational pathology. However, these high-performing models can easily exceed a billion parameters and produce high-dimensional embeddings, thus limiting their applicability for research or clinical use when computing resources are tight. Here, we introduce Pathryoshka, a multi-teacher distillation framework inspired by RADIO distillation and Matryoshka Representation Learning to reduce pathology FM sizes while allowing for adaptable embedding dimensions. We evaluate our framework with a distilled model on ten public pathology benchmarks with varying downstream tasks. Compared to its much larger teachers, Pathryoshka reduces the model size by 86-92% at on-par performance. It outperforms state-of-the-art single-teacher distillation models of comparable size by a median margin of 7.0 in accuracy. By enabling efficient local deployment without sacrificing accuracy or representational richness, Pathryoshka democratizes access to state-of-the-art pathology FMs for the broader research and clinical community.
format Preprint
id arxiv_https___arxiv_org_abs_2511_23204
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Pathryoshka: Compressing Pathology Foundation Models via Multi-Teacher Knowledge Distillation with Nested Embeddings
Grashei, Christian
Brechenmacher, Christian
Umer, Rao Muhammad
Liu, Jingsong
Marr, Carsten
Szczurek, Ewa
Schüffler, Peter J.
Computer Vision and Pattern Recognition
Pathology foundation models (FMs) have driven significant progress in computational pathology. However, these high-performing models can easily exceed a billion parameters and produce high-dimensional embeddings, thus limiting their applicability for research or clinical use when computing resources are tight. Here, we introduce Pathryoshka, a multi-teacher distillation framework inspired by RADIO distillation and Matryoshka Representation Learning to reduce pathology FM sizes while allowing for adaptable embedding dimensions. We evaluate our framework with a distilled model on ten public pathology benchmarks with varying downstream tasks. Compared to its much larger teachers, Pathryoshka reduces the model size by 86-92% at on-par performance. It outperforms state-of-the-art single-teacher distillation models of comparable size by a median margin of 7.0 in accuracy. By enabling efficient local deployment without sacrificing accuracy or representational richness, Pathryoshka democratizes access to state-of-the-art pathology FMs for the broader research and clinical community.
title Pathryoshka: Compressing Pathology Foundation Models via Multi-Teacher Knowledge Distillation with Nested Embeddings
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2511.23204