A Training-Free Neural Architecture Search Algorithm Based on Search Economics (TNASSE) PDF
This is the companion code for the IEEE TEVC paper: A Training-Free Neural Architecture Search Algorithm Based on Search Economics
If you have any questions regarding the paper or encounter any issues while attempting to reproduce the results, please do not hesitate to contact us via email or by opening an issue. We will be happy to assist you.
This repository contains an implementation of an efficient Neural Architecture Search (NAS) algorithm that is based on an improved version of the Search Economics (SE) metaheuristic algorithm and a novel training-free score function.
The proposed NAS algorithm uses the expected value of each region in the search space to guide the search, enabling it to focus on high-potential regions and significantly reduce computation time. We aim to overcome the limitations of existing training-free methods that use simple metaheuristic algorithms and score functions that may misjudge the quality of a neural architecture. Experimental results show that the proposed NAS algorithm can find a similar or better result than most non-training-free NAS algorithms, but with a much shorter computation time. The article's contributions can be summarized as a more efficient and accurate method for NAS.
For more details, please refer to our paper.
Clone this repo:
git clone https://github.com/cwtsaiai/TNASSE.git
We provide a conda environment setup file. Create a conda environment tnasse
by running:
conda env create -f env.yml
Activate the environment:
conda activate tnasse
You can find the pycls
module at 1 and 2.
Benchmark datasets used in this study:
-
NAS-Bench-101: Download nasbench_only108.tfrecord file and place it in searchspace folder.
-
NAS-Bench-201: Download NAS-Bench-201-v1_1-096897.pth file and place it in searchspace folder.
-
NATS-Bench-SSS: Download NATS-sss-v1_0-50262-simple.tar file and place it in searchspace folder.
Here we provide a script to reproduce the results
./search.sh
Meng-Ting Wu, Hung-I Lin, Chun-Wei Tsai, "A Training-Free Neural Architecture Search Algorithm Based on Search Economics", IEEE Transactions on Evolutionary Computation (TEVC), 2023, In Press.
@ARTICLE{Wu-2023,
author={Wu, Meng-Ting and Lin, Hung-I and Tsai, Chun-Wei},
journal={IEEE Transactions on Evolutionary Computation},
title={A Training-Free Neural Architecture Search Algorithm Based on Search Economics},
doi={10.1109/TEVC.2023.3264533},
year={2023, In Press}
}