DeepLIIF: An Online Platform for Quantification of Clinical Pathology Slides

Parmida Ghahremani, Joseph Marino, Ricardo Dodds, Saad NadeemCVPR 2022 · DOI

Introduction

In clinical oncology, Immunohistochemistry (IHC) stains are essential for identifying specific proteins within patient tissue, guiding treatment decisions and prognostic assessments. However, the current gold standard—manual inspection by pathologists—is subjective, time-consuming, and prone to inter-observer variability. While advanced multiplex imaging provides high-dimensional data, its high cost and technical complexity prevent routine clinical use. DeepLIIF addresses this challenge by providing a free, cloud-native platform that automates protein expression quantification, extracting multiplex-level insights from standard clinical slides.

Methodology

The core of DeepLIIF is a deep learning model designed for "virtual restaining." This process, known as stain deconvolution, transforms a standard brightfield IHC image into inferred modalities, such as DAPI (nuclear stain) and Lap2 (nuclear envelope). This effectively creates a virtual multiplex immunofluorescence image from a single IHC slide.

Comparison of clinical H&E and IHC stains with the inferred Multiplex (R&D) output generated by DeepLIIF.

Unlike traditional tools that separate cell detection and classification, DeepLIIF performs both in a single step. This allows for the direct calculation of clinically relevant IHC scores, such as the ratio of DAB-positive cells to total cells. The model was trained on a unique dataset of co-registered IHC and multiplex immunofluorescence (mpIF) images, enabling it to learn the direct mapping between clinical stains and high-fidelity research markers.

Cloud-Native Architecture and Interoperability

To ensure scalability and broad accessibility, the platform is hosted on AWS using a containerized architecture. It utilizes Elastic Container Service (ECS) and Auto Scaling Groups of GPU-enabled EC2 G4dn instances to manage fluctuating user demand.

The AWS-based cloud-native architecture of the DeepLIIF platform, highlighting the use of ECS, Auto Scaling, and Load Balancing.

DeepLIIF is designed for real-world laboratory integration, supporting over 150 proprietary and non-proprietary image formats through the Bio-Formats standard. Users can access the tool via a web interface, ImageJ/QuPath plugins, or a programmatic API.

Key Insights and Results

A standout feature of DeepLIIF is its "Human-in-the-Loop" design. Recognizing that automated systems require oversight, the platform includes an interactive adjustment tool. Pathologists can use sliders to modify segmentation thresholds and size gating in real-time, making the AI a collaborative assistant rather than an opaque "black box."

The system has demonstrated state-of-the-art accuracy for critical nuclear protein markers, including Ki67, ER, PR, and P53, as well as cytoplasmic markers like CD3 and CD8. Its scalable architecture ensures responsiveness even when processing large computational tasks.

Limitations and Future Work

Currently, the web interface limits uploads to 3000 × 3000 pixels to manage resource allocation. Future developments aim to support Whole Slide Image (WSI) viewers and expand the model's capabilities to include complex cytoplasmic and membranous markers such as PD-L1 and HER2. The team is also working toward deeper integration with open-source pathology ecosystems to facilitate the processing of entire tumor regions directly within digital slide viewers.

Summary updated

BibTeX
@inproceedings{ghahremani2022deepliif,
  author = {Parmida Ghahremani and Joseph Marino and Ricardo Dodds and Saad Nadeem},
  title = {{DeepLIIF: An Online Platform for Quantification of Clinical Pathology Slides}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.02071},
}
Figure