Digital PathologySolutions
Blog

Bias, fairness, and the limits of benchmark accuracy in pathology AI

A single accuracy number hides more than it reveals. Here is how we measure model fairness across sites, scanners, and patient subpopulations before we ship.

Marek KowalskiCTO & Co-Founder
9 min read
Grid of histology tissue samples with magnifying loupe

A pathology AI model that reports 94% accuracy on a held-out dataset looks impressive in a paper. It looks very different once you disaggregate that number by scanner vendor, laboratory, stain protocol, and patient age. We have learned to mistrust any single headline metric and have built the entire evaluation pipeline around disaggregated, per-subgroup performance.

Where bias actually lives

In pathology, the main sources of distributional drift are not what public debate suggests. They are, in order of real-world magnitude: scanner hardware differences, stain protocol differences between laboratories, and preanalytic variables such as fixation time. Demographic effects exist and matter, but they are typically dwarfed by these upstream technical factors.

  • Scanner vendor shifts colour calibration and sharpness profiles.
  • Stain protocol drift changes the dynamic range of the same marker across weeks.
  • Fixation time variations shift morphology, especially on edges of tissue.

How we measure

Our validation harness partitions the held-out set along every known axis and reports model performance per partition. We block release of any model whose worst-subgroup sensitivity falls more than five percentage points below the global mean, regardless of how high that global mean is.

If your best model quietly underperforms on a subgroup that makes up 8% of your cases, you do not have a clinical-grade model. You have a lucky benchmark.

Marek Kowalski, CTO

This is slower than optimizing for a single accuracy number, and it is the main reason our release cadence is measured rather than continuous. We think that tradeoff is the right one for a tool that lives next to a pathologist during case review.

Share this post

Written by

Marek Kowalski

CTO & Co-Founder

You may also like.

Stay in the loop.

Subscribe or reach out and we’ll get back to you within one business day.

Digital Pathology Solutions is committed to protecting your privacy. We use your personal data solely for managing your inquiry and providing the information you requested.

Learn more in our Privacy Policy.

By clicking "Submit", you consent to Digital Pathology Solutions storing and processing the personal data you have provided above in order to deliver the requested content to you.

I'm not a robot
reCAPTCHA