Two-stage random search–Bayesian optimization for CNN-based short-term load forecasting

Tuan Anh Nguyen, Thanh Ngoc Tran

Abstract


This study proposes a two-stage hyperparameter optimization pipeline for convolutional neural network (CNN)–based short-term electricity load forecasting. In the first stage, random search is used to broadly explore candidate configurations, including the number of filters in each convolutional layer, batch size, training epochs, and the loss function. In the second stage, Bayesian optimization based on the tree-structured Parzen estimator (TPE), implemented in Optuna, refines promising regions of the hyperparameter space to obtain a better-performing model. The optimized CNN is evaluated using half-hourly (30-minute) electricity demand data from New South Wales (NSW), Victoria (VIC), and Queensland (QLD), and is benchmarked against a baseline CNN, a multilayer perceptron (MLP), an extended short-term memory network, and single-stage optimization variants. Across the three regions, the proposed approach achieves mean absolute percentage error (MAPE) values between 1.05% and 1.14%, representing an improvement of approximately 58% over the baseline CNN. Statistical robustness is examined using paired Wilcoxon signed-rank tests with Holm–Bonferroni correction on per-timestamp errors. Overall, the results indicate that combining random search with Bayesian optimization improves CNN forecasting accuracy across the three studied regions and provides a transparent tuning framework for future replication.

Keywords


Bayesian optimization; Convolutional neural networks; Hyperparameter optimization; Random search; Short-term load forecasting

Full Text:

PDF


DOI: https://doi.org/10.11591/eei.v15i3.11030

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Bulletin of EEI Stats

Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191, e-ISSN: 2302-9285
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).