One-Shot Neural Architecture Search with Network Similarity Directed Initialization for Pathological Image Classification
Abstract
Automated neural architecture search (NAS) holds great potential for specialized medical imaging tasks, yet it often suffers from search instability and poor generalization due to domain shifts. This paper presents Domain Adaptation One-Shot NAS (DAOS), a framework tailored for pathological image classification. DAOS introduces Network Similarity Directed Initialization (NSDI) to ensure a diverse starting population for evolutionary search, preventing the algorithm from becoming trapped in local optima. Furthermore, it incorporates Maximum Mean Discrepancy (MMD) loss during supernet training to learn domain-invariant features, bridging the gap between training and validation distributions. Evaluated on the BRACS breast histology dataset, DAOS achieves superior F1 scores with significantly lower computational costs compared to both manually designed models and standard NAS methods.
Introduction
Pathological image analysis is a high-stakes field where standard computer vision models often fall short. Histology images possess unique characteristics, such as complex hierarchical structures and high resolution, which differ significantly from the natural images used to pre-train most architectures. While NAS can automate the design of specialized networks, it faces two major hurdles in medical imaging: search instability due to redundant initial populations and domain shift caused by varying staining protocols. The DAOS framework is designed to address these specific challenges.
Methods
The DAOS framework operates in a two-stage pipeline: supernet training followed by an evolutionary architecture search.
In Stage I, a weight-sharing supernet is trained. To make the architecture evaluation robust, the authors incorporate a Domain Adaptation loss using MMD. This loss penalizes the model if feature distributions between the training and validation sets diverge, forcing the supernet to learn domain-invariant features.
In Stage II, an evolutionary algorithm (EA) navigates the search space. To solve the problem of search instability, the authors propose NSDI. Instead of picking starting architectures at random, NSDI uses a discrete similarity metric to ensure the initial population is diverse. It calculates an Average Population Similarity (APS) and only accepts new candidates that fall below a specific similarity threshold, preventing the search from wasting time on redundant designs.
Key Results
The proposed method was evaluated on the BRACS dataset, a large-scale collection of breast histological images. The DAOS-A method achieved a top-1 F1 score of 61.41%, outperforming standard one-shot NAS (59.44%) and ResNet18 (60.28%) while using significantly fewer FLOPs (1700M vs 9527M).
As shown in the performance analysis, the NSDI strategy significantly improves search efficiency. By starting with a diverse population, the evolutionary algorithm explores the search space more effectively, reaching higher validation scores in fewer iterations. Furthermore, the inclusion of domain adaptation loss resulted in a more stable relationship between validation and test performance, ensuring the search identifies architectures that generalize well to real-world clinical data.
Conclusion
DAOS provides a robust and efficient pipeline for designing specialized neural architectures for pathology. By combining diversity-aware initialization with domain-invariant feature learning, the framework overcomes the primary hurdles of NAS in medical imaging. Future work may involve extending this modular "plug-and-play" approach to other NAS paradigms and testing its performance in multi-center clinical trials with greater staining variability.
Summary updated