All field notes

Research · 10 min read

Digital pathology at scale: whole-slide imaging pipelines without GPU waste.

Written by
Healytix Research & Imaging
Read time
10 min
Digital pathology at scale: whole-slide imaging pipelines without GPU waste.

Engineering gigapixel whole-slide image (WSI) inference pipelines: multi-resolution pyramid tiling, edge GPU scheduling, and explainable attention heatmaps inside the hospital.

The scale problem in computational pathology

A single digital whole-slide image (WSI) scanned at 40x magnification can exceed 2 to 5 gigabytes and measure over 100,000 by 100,000 pixels. Traditional deep learning architectures cannot process gigapixel images in a single forward pass without running out of GPU memory. Uploading hundreds of gigabytes of uncompressed biopsies to third-party clouds creates severe bandwidth bottlenecks and hospital data governance hurdles.

Pyramid tiles and selective tile sampling

Modern computational pathology solves this using multi-resolution pyramid file formats (SVS, TIFF, DICOM WSI). Pre-processing workers segment tissue from glass background, filter out artifact regions like pen marks or tissue folds, and extract thousands of 256x256 pixel tiles. Self-supervised foundation models then generate dense embeddings for each tile, enabling weakly supervised multiple instance learning (MIL) across the entire biopsy.

Running model workers inside the hospital edge node

Lumen addresses the bandwidth challenge by executing inference workers on an on-premise hospital edge node. Scanners dump whole-slide images directly into a local storage pool behind the hospital firewall. Local GPU workers process tiles, compute diagnostic embeddings, and generate slide-level risk scores without patient data ever leaving the building.

Heatmaps that explain rather than dictate

Pathologists do not trust black-box classification scores. Lumen generates spatial attention heatmaps projected directly onto the whole-slide viewer. When a model flags suspicion for dysplasia, tumor margins, or biomarker presence (such as MSI or HER2-low), the pathologist can zoom down to single-cell resolution to inspect the exact morphological features driving the algorithm's attention.

Connecting whole-slide images to the patient's longitudinal record

Pathology cannot be evaluated in isolation. A slide finding takes on different clinical significance when paired with prior tumor resections, chemotherapy history, and tumor marker blood trajectories. Lumen links pathology findings directly into the patient's longitudinal timeline in Fabric, presenting a complete clinical summary at multidisciplinary tumor boards.

Key takeaways

  • 01Gigapixel whole-slide scans require smart tiling and local caching to prevent network congestion.
  • 02Edge inference keeps sensitive multi-gigabyte biopsies within hospital infrastructure.
  • 03Pathology AI is most effective when integrated directly into the patient's longitudinal timeline.

Where this lives in the platform

Share this note