Multi-objective neural architecture search benchmarks using stored measurements and surrogate models, enabling architecture evaluation without training networks or requiring GPUs.
Access rate limit exceeded. Please log in to continue.
π Neural Architecture Search as Multiobjective Optimization Benchmarks: Problem Formulation and Performance Assessment π
EvoXBench is a platform offering instant benchmarking of evolutionary multi-objective optimization (EMO) algorithms in neural architecture search (NAS), with ready to use test suites. It facilitates efficient performance assessments with NO requirement of GPUs or PyTorch/TensorFlow, enhancing accessibility for a broader range of research applications. It encompasses extensive test suites that cover a variety of datasets (CIFAR10, ImageNet, Cityscapes, etc.), search spaces (NASBench101, NASBench201, NATS, DARTS, ResNet50, Transformer, MNV3, MoSegNAS, etc.), and hardware devices (Eyeriss, GPUs, Samsung Note10, etc.). It provides a versatile interface compatible with multiple programming languages (Java, Matlab, Python, etc.).
Current source version
The GitLab main branch declares 1.0.5 in setup.py. It includes the
CitySeg/MOP10 and CitySeg/MOP hypervolume fixes. Install the source checkout below
to use this branch; a package version number alone does not identify a Git commit.
βοΈ Key Features
π General NAS Problem Formulation
- Formulating NAS tasks into general multi-objective optimization problems.
- Exploring NAS's nuanced traits through the prism of evolutionary optimization.
π οΈ Efficient Benchmarking Pipeline
- Presenting an end-to-end workflow for instant benchmark assessments of EMO algorithms.
- Providing instant fitness evaluations as numerical optimization.
π Comprehensive Test Suites
- Encompassing a wide spectrum of datasets, search spaces, and hardware devices.
- Ready-to-use test multi-objective optimization suites with up to eight objectives.
Get Started
Tap the image to embark on the introductory video voyage.
Setup & Installation
-
Download requisite files:
-
database.zipvia Google Drive or BaiduδΊηοΌζεη οΌmhgsοΌ -
data.zipvia Google Drive or BaiduδΊηοΌζεη οΌ9z45οΌ
-
-
Install the current GitLab source in a separate Python environment:
git clone --branch main https://gitlab.com/emi-lab/evoxbench.git cd evoxbench python -m pip install -e . python -m pip install pymoosetup.pydeclares Python>=3.7,<4; supported Python versions also depend on the resolved dependencies.pymoois needed for IGD/HV performance indicators but is not installed by the package metadata. The database and surrogate-model archives are separate downloads; they are not bundled with the Python package. -
Extract both archives, then configure their absolute paths in a Python process:
from evoxbench.database.init import config
config("Path to database", "Path to data")
# For instance:
# With this structure:
# /home/Downloads/
# ββ database/
# | | __init__.py
# | | db.sqlite3
# | | ...
# |
# ββ data/
# ββ darts/
# ββ mnv3/
# ββ ...
# Then, execute:
# config("/home/Downloads/database", "/home/Downloads/data")
Restart Python after config(...): the saved model path is loaded by
auto_config() when EvoXBench is imported in the new process.
For example, after configuration, evaluate a small CIFAR-10 NAS batch:
from evoxbench.test_suites import c10mop
benchmark = c10mop(1)
architectures = benchmark.search_space.sample(4)
X = benchmark.search_space.encode(architectures)
F = benchmark.evaluate(X)
print(F.shape) # (4, 2): error and parameter count
The database must be configured before importing the benchmark/test-suite modules. These benchmarks query stored measurements or surrogate models; they do not train neural networks during each evaluation.
About the Database
Explore our comprehensive database and understand its structure and content. Check it out here.
Community & Support
- Use GitLab issues for bugs or questions.
- Submit your enhancements through a merge request (MR).
- We have an active QQ group (ID: 297969717).
- Official Website: https://evox.group/
Sister Projects
- EvoX: A computing framework for distributed GPU acceleration of evolutionary computation, supporting a wide spectrum of evolutionary algorithms and test problems. Check out here.
Citing EvoXBench
If you use EvoXBench in your research and want to cite it in your work, please use:
@article{EvoXBench,
title={Neural Architecture Search as Multiobjective Optimization Benchmarks: Problem Formulation and Performance Assessment},
author={Lu, Zhichao and Cheng, Ran and Jin, Yaochu and Tan, Kay Chen and Deb, Kalyanmoy},
journal={IEEE Transactions on Evolutionary Computation},
year={2023},
publisher={IEEE}
}
Acknowledgements
A big shoutout to the following projects that have made EvoXBench possible:
NAS-Bench-101, NAS-Bench-201, NAS-Bench-301, NATS-Bench, Once for All, AutoFormer, Django, pymoo.
Introduction
Multi-objective neural architecture search benchmarks using stored measurements and surrogate models, enabling architecture evaluation without training networks or requiring GPUs.
Customize your domain