NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HyperSegNAS: Bridging One-Shot Neural Architecture Search with 3D Medical Image Segmentation using HyperNet

Cheng Peng, Andriy Myronenko, Ali Hatamizadeh, Vishwesh Nath, Md Mahfuzur Rahman Siddiquee, Yufan He, Daguang Xu, Rama Chellappa, Dong Yang

Introduction

Designing neural networks for 3D medical image segmentation—such as identifying tumors in CT or MRI scans—is a complex engineering challenge. These tasks require models to capture features across multiple scales and resolutions simultaneously. While Neural Architecture Search (NAS) has promised to automate this design process, existing methods often fall short in the medical domain.

Differentiable NAS methods, like DiNTS, rely on continuous relaxations that often suffer from a "discretization gap," where the optimal continuous model performs poorly once converted back to a discrete architecture. Conversely, standard One-Shot NAS trains a "super-net" containing all possible paths. However, in the vast, multi-path search spaces required for 3D segmentation, randomly sampling paths during training leads to sub-optimal shared weights. The super-net struggles to accommodate every possible architecture configuration simultaneously, leading to poor performance correlation between the super-net and the final stand-alone models.

HyperSegNAS addresses these issues by introducing a "topology-aware" training paradigm, bridging the gap between one-shot search and high-performance medical segmentation.

Methodology: The Meta-Assistant Network

The core innovation of HyperSegNAS is the Meta-Assistant Network (MAN), a HyperNet structure designed to assist in training the super-net.

Topology-Aware Training

Unlike vanilla one-shot NAS, where the super-net weights are updated blindly regardless of the sampled path, HyperSegNAS uses the MAN to inject architectural context. During each training step, an architecture is sampled from the search space. The MAN takes two inputs: the sampled architecture's topology (represented as a vector) and the input image features. It then generates channel-wise scalar weights that dynamically modify the shared weights of the super-net. This allows the model to "specialize" its weights for the specific sub-architecture and image currently being processed.

Overview of the HyperSegNAS framework featuring the Meta-Assistant Network (MAN) and the detailed cell-level operations.

HyperNet Annealing and Search Space

To ensure the final searched model does not depend on the MAN—which would introduce significant inference overhead—the authors employ an annealing process. Over the course of training, the influence of the MAN is gradually phased out, pushing the super-net weights to perform robustly on their own.

The search space consists of a 12-layer structure with 4 resolution scales and 10 possible edges between layers. To focus the search on macro-topology rather than micro-operations, the authors use a minimalist set of operations: skip connections and standard 3D convolutions.

Key Results and Insights

HyperSegNAS was rigorously evaluated on the Medical Segmentation Decathlon (MSD) challenge, covering diverse tasks like Pancreas, Lung, and Brain tumor segmentation.

Outperforming the State-of-the-Art

HyperSegNAS consistently outperformed previous NAS leaders like DiNTS and the widely used nnU-Net. On the challenging Lung Tumor task, HyperSegNAS achieved a Dice Similarity Coefficient (DSC) of 76.72, significantly higher than DiNTS (74.75) and nnU-Net (73.97).

A qualitative analysis of the searched architectures reveals that HyperSegNAS favors a high density of skip connections. This aligns with established human-designed architectures like the U-Net, where propagating multi-scale features is critical for accurate boundary delineation. In contrast, previous NAS methods often produced counter-intuitive, downsampling-heavy structures that performed poorly under memory constraints.

Comparison of searched architectures and performance curves. HyperSegNAS (b) utilizes more skip connections than DiNTS (a), leading to superior DSC performance (c) across iterations.

Efficiency and Correlation

While the initial super-net training is computationally intensive (requiring approximately 32 V100 GPU days), the subsequent search phase is remarkably efficient. Finding the optimal architecture under specific hardware constraints (e.g., a 5GB VRAM limit) takes only 4 GPU days. Furthermore, the authors demonstrated a significantly higher correlation between the super-net’s internal performance estimates and the actual "trained-from-scratch" performance of the candidates, validating the effectiveness of the topology-aware training.

Limitations and Future Work

Despite its success, HyperSegNAS requires a high initial computational investment. Additionally, the current search space is restricted to 3D operations. Future iterations could benefit from including 2D or pseudo-3D (2.5D) operators to better handle datasets with highly anisotropic resolutions. Expanding the search to include data augmentation strategies and other training hyper-parameters remains a promising direction for further research.

Summary updated

BibTeX
@inproceedings{peng2021hypersegnas,
  author = {Cheng Peng and Andriy Myronenko and Ali Hatamizadeh and Vishwesh Nath and Md Mahfuzur Rahman Siddiquee and Yufan He and Daguang Xu and Rama Chellappa and Dong Yang},
  title = {{HyperSegNAS: Bridging One-Shot Neural Architecture Search with 3D Medical Image Segmentation using HyperNet}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.02008},
}
Figure