Introduction
In medical AI, the scarcity of high-quality annotated data remains a significant hurdle. Training robust models for diagnosing conditions like age-related macular degeneration (AMD) requires thousands of precisely segmented Optical Coherence Tomography (OCT) scans. Manual segmentation—delineating retinal layers and fluid pockets—is a labor-intensive task requiring specialized expertise from ophthalmologists.
While Deep Learning (DL) offers automation potential, it is notoriously data-hungry. Active Learning (AL) addresses this by enabling models to selectively query labels for the most "informative" or "uncertain" samples. However, existing AL tools often lack integration, requiring manual coordination between databases, annotation interfaces, and training backends. This report introduces MedDeepCycleAL, a unified, modular framework designed to streamline this process.
System Architecture
The MedDeepCycleAL framework is built on a decentralized, modular architecture consisting of four primary components:
- Annotation Tool (AT): A web-based interface (forked from the HUMAN framework) where experts perform segmentation. It features "pre-segmentation" suggestions to accelerate the labeling process.
- Controller: A Flask-based central hub that coordinates data flow between the human expert and the machine learning backend.
- Data Manager: An independent module responsible for secure data retrieval from platforms like "XplOit," processing raw Volume (.VOL) files, and managing the pool of labeled and unlabeled data.
- Active Learning Backend: Built using PyTorch, VISSL, and modAL, this backend supports semantic segmentation architectures like U-Net and Y-Net.
The Active Learning Cycle
The framework operates in an iterative loop, referred to as the "AI Cycle." This cycle ensures that expert effort is focused on the most valuable data points.
The workflow proceeds as follows:
- Annotation: Samples are annotated by experts using the Annotation Tool.
- Update: The Server (Controller) updates the database via the Data Manager.
- Trigger: The Server triggers a new AL iteration in the backend.
- Training & Querying: The AL Backend trains the model, evaluates uncertainty, and queries the most informative new samples.
- Request: The Server sends a request for new annotations to the tool.
- Preparation: The Annotation Tool prepares the new samples for the next round of expert review.
Key Insights and Methodology
A core innovation of this framework is the implementation of EdgeAL, a sampling strategy that prioritizes uncertainty at semantic region boundaries. This approach proved significantly more effective than standard random sampling or entropy-based measures.
Furthermore, the system utilizes YAML-based configuration files, allowing researchers to easily swap model architectures (e.g., U-Net to Y-Net) or sampling strategies without modifying the core codebase. The framework also supports a "partial labeling" hypothesis, where experts might only be asked to label complex regions of an image, further optimizing time.
Evaluation and Results
The framework was benchmarked using the AROI (Annotated Retinal OCT Images) and Duke datasets. Key findings include:
- Efficiency: On the Duke dataset, the EdgeAL strategy achieved 99% of peak performance (Mean Dice score of 0.82 vs. 0.83) using only 12% of the total dataset.
- Performance: The Y-Net architecture demonstrated exceptional accuracy on specific retinal layers, such as the Inner Limiting Membrane (ILM).
- Sampling Superiority: Advanced strategies like EdgeAL and MAXRPR consistently outperformed traditional methods like MC Dropout and Core-set selection.
Conclusion and Future Directions
MedDeepCycleAL demonstrates that a modular, active learning-driven approach can drastically reduce the annotation burden in medical imaging. Future work will focus on deeper integration of Self-Supervised Learning (SSL) to further decrease the required amount of labeled data and exploring methods to mitigate inter-annotator variability.
Summary updated