A Lightweight, Interpretable Deep Learning System for Automated Detection of Cervical Adenocarcinoma In Situ (AIS)
Gabriela Fernandes
TL;DR
Problem: AIS diagnosis on histopathology is challenging but early detection is critical. Approach: a lightweight, interpretable AI pipeline combines Macenko stain normalization, patch-based extraction, EfficientNet-B3, focal loss, and Grad-CAM explanations, deployed via a Gradio virtual assistant. Findings: on CAISHI, it achieves an overall accuracy of 0.7323 with Abnormal F1 of 0.75 and Normal F1 of 0.71, including a substantial reduction in false negatives (from 86 to 46). Significance: demonstrates the feasibility of deployable, explainable AI for cervical gland pathology with potential to augment screening, education, and resource-limited workflows; limitations include dataset size and need for external validation.
Abstract
Cervical adenocarcinoma in situ (AIS) is a critical premalignant lesion whose accurate histopathological diagnosis is challenging. Early detection is essential to prevent progression to invasive cervical adenocarcinoma. In this study, we developed a deep learning-based virtual pathology assistant capable of distinguishing AIS from normal cervical gland histology using the CAISHI dataset, which contains 2240 expert-labeled H&E images (1010 normal and 1230 AIS). All images underwent Macenko stain normalization and patch-based preprocessing to enhance morphological feature representation. An EfficientNet-B3 convolutional neural network was trained using class-balanced sampling and focal loss to address dataset imbalance and emphasize difficult examples. The final model achieved an overall accuracy of 0.7323, with an F1-score of 0.75 for the Abnormal class and 0.71 for the Normal class. Grad-CAM heatmaps demonstrated biologically interpretable activation patterns, highlighting nuclear atypia and glandular crowding consistent with AIS morphology. The trained model was deployed in a Gradio-based virtual diagnostic assistant. These findings demonstrate the feasibility of lightweight, interpretable AI systems for cervical gland pathology, with potential applications in screening workflows, education, and low-resource settings.
