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

DNA Family: Boosting Weight-Sharing NAS with Block-Wise Supervisions

Guangrun Wang, Changlin Li, Liuchun Yuan, Jiefeng Peng, Xiaoyu Xian, Xiaodan Liang, Xiaojun Chang, Liang Lin

TL;DR

Weight-sharing Neural Architecture Search (NAS) often fails because ranking millions of candidate architectures simultaneously degrades the supernet's evaluation accuracy. The "DNA Family" solves this by breaking the massive search space into independent blocks trained via block-wise knowledge distillation. This simple shift yields highly reliable architecture rankings and achieves state-of-the-art performance across both CNNs and Vision Transformers.

What Problem Does This Paper Address?

Neural Architecture Search (NAS) promises to automate the design of deep learning models, removing the need for human trial-and-error. To make this computationally feasible, researchers use weight-sharing NAS, which crams an entire search space of millions of candidate models into a single "supernet." Instead of training every candidate from scratch, sub-networks simply inherit weights from the trained supernet.

While highly efficient, weight-sharing NAS has a dirty secret: its architecture ratings are notoriously unreliable. The validation accuracy of a sub-network often correlates poorly with its actual performance when trained independently from scratch.

Using a generalization boundedness theorem, the authors prove why this happens: the search space is simply too big. When a single set of supernet weights tries to accommodate an oversized search space, its ability to generalize collapses, leading to chaotic and untrustworthy architecture rankings.

Methods

To fix this, the authors introduce the DNA (Distilling Neural Architecture) Family. Instead of searching the entire network at once, they modularize the search space into distinct blocks and train them independently using intermediate feature maps from a teacher network as supervision.

Fig. 1: Illustration of DNA family. (a) Distilling neural architecture technique with block-wise supervision. Architecture candidates (denoted by different nodes and paths) are divided into blocks. (b) Supervised learning (vanilla DNA). (c) Progressive learning (DNA+). (d) Self-supervised learning (DNA++).

The paper introduces three distinct flavors of this block-wise approach:

  1. DNA (Vanilla): Uses traditional supervised learning. A fixed teacher network provides intermediate feature maps to guide the student supernet blocks. Because the teacher's outputs can be pre-computed, all student blocks can be trained simultaneously in parallel.
  2. DNA+ (Progressive): Addresses the limitation where a student cannot outperform its teacher. It iteratively scales up the best-searched architecture from one generation to act as the teacher for the next generation.
  3. DNA++ (Self-Supervised): Eliminates the need for labeled data or a predefined teacher architecture. It uses a specialized self-supervised loss alongside a "supernet de-redundancy loss" to prevent representation collapse, allowing the network to optimize itself without a bloated, non-learnable twin network.

Datasets

The authors evaluated their methods across several standard computer vision benchmarks:

  • ImageNet: The primary playground for training and evaluating the search models.
  • ImageNet NAS Bench: A full-resolution benchmark created by the authors consisting of 23 randomly sampled architectures to evaluate true vs. predicted model rankings fairly.
  • Downstream Tasks: CIFAR-10, CIFAR-100, PASCAL VOC 2012 (semantic segmentation), ADE20K (semantic segmentation), and MS-COCO (object detection).

Key Insights and Ideas

  • Exponential Search Space Reduction: Dividing a network into $N$ blocks reduces the number of candidate architectures per training step exponentially. This localized focus restores the generalization capability of the shared weights, leading to highly accurate architecture ratings.
  • Parallelized Distillation: Traditional block-wise distillation is sequential and slow. The authors bypassed this by feeding the teacher's previous block output directly into the student's current block (as shown in Fig. 2), enabling completely parallelized block training.
  • Mitigating Architecture Shift: Distillation typically biases a search toward models that structurally resemble the teacher. By leveraging self-supervision, DNA++ completely mitigates this bias, allowing a CNN teacher (like EfficientNet) to successfully guide the search for a Vision Transformer (ViT) student.

Key Results

The DNA family demonstrates that reliable architecture rating translates directly into state-of-the-art performance:

  • Superior Ranking Accuracy: On the ImageNet NAS Bench, DNA achieved a Kendall Tau ranking correlation of 0.64, drastically outperforming popular NAS methods like SPOS (-0.18) and DARTS (0.08).
  • State-of-the-Art Accuracy: On ImageNet, DNA achieved a top-1 accuracy of 78.9% for a mobile-sized CNN and 83.6% for a small Vision Transformer (DNA-T++).
  • Downstream Efficiency: When applied to semantic segmentation on PASCAL VOC12, DNA-Seg achieved a 79.76% validation IoU while using 21× fewer FLOPs and 4.5× fewer parameters than DeepLabv3+(ResNet101).

Limitations and Future Work

While Vanilla DNA and DNA++ are highly efficient, the progressive DNA+ variant requires multiple generations of scaling and retraining from scratch, which remains computationally demanding.

Additionally, the current implementation is heavily tailored to computer vision backbones (CNNs and ViTs). The authors note that promising future directions include extending this block-wise distillation framework to Natural Language Processing (NLP), 3D architectures, and generative models.

Summary updated

BibTeX
@article{wang2024dna,
  author = {Guangrun Wang and Changlin Li and Liuchun Yuan and Jiefeng Peng and Xiaoyu Xian and Xiaodan Liang and Xiaojun Chang and Liang Lin},
  title = {{DNA Family: Boosting Weight-Sharing NAS with Block-Wise Supervisions}},
  journal = {IEEE TPAMI},
  year = {2024},
  doi = {10.1109/tpami.2023.3335261},
}
Figure