Evolving Neural Selection with Adaptive Regularization

Li Ding, Lee Spector

Abstract

Deep neural networks are often over-parameterized, leading to significant overfitting. Traditional regularization methods like Dropout apply a uniform penalty regardless of input complexity. This paper introduces Adaptive Neural Selection (ANS), a novel framework that dynamically selects a custom sub-network for each input. By utilizing a self-attention mechanism and an accuracy-dependent regularization penalty, ANS effectively scales model capacity to match the difficulty of the task. Experimental results on CIFAR-10 and CIFAR-100 demonstrate that ANS consistently outperforms standard Dropout and vanilla architectures in both accuracy and training efficiency.

Introduction

The excessive capacity of modern deep learning models often results in the memorization of training data rather than the learning of generalizable features. While Dropout mitigates this by randomly disabling neurons, it treats "easy" and "hard" inputs identically. For instance, distinguishing a car from a dog requires less representational power than distinguishing two similar dog breeds. A static regularization approach can thus lead to underfitting on complex cases or overfitting on simple ones.

The ANS Framework

Adaptive Neural Selection (ANS) addresses this by "evolving" input-specific architectures during training. The framework consists of two core components:

  1. Self-Attention Module: A lightweight attention layer predicts weights for each neuron in a target layer based on the input. These weights act as soft gates, effectively activating a specific sub-network optimized for the current sample.
  2. Adaptive Regularization: To prevent the model from simply using all available neurons, an $L_1$ penalty is applied to the attention weights. Crucially, the strength of this penalty ($\gamma$) is dynamic, calculated as $\gamma = \alpha \cdot M^\beta$, where $M$ is the current batch accuracy.
Comparison of Ordinary NN, Dropout, and ANS architectures.

As shown in the figure above, ANS allows the network to maintain high density for "Hard Cases" while enforcing sparsity for "Easy Cases," ensuring that parameters are utilized where they are most needed. Unlike standard Dropout, which applies a fixed probability of deactivation across all samples, ANS tailors the active sub-network to the input's complexity. This approach draws inspiration from evolutionary computing concepts like "lexicase selection," where hard cases drive the evolution of better solutions.

Experimental Evaluation

The authors evaluated ANS on the CIFAR-10 and CIFAR-100 datasets using ResNet-50 and VGG-16 architectures. CIFAR-100, with its 100 fine-grained classes, provided a particularly rigorous test for the difficulty-driven capacity of ANS. Unlike other automated dropout methods that require massive computational resources for architecture search, ANS is trained via standard back-propagation, making it practical for real-world applications.

Key Results

ANS demonstrated superior performance across all benchmarks:

  • ResNet-50 on CIFAR-100: ANS achieved 78.08% accuracy, compared to 76.65% for the vanilla model. Notably, standard Dropout actually decreased performance on this specific architecture.
  • VGG-16 on CIFAR-100: ANS reached 65.21% accuracy, surpassing both the vanilla (62.30%) and best Dropout (64.57%) configurations.
  • Efficiency: ANS improved training stability and, in the case of ResNet-50, accelerated convergence by focusing learning efforts on challenging samples.

Conclusion and Future Work

Adaptive Neural Selection offers a practical and efficient way to manage model capacity. By linking regularization strength to real-time performance metrics, it ensures that neural networks remain sparse when possible and complex when necessary.

Future research will focus on extending ANS to convolutional layers by evolving specific kernel structures. Additionally, the authors suggest that combining ANS with non-gradient neuroevolutionary techniques could further refine how sub-networks are selected, potentially leading to the evolution of entire architectures based on input difficulty.

Summary updated

BibTeX
@inproceedings{ding2021evolving,
  author = {Li Ding and Lee Spector},
  title = {{Evolving Neural Selection with Adaptive Regularization}},
  booktitle = {GECCO Companion},
  year = {2021},
}
Figure