Skip to content
Table of contents5 sections · tap to jump
  1. Pathology is a compute problem before it is a modelling problem
  2. What the distillation actually bought, and what it cost
  3. The second model went the other way
  4. The throughput table is an estimate and says so
  5. What it is not

Newsscience4 min read

Microsoft distilled a billion-parameter pathology model into 22M parameters

Ahmad JSep 2, 2026Updated Sep 15, 2026

A magnifying lamp with illuminated lens positioned over a green circuit board on a wooden workbench surrounded by electronics tools and equipment
Signalsolid1 independent source

Microsoft Research has released two pathology foundation models under the Apache 2.0 licence, with weights and code on Hugging Face. The number worth stopping on is the size.

GigaPath-FlashThe size
Tile encoder22 million parameters, distilled from a billion-parameter teacher
Slide encoder21 million parameters

That is the distillation claim stated in a field where compute is not a convenience. It decides which questions get asked at all.

Pathology is a compute problem before it is a modelling problem#

A whole-slide image often exceeds a gigapixel, and running a foundation model across one slide means processing thousands of tiles. Hospitals produce millions of slides a year.

Microsoft's description of the bottleneck is the useful part, because it is not the one people usually give.

Population-scale discovery, it says, "is not a single model run": it is repeated cycles of feature extraction, statistical analysis, hypothesis testing and validation across patient subgroups, biomarkers and clinical endpoints.

So the cost does not scale with the number of slides. It scales with the number of slides multiplied by the number of questions you want to ask of them, and the second factor is the one a researcher gives up first. That is the same economics as which questions researchers can afford to ask, arriving here as a concrete instance rather than an argument.

What the distillation actually bought, and what it cost#

On slide-level classificationWhat Microsoft reports
Measured onPANDA prostate grading and EBRAINS brain tumour subtyping
ScoreWithin 3 percent of the original GigaPath
ComputeRoughly 50 times less
Inference costThe lowest among whole-slide pretrained models

Read that as a trade rather than a free win, because it is one. Three percent of predictive performance went away. What came back was a model an order of magnitude smaller than its teacher, and the compute figure is not a rounding difference: 50 times is the gap between an experiment you run once and an experiment you run across a cohort, repeatedly, while changing your mind about the question.

The slide encoder is a LongNet that contextualises every tile embedding through dilated attention, which Microsoft says scales linearly with tile count. That linearity is doing as much work in this result as the distillation is, because a quadratic term would put the saving back at the top end where it is needed most.

The second model went the other way#

The two halves of this release did not come out the same, and the summary flattens them.

GigaTIME-FlashWhat changed
The backboneSwaps the original GigaTIME's CNN backbone for the GigaPath-Flash encoder, and adds a lightweight convolutional decoder
The fine-tuningLoRA adapters that keep the pretrained encoder weights largely frozen
Speed and memoryAbout 6 times faster with about 8 times less memory
AccuracyMatching or improving on the original across in-distribution and out-of-distribution cohorts spanning brain, breast, colon and lung cancers

So one model lost 3 percent and the other gained, from the same backbone swap. The gains were most pronounced on out-of-distribution data, and Microsoft's reading of that is offered as a hypothesis rather than a result: it says the foundation model backbone appears to improve generalisation to tissue types the model has not seen. Worth watching, not yet worth repeating as fact.

The throughput table is an estimate and says so#

Microsoft publishes wall-clock projections for generating virtual spatial proteomics across cohorts of different sizes, and reports GigaTIME-Flash scaling past 1,600 tiles per second.

The footing under those numbers is stated plainly.

The stated assumptionThe value
Tiles per slideRoughly 10,000
Batch size128
HardwareA single NVIDIA A100
The caveatActual runtime depends on slide size, tiling resolution and hardware

That is an estimate on named assumptions, which is the good version of this disclosure. Treat the shape of the curve as the claim and your own hardware as the number.

What it is not#

Both are research models. Microsoft states before anything else that they are not intended or validated for clinical use, naming diagnosis, prognosis, treatment selection and other patient-care decisions.

It warns that performance may vary across datasets, scanners, institutions and populations.

It calls this an early research release, says its evaluations cover a limited set of benchmarks and cohorts, and says downstream clinical applications will need additional multi-institutional and prospective validation.

That is the disclosure doing its job, and it draws the line cleanly. This is a tool for research groups asking questions of tissue at population scale, not something approaching a clinic. If you want the wider picture of where that kind of work is actually paying off, AI on hard scientific problems is the longer view.

The part that travels beyond pathology is the release itself.

A billion-parameter model compressed to 22 million, given away under Apache 2.0 with the limitations printed above the results, is a better argument for open weights than most papers written about them.

Sources

  1. GigaPath-Flash and GigaTIME-Flash, Microsoft Researchmicrosoft.com

Ask about this article

Answered only from this piece. The AI never invents.

React
ShareXLinkedInBluesky

More in science

More in science

Discussion