Go to file
2024-08-31 15:53:35 +02:00
AutoDL-Projects add autodl 2024-08-25 18:02:31 +02:00
datasets first commit 2024-02-20 17:59:33 +11:00
NAS-Bench-201 add nasbench201 2024-08-23 14:22:28 +02:00
src add aircraft in utilities 2024-08-31 15:52:00 +02:00
.gitignore update gitignore for merge 2024-08-31 15:53:35 +02:00
analyze.py update over 60k plots 2024-08-31 15:50:12 +02:00
calculate_datasets_statistics.py add resize to resize the images; cancel the acc; update the folder path 2024-08-31 15:49:42 +02:00
correlation.py add resize to resize the images; cancel the acc; update the folder path 2024-08-31 15:49:42 +02:00
LICENSE.md Create LICENSE.md 2024-08-15 22:49:48 +10:00
preprocess_aircraft.py add resize to resize the images; cancel the acc; update the folder path 2024-08-31 15:49:42 +02:00
README.md Update README.md 2024-05-30 13:19:49 +10:00
requirements.txt first commit 2024-02-20 17:59:33 +11:00

Sample-Wise Activation Patterns for Ultra-Fast NAS
(ICLR 2024 Spotlight)

SWAP-Score, based on sample-wise activation patterns, is a metric that assesses the performance of neural networks without training.

Usage

The following instruction demonstrates the usage of evaluating network's performance through SWAP-Score.

/src/metrics/swap.py contains the core components of SWAP-Score.

/datasets/DARTS_archs_CIFAR10.csv contains 1000 architectures (randomly sampled from DARTS search space) along with their CIFAR-10 validation accuracies (trained for 200 epochs).

  • Install necessary dependencies (a new virtual environment is suggested).
cd SWAP
pip install -r requirements.txt
  • Calculate the correlation between SWAP-Score and CIFAR-10 validation accuracies of 1000 CNN architectures.
python correlation.py

If you use or build on our code, please consider citing our paper:

@inproceedings{
peng2024swapnas,
title={{SWAP}-{NAS}: Sample-Wise Activation Patterns for Ultra-fast {NAS}},
author={Yameng Peng and Andy Song and Haytham M. Fayek and Vic Ciesielski and Xiaojun Chang},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=tveiUXU2aa}
}