Abstract
Accurate classification of medical images is essential for modern diagnostics. Deep learning advancements led clinicians to increasingly use sophisticated models to make faster and more accurate decisions, sometimes replacing human judgment. However, model development is costly and repetitive. Neural Architecture Search (NAS) provides solutions by automating the design of deep learning architectures. This paper presents ZO-DARTS+, a differentiable NAS algorithm that improves search efficiency through a novel method of generating sparse probabilities by bi-level optimization. Experiments on five public medical datasets show that ZO-DARTS+ matches the accuracy of state-of-the-art solutions while reducing search times by up to three times.
Introduction
Deep learning has revolutionized medical diagnostics, enabling automated identification of conditions ranging from pneumonia to retinal diseases. However, designing the optimal neural network architecture for a specific medical task is a labor-intensive process requiring significant expertise. Neural Architecture Search (NAS) aims to automate this design.
Yet, traditional differentiable NAS methods like DARTS face two major hurdles: high computational costs for gradient calculations and "ambiguity" in operation selection. Standard methods use a softmax function that often assigns non-zero probabilities to multiple operations (e.g., 3x3 convolution vs. pooling), making it difficult for the algorithm to converge on a single, clear architecture. This leads to suboptimal performance and poor interpretability.
The ZO-DARTS+ Framework
ZO-DARTS+ addresses these challenges by building upon Zeroth-Order (ZO) optimization. This technique approximates gradients without the need for complex Hessian matrix computations, significantly lowering computational overhead. The "Plus" variant introduces two critical innovations:
- Sparsemax Normalization: Unlike Softmax, which spreads probability across all possible operations, Sparsemax projects parameters onto a probability simplex. This allows the model to assign exactly zero probability to irrelevant operations early in the search process.
- Temperature Annealing: A temperature parameter ($\tau$) is introduced that gradually decreases over time. This "freezes" the architecture as the search progresses, pushing the model toward a "one-hot" vector where only the single best operation remains active.
Experimental Evaluation
The model was evaluated using the MedMNIST benchmark, a collection of standardized biomedical images including PneumoniaMNIST (Chest X-rays), OCTMNIST (Retinal OCT), BreastMNIST (Ultrasound), and OrganAMNIST/OrganSMNIST (Abdominal CT slices).
Efficiency and Search Speed
ZO-DARTS+ demonstrates significant improvements in search efficiency. The model reduces search times by up to 3x compared to standard DARTS and is approximately 17.2% faster than the original ZO-DARTS.
Decisiveness and Interpretability
A key advantage of the Sparsemax and annealing approach is the elimination of "noisy" selections. While traditional NAS methods often result in multiple operations having similar weights, ZO-DARTS+ creates a clear "winner-takes-all" scenario.
This decisiveness not only speeds up convergence—often reaching a stable state by the 40th epoch—but also improves interpretability. For instance, the search revealed that 3x3 convolutions were dominant for pneumonia detection, while 3x3 average pooling was preferred for OCT images, showing the model's ability to automatically adapt to domain-specific features.
Accuracy Performance
Despite the reduced search time, ZO-DARTS+ remains highly competitive. It matched or exceeded the accuracy of heavyweights like Google AutoML and AutoKeras. Notably, on the OrganAMNIST dataset, it achieved an accuracy of 0.939, outperforming both ResNet18 (0.935) and Google AutoML (0.886).
Conclusion
ZO-DARTS+ offers a lightweight and decisive approach to NAS for medical imaging. By utilizing Sparsemax and temperature annealing, it achieves state-of-the-art accuracy while significantly reducing computational costs. Future work will focus on integrating hardware-aware constraints (such as latency or memory limits) to ensure these optimized models can be deployed effectively on mobile medical devices.
Summary updated