Automatic Annotation Diagnostic Framework for Nasopharyngeal Carcinoma via Pathology–Fidelity GAN and Prior-Driven Classification

Siqi Zeng, Xinwei Li, Yiqing Liu, Qiang Huang, Yonghong HeBioengineering 2024 · DOI

TL;DR

This paper introduces PFPD, an AI framework for diagnosing Nasopharyngeal Carcinoma (NPC) that bypasses the need for costly manual annotation. It uses a novel "Pathology-Fidelity GAN" (PF-GAN) to digitally stain H&E images into EBER images, and a "Prior-Driven Classification System" (PD-CS) that leverages staining specificity and prior knowledge for accurate diagnosis, achieving near-pathologist performance with significantly reduced effort.

What Problem Does This Paper Address?

Diagnosing Nasopharyngeal Carcinoma (NPC) is challenging due to the complex tumor microenvironment and poorly differentiated cells. While AI models show promise, their development is heavily reliant on manual annotation of pathology slides (specifically H&E images), which is time-consuming, expensive, and prone to subjective bias. Existing methods often struggle with the nuances of NPC's microenvironment, like lymphocyte infiltration. This paper aims to create an AI diagnostic framework that is accurate, efficient, and doesn't require manual annotation, thereby lowering costs and accelerating development.

Methods

The core of the PFPD framework lies in two novel components:

  • Pathology-Fidelity GAN (PF-GAN): This is a generative adversarial network designed for "digital staining," specifically converting Hematoxylin and Eosin (H&E) stained images into Epstein-Barr encoding region (EBER) stained images. What makes PF-GAN unique is its "pathology-fidelity constraint." This constraint ensures that the generated EBER images not only mimic the visual style but also preserve the crucial pathological features of the original H&E images, particularly distinguishing between NPC tumor cells and non-NPC cells. This is achieved by training the generator to classify target domain features, ensuring consistency in color and morphology. This approach allows for unpaired image-to-image translation, meaning it doesn't require perfectly matched H&E and EBER pairs for training.
  • Prior-Driven Classification System (PD-CS): This system takes the digitally stained EBER images from PF-GAN and performs the actual diagnosis. It leverages the distinct staining characteristics of EBER (which specifically highlights NPC tumor cells) and incorporates pathological prior knowledge. The PD-CS operates in three stages:
  • Pixel-level decision: Identifies EBER-positive pixels based on intensity thresholds.
  • Patch-level decision: Analyzes connected regions of positive pixels to determine if a patch is likely cancerous, using a tumor cell pixel size threshold.
  • WSI-level decision: Aggregates patch-level decisions to make a final diagnosis for the entire Whole Slide Image (WSI).

Crucially, the PD-CS can also be used to automatically annotate EBER training images for the PF-GAN, creating a fully automated annotation pipeline.

Datasets

The study utilized a dataset of 232 NPC cases from Peking University Shenzhen Hospital, collected between 2020 and 2023. This dataset included both H&E and EBER stained Whole Slide Images (WSIs). For training, 44 representative cases were selected, resulting in:

  • H&E-stained WSIs: 71,216 patches (40,525 positive, 30,691 negative)
  • EBER-stained WSIs: 83,928 patches (41,482 positive, 42,446 negative)

The remaining 188 cases (124 positive, 64 negative) were used for testing, with H&E-stained WSIs segmented into 77,159 patches. For evaluating the PD-CS's threshold selection, 1000 positive and 1000 negative EBER images were randomly sampled.

Key Insights and Ideas

  • Digital Staining as a Bridge: The core idea is that by accurately converting H&E to EBER images, we can leverage the specific diagnostic markers of EBER without needing physical EBER staining for every case, and more importantly, without manual annotation of H&E images.
  • Pathology-Fidelity is Key: Simply mimicking stain appearance isn't enough. The "pathology-fidelity" constraint in PF-GAN is crucial for ensuring that the generated images accurately reflect the underlying biological reality, distinguishing tumor from non-tumor cells. This is a significant advancement over standard GANs for medical imaging.
  • Automated Annotation Solves the Bottleneck: The PD-CS not only diagnoses but also automatically annotates EBER images. This creates a self-sufficient pipeline where the model trains itself, drastically reducing the reliance on human pathologists for labeling.
  • Prior Knowledge Enhances Accuracy: Integrating pathological prior knowledge into the PD-CS (e.g., typical tumor cell pixel size, EBER staining patterns) allows for more robust and interpretable decision-making, moving beyond purely data-driven approaches.

Key Results

  • Classification Accuracy: The PD-CS achieved an impressive 99.59% accuracy in classifying EBER images, closely matching pathologist diagnoses.
  • PF-GAN Performance: PF-GAN demonstrated superior specificity (0.8826) in generating EBER images compared to other GANs (e.g., CycleGAN at 0.6137).
  • Patch-Level Diagnosis: The framework achieved an F1-Score of 0.9143 for patch-level diagnosis, outperforming fully supervised models.
  • Clinical Comparison: When compared to experienced pathologists on H&E WSIs, PFPD showed comparable diagnostic performance to mid-level pathologists, with a significantly lower misdiagnosis rate (11.17% for PFPD vs. up to 17.55% for pathologists).
  • Efficiency: PFPD reduced the average diagnosis time by 83.97% compared to mid-level pathologists.
  • Image Quality: PF-GAN achieved the lowest RMSE (0.01174) and highest SSIM (0.8981) and PSNR (38.63) among tested GANs, indicating high-quality digital staining.

Limitations and Future Work

  • Generalizability: While the study used 232 cases, further validation on larger and more diverse datasets would be beneficial to confirm generalizability across different institutions and populations.
  • Model Complexity: The PFPD framework involves multiple deep learning components (GAN and classification system), which can be computationally intensive for training.
  • Future Work: The authors suggest exploring the diagnostic accuracy of different generative models as backbones for PFPD. They also envision extending the PFPD framework to diagnose other EBV-related cancers and potentially other cross-tissue diagnostics, highlighting its versatility and potential for improving patient outcomes.

Summary updated

Abstract

Non-keratinizing carcinoma is the most common subtype of nasopharyngeal carcinoma (NPC). Its poorly differentiated tumor cells and complex microenvironment present challenges to pathological diagnosis. AI-based pathological models have demonstrated potential in diagnosing NPC, but the reliance on costly manual annotation hinders development. To address the challenges, this paper proposes a deep learning-based framework for diagnosing NPC without manual annotation. The framework includes a novel unpaired generative network and a prior-driven image classification system. With pathology-fidelity constraints, the generative network achieves accurate digital staining from H&E to EBER images. The classification system leverages staining specificity and pathological prior knowledge to annotate training data automatically and to classify images for NPC diagnosis. This work used 232 cases for study. The experimental results show that the classification system reached a 99.59% accuracy in classifying EBER images, which closely matched the diagnostic results of pathologists. Utilizing PF-GAN as the backbone of the framework, the system attained a specificity of 0.8826 in generating EBER images, markedly outperforming that of other GANs (0.6137, 0.5815). Furthermore, the F1-Score of the framework for patch level diagnosis was 0.9143, exceeding those of fully supervised models (0.9103, 0.8777). To further validate its clinical efficacy, the framework was compared with experienced pathologists at the WSI level, showing comparable NPC diagnosis performance. This low-cost and precise diagnostic framework optimizes the early pathological diagnosis method for NPC and provides an innovative strategic direction for AI-based cancer diagnosis.
BibTeX
@inproceedings{zeng2024automatic,
  author = {Siqi Zeng and Xinwei Li and Yiqing Liu and Qiang Huang and Yonghong He},
  title = {{Automatic Annotation Diagnostic Framework for Nasopharyngeal Carcinoma via Pathology–Fidelity GAN and Prior-Driven Classification}},
  booktitle = {Bioengineering},
  year = {2024},
  doi = {10.3390/bioengineering11070739},
}
Figure