[Paper Review] Automatic Model Selection for Neural Networks
This paper proposes Automatic Model Selection (AMS), an evolutionary algorithm that automates neural network architecture and hyperparameter search using a novel list-based genotype encoding, custom crossover/mutation operators, and a fitness function balancing accuracy and model complexity. AMS efficiently identifies high-performing, compact models in under 5 minutes on standard hardware, outperforming hand-crafted baselines on benchmark datasets while supporting distributed execution.
Neural networks and deep learning are changing the way that artificial intelligence is being done. Efficiently choosing a suitable network architecture and fine-tune its hyper-parameters for a specific dataset is a time-consuming task given the staggering number of possible alternatives. In this paper, we address the problem of model selection by means of a fully automated framework for efficiently selecting a neural network model for a given task: classification or regression. The algorithm, named Automatic Model Selection, is a modified micro-genetic algorithm that automatically and efficiently finds the most suitable neural network model for a given dataset. The main contributions of this method are a simple list based encoding for neural networks as genotypes in an evolutionary algorithm, new crossover, and mutation operators, the introduction of a fitness function that considers both, the accuracy of the model and its complexity and a method to measure the similarity between two neural networks. AMS is evaluated on two different datasets. By comparing some models obtained with AMS to state-of-the-art models for each dataset we show that AMS can automatically find efficient neural network models. Furthermore, AMS is computationally efficient and can make use of distributed computing paradigms to further boost its performance.
Motivation & Objective
- To address the challenge of manual, time-consuming neural network architecture and hyperparameter selection for non-expert users.
- To develop a fully automated, scalable framework that simultaneously searches over model architecture and hyperparameters.
- To balance model performance and complexity to enable deployment on memory-constrained systems.
- To enable efficient, distributed execution of the search process for faster convergence.
- To provide an out-of-the-box solution for non-experts to obtain competitive neural network models without deep ML expertise.
Proposed method
- Encoding neural networks as simple lists of layer types and hyperparameters to enable efficient evolutionary computation.
- Designing specialized crossover and mutation operators that generate valid, structurally sound neural network architectures.
- Defining a composite fitness function that optimizes both model accuracy (on validation set) and architectural complexity (number of parameters).
- Introducing a similarity metric between neural networks to support diversity maintenance and evolutionary stability.
- Implementing a partial training strategy to accelerate fitness evaluation and reduce computational cost.
- Enabling parallel and distributed execution via integration with frameworks like Ray or Spark for scalability.
Experimental results
Research questions
- RQ1Can an evolutionary algorithm efficiently search the high-dimensional, hierarchical space of neural network architectures and hyperparameters?
- RQ2How well can an automated method balance model accuracy and complexity without manual intervention?
- RQ3Can the proposed method find competitive models faster and with less computational effort than manual or heuristic approaches?
- RQ4To what extent does the method scale using distributed computing frameworks?
- RQ5How does the similarity metric between neural networks contribute to the quality and diversity of the search process?
Key findings
- AMS found neural network models that achieved a test RMSE of 14.39 on the CMAPSS dataset, outperforming a hand-crafted Time Window MLP (15.16 RMSE) and a Deep MLP Ensemble (15.04 RMSE).
- The algorithm identified compact models with fewer than 1 million parameters, despite some models being an order of magnitude larger in parameter count than hand-crafted counterparts.
- AMS required less than 5 minutes on a medium-tier system with a modern CPU and GPU to find competitive models, demonstrating high computational efficiency.
- The method showed strong scalability, with performance boostable via distributed computing using frameworks like Ray or Spark.
- There was no clear correlation between model size and performance on the CMAPSS dataset, indicating that size alone is an insufficient proxy for model quality.
- The fitness function effectively balanced accuracy and complexity, yielding models that are both accurate and suitable for deployment in memory-constrained environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.