mohyunho/NAS_transformer
Evolutionary Neural Architecture Search on Transformers for RUL Prediction
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
NAS_transformer
Evolutionary Neural Architecture Search on Transformers for RUL Prediction
This work introduces a custom genetic algorithm (GA) based neural architecture search (NAS) technique that automatically finds the optimal architectures of Transformers for RUL predictions. Our GA provides a fast and efficient search, finding high-quality solutions based on performance predictor that is updated at every generation, thus reducing the needed network training. Note that the backbone architecture is the Transformer for RUL predictions and the preformance predictor is the NGBoost model
The proposed algorithm explores the below combinatorial parameter space defining the architecture of the Transformer model.
Prerequisites
Our work has the following dependencies:
pip install -r requirements.txt
Descriptions
- data_process_update_valid.py: to process multivariate time series data for preparing inputs for the Transformer.
- initialization_LHS.py: to perform the full training of the networks selected by LHS and to collect their validation RMSE to be used for training NGBoost.
- enas_transformer_cma_retraining.py: to run the evolutionary search and to find the solutions.
- topk_test.py: to calculate the test RMSE of each solution.
Run
Data preparation
python3 data_process_update_valid.py --subdata 001 -w 40 -s 1 --vs 20
Predictor initialization
python3 initialization_LHS.py --subdata 001 -w 40 -t 0 -ep 100 -n_samples 100 -pt 10
Evolutionary NAS
python3 enas_transformer_cma_retraining.py --subdata 001 -w 40 --pop 1000 --gen 10 -t 0 -ep 100
Test results
python3 topk_test.py --subdata 001 -w 40 -t 0 -ep_init 100 -ep_train 100 --pop 1000 --gen 10 --model "NGB" -topk 10 -sp 100 -n_samples 100 --sc "ga_retrain"
Results
The performance of the discovered solutions in terms of test RMSE
| Metrics \ sub-datasets | FD001 | FD002 | FD003 | FD004 | SUM |
|---|---|---|---|---|---|
| Test RMSE | 11.50 | 16.14 | 11.35 | 20.00 | 58.99 |
| s-score | 202 | 1131 | 227 | 2299 | 3858 |
References
H. Mo and G. Iacca,
Evolutionary neural architecture search on transformers for remaining useful life prediction,
Materials and Manufacturing Processes, 2023,
https://doi.org/10.1080/10426914.2023.2199499.
Bibtex entry ready to be cited
@article{mo2023evolutionary,
title={Evolutionary neural architecture search on transformers for RUL prediction},
author={Mo, Hyunho and Iacca, Giovanni},
journal={Materials and Manufacturing Processes},
pages={1--18},
year={2023},
publisher={Taylor \& Francis}
}
Similar Projects
Discover other similar projects and AI models.
Transforming Neural Architecture Search (NAS) into multi-objective optimization problems. A benchmark suite for testing evolutionary algorithms in deep learning.
LoongFlow is an expert-grade Agent framework for Loop Engineering. Through a Plan-Execute-Summary loop and structured experiential memory, it enables AI to continuously think, execute, reflect, and evolve across complex software engineering, mathematical, and machine learning tasks.
EvoMO is a GPU-accelerated library for evolutionary multiobjective optimization (EMO)
The NASA Prognostic Python Packages is a Python framework focused on defining and building models and algorit for prognostics (computation of remaining useful life) of engineering systems, and provides a set of models and algorithms for select components developed within this framework, suitable for use in prognostic applications.
RUL prediction for C-MAPSS dataset, reproduction of this paper: https://personal.ntu.edu.sg/xlli/publication/RULAtt.pdf
A collection of datasets for RUL estimation as Lightning Data Modules.
In this project I aim to apply Various Predictive Maintenance Techniques to accurately predict the impending failure of an aircraft turbofan engine.