Pathology models scored by how well they reveal cell types in tissue images
A gene informed benchmark for BioScoring of pathology foundation models
Machine Learning
Summary
It can be hard to know if computer models looking at tissue images really understand the different cells inside. The authors developed BioScore, a way to check how well these models identify cell types using related gene activity data from the same tissue. BioScore works without needing labels and can find which cells a model knows well or misses. They tested several models and found pathology-focused ones do better at capturing real biology than general image models.
What this means in practice
- •For biomedical imaging teams: Evaluate and compare foundation models for pathology image analysis based on how well they reflect underlying cell types using gene expression data.
- •For medical ai developers: Identify strengths and weaknesses of image encoders in capturing cellular information to improve diagnostic model training and validation.
Authors
Paul Vilars, Vincent Quoc-Huy Trinh, Maria Vakalopoulou, Dimitris Samaras, Stergios Christodoulidis, Mahdi S. Hosseini
Abstract
Pathology foundation models are usually compared by their performance on downstream tasks such as classification and retrieval. While such benchmarks measure how useful a model is, they provide no insight into the biology it represents. We introduce BioScore, a benchmark that quantifies how well an image encoder captures cell identities, with spatial transcriptomics of the same tissue as the reference. A sparse autoencoder splits the encoder's patch embeddings into sparse features, which we cluster into a fixed number of groups. BioScore then measures, for each of 52 cell identities defined by marker genes, how specifically one group follows the identity's expression over the tissue. Because the autoencoder training is fully unsupervised, a match shows that the model represents the cell identity from the image alone. We score 8 pathology foundation models and 3 natural-image models. Every pathology model scores above every natural-image model (0.299--0.371 \vs 0.214--0.232), and paired tests separate three tiers among the pathology models. Unlike a supervised probe, BioScore needs no labels, builds its reference from the data and scores even from few sections, yet it ranks the encoders as a probe does. Its per-identity breakdown indicates which cell identities each encoder captures or misses.