Automated system for diagnosing endometrial cancer by adopting deep-learning technology in hysteroscopy

PLoS One 2021 AI 6 Explanations View Original
Original Paper (PDF)

Unable to display PDF. Download it here or view on PMC.

Plain-English Explanations
Pages 1-2
The Challenge of Diagnosing Endometrial Lesions During Hysteroscopy

Hysteroscopy is a medical procedure in which a thin, lighted camera is inserted through the cervix into the uterine cavity, allowing direct visualization of the uterine lining (endometrium). It is one of the primary diagnostic tools for evaluating abnormal uterine bleeding, abnormal endometrial thickening seen on ultrasound, and suspected uterine pathology. During the procedure, surgeons must interpret what they see in real time and decide whether to take tissue biopsies.

The accuracy of hysteroscopic diagnosis depends heavily on the surgeon's experience and expertise. Different uterine conditions - including normal endometrium, benign growths like polyps and fibroids (myomas), precancerous changes known as atypical endometrial hyperplasia (AEH), and frank endometrial cancer (EC) - can appear visually similar, particularly in early stages. Misclassification can lead to delayed cancer diagnosis or unnecessary procedures.

This study explores whether a deep learning-based automated system can be trained to recognize these different endometrial conditions from hysteroscopy video images, potentially helping surgeons make more accurate diagnoses in real time. Deep learning refers to a category of artificial intelligence that uses layered neural networks to extract complex patterns from large amounts of image data.

TL;DR: This study develops an AI system to automatically identify endometrial cancer and other uterine conditions from hysteroscopy video images using deep learning.
Pages 2-3
Building the Dataset: 411,800 Images From 177 Patients

The researchers collected hysteroscopy video recordings from 177 patients spanning five categories: normal endometrium, uterine myoma (fibroid), endometrial polyp, atypical endometrial hyperplasia (AEH) - a precancerous condition - and endometrial cancer. From these videos, they extracted 411,800 individual image frames, creating a very large labeled dataset for training and evaluating deep learning models.

Three state-of-the-art deep neural network (DNN) architectures were trained and compared: Xception, MobileNetV2, and EfficientNetB0. These are established convolutional neural network designs that have proven effective for image classification tasks. Each model was trained to assign one of the five diagnostic categories to each input image frame. A total of 72 individual models were created by varying training parameters and combining results.

A key innovation in this study was continuity analysis: rather than classifying each video frame independently, the system analyzed sequences of consecutive frames. A positive (malignant) result was only declared if 50 or more consecutive frames were classified as showing cancer. This temporal filtering was designed to reduce false positives from single ambiguous frames, mimicking how a surgeon reviews a continuous video rather than isolated still images.

TL;DR: Three deep learning models were trained on 411,800 hysteroscopy images from 177 patients, with a continuity algorithm requiring 50 consecutive malignant frames to declare cancer.
Pages 3-4
High Diagnostic Accuracy With Combined Model Approach

The combined system, integrating outputs from all 72 trained models, achieved an overall accuracy of 90.29% across all five diagnostic categories. For the clinically critical task of identifying cancer versus non-cancer, the system demonstrated a sensitivity of 91.66% (the percentage of actual cancer cases correctly identified) and a specificity of 89.36% (the percentage of non-cancer cases correctly identified as benign).

These performance metrics compare favorably to human diagnostic accuracy reported in similar studies. Missing a cancer diagnosis (false negative) is particularly dangerous because it delays treatment, while over-calling benign conditions as cancer (false positive) leads to unnecessary and anxiety-inducing further procedures. A system with both high sensitivity and high specificity addresses both error types effectively.

Individual models showed variable performance, and the ensemble approach - combining predictions from multiple models - consistently outperformed any single model. This ensemble strategy mirrors techniques widely used in competitive machine learning and reflects the principle that aggregating diverse predictors reduces the impact of any single model's weaknesses or biases on the final output.

TL;DR: The combined 72-model system achieved 90.29% overall accuracy, 91.66% sensitivity, and 89.36% specificity for endometrial cancer detection.
Pages 4-5
How the Three Neural Network Architectures Perform

Xception (Extreme Inception) is a deep neural network architecture that uses depthwise separable convolutions to achieve high performance with relatively efficient computation. It was designed to surpass the earlier Inception architecture on image classification tasks. In this study, Xception was one of the primary models used, capable of learning fine-grained visual distinctions between lesion types from the large image dataset.

MobileNetV2 was designed for efficient deployment on mobile and edge computing devices, where computational resources are limited. Despite its lightweight architecture, it maintains competitive accuracy. Its inclusion in this study reflects the real-world goal of creating diagnostic tools that can run on standard hospital computing equipment without requiring expensive specialized hardware.

EfficientNetB0 represents the smallest member of the EfficientNet family, which uses compound scaling to simultaneously balance network depth, width, and image resolution for optimal efficiency and accuracy. Each of these three architectures brings different computational trade-offs and learned visual feature representations, which is why combining them via an ensemble approach improves overall diagnostic performance beyond what any single architecture can achieve alone.

TL;DR: Three distinct deep learning architectures - Xception, MobileNetV2, and EfficientNetB0 - were combined in an ensemble for superior diagnostic accuracy.
Pages 5-6
Distinguishing Precancerous AEH From Cancer: A Critical Clinical Challenge

One of the most clinically valuable aspects of this system is its potential to distinguish atypical endometrial hyperplasia (AEH) from frank cancer. AEH is a precancerous condition that, if left untreated, carries a significant risk of progression to endometrial cancer. The two conditions can look strikingly similar on hysteroscopy, making biopsy essential - but even biopsy results can be ambiguous because the sampled tissue may not represent the most abnormal area of the uterine lining.

The system also tackled the challenge of distinguishing benign conditions like polyps from early cancers. Polyps are common and benign but can occasionally harbor malignant areas. By analyzing thousands of frames with learned visual features, the AI system can identify subtle textural and vascular pattern differences that may be difficult for the human eye to consistently detect during a live procedure.

The practical integration of such a system into the operating room would require real-time processing of video feed without disrupting the workflow of the procedure. The study demonstrates feasibility but does not yet describe a deployed real-time system; validation in prospective clinical trials with independent patient populations will be necessary before such a tool could be recommended for routine clinical use.

TL;DR: The AI system can distinguish hard-to-differentiate lesions like AEH versus cancer, though prospective clinical validation is needed before routine deployment.
Page 6
AI-Assisted Hysteroscopy as a Future Clinical Tool

This study demonstrates that deep learning-based image classification can achieve clinically meaningful diagnostic accuracy for endometrial lesions from hysteroscopy video. The 90%+ accuracy rates suggest that an AI co-pilot system could meaningfully reduce diagnostic errors, particularly for less-experienced surgeons or in settings where access to expert gynecologic oncologists is limited.

The continuity analysis approach - requiring multiple consecutive positive frames before flagging cancer - represents a thoughtful engineering solution to reduce false alarms in a video-based setting. This temporal consistency requirement mimics clinical judgment by filtering out momentary misclassifications that would be obvious errors in context.

Looking forward, integrating such systems into hysteroscopy equipment as real-time decision support could democratize access to expert-level diagnostic quality across diverse healthcare settings. Further development should focus on prospective multicenter validation, performance across different hysteroscope equipment and lighting conditions, and algorithmic transparency to help clinicians understand and trust the system's reasoning.

TL;DR: Deep learning hysteroscopy analysis achieves over 90% accuracy and holds promise as real-time surgical decision support, pending prospective clinical validation.
Citation: Open Access, 2021. Available at: PMC8011803.