Synthetic Augmentation and Feature-based Filtering for Improved Cervical Histopathology Image Classification

Yuan Xue, Qianying Zhou, Jiarong Ye, L. Rodney Long, Sameer K. Antani, Carl Cornwell, Zhiyun Xue, Xiaolei Huang

TL;DR

This paper introduces a novel data augmentation framework for cervical histopathology image classification that pairs conditional Generative Adversarial Networks (cGANs) with a feature-based filtering mechanism. By generating synthetic epithelium patches and filtering out those that diverge from real-data class centroids, the method ensures that augmented data is not just visually realistic, but also diagnostically meaningful. This approach boosts baseline classification accuracy from 66.3% to 71.7% on a limited expert-annotated dataset.

What Problem Does This Paper Address?

Accurate grading of Cervical Intraepithelial Neoplasia (CIN 1–3) from histopathology slides is vital for early cervical cancer diagnosis and treatment planning. While deep learning classifiers could alleviate the shortage of expert pathologists, training them requires vast amounts of annotated data. Expert annotations are expensive, tedious, and time-consuming to collect.

Traditional data augmentation techniques (like flipping or adjusting brightness) fail to capture the complex texture, shape, and color variations inherent in histopathology images. Conversely, while Generative Adversarial Networks (GANs) can synthesize highly realistic medical images, visual appeal does not guarantee that the images contain the precise feature representations needed to train a reliable classifier. The authors tackle this specific gap: how to measure and control the feature quality of GAN-generated images so they genuinely benefit downstream classification tasks.

Methods

The authors propose a three-step pipeline to generate and select high-quality synthetic data:

  1. Diverse Image Synthesis: They train a conditional GAN (cGAN) based on DCGAN and WGAN-GP architectures. To combat mode collapse (where the GAN generates repetitive images), they integrate a minibatch discrimination module into the discriminator, forcing the generator to produce a more diverse array of histopathology patches.
  2. Feature Extraction and Centroid Calculation: A baseline ResNet18 classifier is pre-trained on the original, limited real dataset. This network serves as a feature extractor. For each CIN class, the authors calculate a "class centroid"—the average feature vector across multiple layers for all real training images in that class.
  3. Feature-Based Filtering: The trained cGAN generates a large pool of synthetic images (e.g., 5,000 per class). These images are passed through the feature extractor, and their distance to the corresponding real-class centroid is calculated using an $\ell_2$ distance of unit-normalized activations (effectively a cosine distance). Only the synthetic images closest to the real-data centroids are retained for training.
Fig. 1: Illustration and comparison between different training processes. (a) Traditional training pipeline; (b) Conditional GAN augmented training pipeline; (c) Our proposed cGAN augmentation with feature based filtering. The input to the cGAN are noise vec- tor z and label condition vector c.

Datasets

The framework was evaluated on a cervical histopathology image dataset collected from a collaborating health sciences center. All slides were annotated by the same pathologist. The dataset consists of segmented epithelium patches resized to $256 \times 128$ pixels, distributed as follows:

  • Normal: 1,112 patches
  • CIN1: 181 patches
  • CIN2: 463 patches
  • CIN3: 454 patches

The dataset was randomly split by patient into training, validation, and test sets using a 7:1:2 ratio, maintaining consistent class proportions across splits.

Key Insights and Ideas

  • Visual Realism $\neq$ Classification Utility: Standard cGANs with auxiliary classifiers can actually degrade classification performance if the data augmentation ratio is too high. This happens because the generator learns to fool the discriminator without necessarily capturing the subtle, deterministic features crucial for clinical grading.
  • Centroid-Based Alignment: Filtering synthetic images by their proximity to real-data feature centroids ensures that the generated patches reinforce the true underlying distribution of the classes rather than introducing confounding noise.
  • Feature Space Separability: Visualizing the data via t-SNE demonstrates that the feature-based filtering mechanism yields much cleaner, more distinguishable clusters in the feature space compared to unfiltered synthetic data, directly translating to better classifier boundaries.
Fig. 2: Examples of real and synthetic images for all CIN grades.

Key Results

The models were evaluated using a ResNet18 baseline classifier, averaging results over 5 independent runs:

  • Baseline ResNet18 (No Augmentation): 66.3% accuracy
  • Traditional Augmentation: 67.0% accuracy
  • Standard cGAN + Auxiliary Classifier (Ratio = 2): 66.0% accuracy (performance degraded)
  • Proposed cGAN + Feature Filtering (Ratio = 2): 71.7% accuracy

Beyond accuracy, the proposed method achieved the highest performance across all evaluation metrics, raising the Area Under the ROC Curve (AUC) from 0.775 to 0.811 and sensitivity from 0.553 to 0.608. Furthermore, the performance remained highly stable across different data augmentation ratios ($R=0.5$ vs. $R=2$).

Limitations and Future Work

While the paper demonstrates a robust performance leap, a few limitations and areas for extension are apparent:

  • Hyperparameter Dependence: The optimal number of synthetic images to filter and retain (the ratio $R$) remains a hyperparameter that must be empirically tuned.
  • Single-Center Dataset: The dataset comes from a single health sciences center and a single annotator; validating the pipeline against multi-center datasets with inter-pathologist variability would be a crucial next step.
  • Generalization: The authors note that this pipeline has great potential for other medical imaging applications with limited labels, but it has yet to be tested on non-histopathology modalities (like MRI or X-ray) within this study.

Summary updated

BibTeX
@misc{xue2019synthetic,
  author = {Yuan Xue and Qianying Zhou and Jiarong Ye and L. Rodney Long and Sameer K. Antani and Carl Cornwell and Zhiyun Xue and Xiaolei Huang},
  title = {{Synthetic Augmentation and Feature-based Filtering for Improved Cervical Histopathology Image Classification}},
  year = {2019},
  eprint = {1907.10655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.10655},
}
Figure