This repository contains the implementation for Neural Architecture Search (NAS) and Active Learning fine-tuning on Cosmic Ray imaging data using NAS-Bench-201.
Install the required Python packages:
pip install -r requirements.txtEnsure the NATS-Bench benchmark data is extracted under data/NATS-tss-v1_0-3ffb9-simple.
Query pre-weighted architectures and rank NAS-Bench-201 benchmark scores:
python extract_data.py --mode lookupTrain and evaluate the Random Forest / XGBoost performance predictor:
python performance_predictor.pyRun the predictor-guided evolutionary architecture search with active learning fine-tuning:
python evolutionary_search.pyFine-tune selected architectures on the Cosmic dataset for 5 epochs:
python cosmic_dataset_finetune.py --arch_indices "13551,3782" --epochs 5 --preloadGenerate publication plots (Figures 1–3) and statistical reports:
python analyze_al_log.pyevolutionary_search.py– Evolutionary algorithm with active learning feedback loop.performance_predictor.py– Random Forest & XGBoost predictor trained via Kendall-τ HPO.cosmic_dataset_finetune.py– Fine-tunes PixelClassifier decoders on Cosmic Ray data.cosmic_utils.py– Data loaders, metrics (AUROC/TPR/FNR), and model constructors.analyze_al_log.py– Plotting script for search trajectories and correlation statistics.extract_data.py– NATS-Bench benchmark query tool.