Deep Active Learning with Structured Neural Depth Search

Xiaoyun Zhang, Xieyi Ping, Jianwei Zhang · DOI

Abstract

Previous work optimizes traditional active learning (AL) processes with incremental neural network architecture search (Active-iNAS) based on data complexity change, which improves the accuracy and learning efficiency. However, Active-iNAS trains several models and selects the model with the best generalization performance for querying the subsequent samples after each active learning cycle. The independent training processes lead to an insufferable computational budget, which is significantly inefficient and limits search flexibility and final performance. To address this issue, we propose a novel active strategy with the method called structured variational inference (SVI) or structured neural depth search (SNDS) whereby we could use the gradient descent method in neural network depth search during AL processes. At the same time, we theoretically demonstrate that the current VI-based methods based on the mean-field assumption could lead to poor performance. We apply our strategy using three querying techniques and three datasets and show that our strategy outperforms current methods.

Introduction

Deep learning models typically require vast amounts of labeled data to achieve high performance. Active Learning (AL) mitigates this by iteratively selecting the most informative samples for labeling. However, a significant challenge remains: the fixed architecture problem. Early in the AL process, when data is scarce, large models tend to overfit. Conversely, as the dataset grows, small models eventually underfit. While previous methods like Active-iNAS attempted to dynamically adjust model capacity, they relied on a "train-and-select" approach that is computationally prohibitive and lacks flexibility.

The Active-SNDS Framework

To overcome the inefficiencies of discrete architecture search, we introduce Active-SNDS (Structured Neural Depth Search). Unlike Active-iNAS, which trains multiple candidate models from scratch at each cycle, Active-SNDS utilizes a weight-sharing "super-network" approach. This allows the model to optimize both its weights and its depth parameter ($\lambda$) simultaneously via gradient descent.

Comparison of Active Learning frameworks: Traditional AL uses a fixed model, Active-iNAS trains multiple discrete models, and Active-SNDS (Ours) uses a dynamic depth distribution that evolves over AL cycles.

As shown in the figure above, our method maintains a distribution of neural depth that shifts toward deeper architectures as more labeled data becomes available, ensuring that model capacity always matches the current data complexity.

Overcoming the Mean-Field Trap

A core contribution of this work is identifying and solving the "Mean-Field Trap" in automated depth search. Standard Variational Inference (VI) often assumes that network weights and depth are independent—the mean-field assumption. This leads to a "rich-get-richer" phenomenon where shallow layers, which are part of every possible depth configuration, receive more frequent gradient updates and converge faster.

The "rich-get-richer" problem: Shallow layers receive more updates and converge faster, causing standard search algorithms to prematurely favor shallow architectures.

Because shallow configurations (like Layer 1 or Layer 2) appear more "mature" early in training, the search algorithm often incorrectly concludes they are optimal. We address this by using Structured Variational Inference (SVI), which models weights as dependent on depth. Combined with a Pseudo-Uniform Sampling strategy, this ensures that deeper layers receive sufficient training signal, allowing the search to identify truly optimal architectures.

Experimental Results

We evaluated Active-SNDS on MNIST, CIFAR-10, and CIFAR-100 using various query strategies (Random, Entropy, and Coreset).

  • Accuracy Gains: On the complex CIFAR-100 dataset, Active-SNDS achieved a peak accuracy of 73.19%, a massive improvement over the 55.31% reached by Active-iNAS.
  • Depth Adaptation: The search successfully adapted to task difficulty. For the simpler MNIST, it converged to a depth of ~7 layers, while for CIFAR-100, it pushed toward ~16 layers.
  • Efficiency: By avoiding the need to train independent candidate models, Active-SNDS provides a far more scalable solution for real-world AL pipelines.

Conclusion

Active-SNDS represents a significant step forward in combining Active Learning with Neural Architecture Search. By leveraging Structured Variational Inference, we eliminate the computational bottlenecks of previous methods and solve the inherent bias toward shallow networks. This framework ensures that as data grows, the model grows with it, maintaining optimal performance throughout the entire learning process.

Summary updated

BibTeX
@misc{zhang2023deep,
  author = {Xiaoyun Zhang and Xieyi Ping and Jianwei Zhang},
  title = {{Deep Active Learning with Structured Neural Depth Search}},
  year = {2023},
  eprint = {2306.02808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.02808},
}
Figure