A hyperparameter optimization framework for transformer-based time series forecasting using evolutionary algorithms

Time series datasets often exhibit complex and diverse characteristics, including seasonal fluctuations, long-term trends, and irregular variations, which makes it difficult for a single, fixed machine learning model to achieve consistently accurate forecasts across different domains. To address this challenge, we introduce a neuroevolutionary framework for time series forecasting that integrates Evolutionary Algorithms with a Transformer Encoder designed for time series forecasting. This hybrid approach leverages the Transformer’s ability to capture short- and long-term dependencies while using evolutionary search to adjust the model’s hyperparameters to the unique dynamics of each dataset. In this work, we adopt an encoder-only Transformer architecture as a design choice motivated by computational efficiency and the nature of time series forecasting tasks, where the prediction does not require a full encoder–decoder structure. Its optimization is guided by evolutionary algorithms, namely Genetic Algorithm and one of the Estimation of Distribution Algorithms; the Population-Based Incremental Learning. The effectiveness of the approach is validated by benchmarking against ten publicly available univariate time series datasets that cover various patterns and structures. The results demonstrate the notable performance of the proposed model in terms of forecast precision and robustness, highlighting its ability to generalize across various time series scenarios.

Authors

Institutions

Publication Details

Journal
Neural Computing and Applications
Published
2026-03-27
DOI
https://doi.org/10.1007/s00521-026-11959-7
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A hyperparameter optimization framework for transformer-based time series forecasting using evolutionary algorithms

Nouf Alkaabi, Rabeb Mizouni, Sid Shakya
Neural Computing and Applications
Stock Market Forecasting Methods
article

A hyperparameter optimization framework for transformer-based time series forecasting using evolutionary algorithms

Nouf Alkaabi, Rabeb Mizouni, Sid Shakya
article en

Abstract

Time series datasets often exhibit complex and diverse characteristics, including seasonal fluctuations, long-term trends, and irregular variations, which makes it difficult for a single, fixed machine learning model to achieve consistently accurate forecasts across different domains. To address this challenge, we introduce a neuroevolutionary framework for time series forecasting that integrates Evolutionary Algorithms with a Transformer Encoder designed for time series forecasting. This hybrid approach leverages the Transformer’s ability to capture short- and long-term dependencies while using evolutionary search to adjust the model’s hyperparameters to the unique dynamics of each dataset. In this work, we adopt an encoder-only Transformer architecture as a design choice motivated by computational efficiency and the nature of time series forecasting tasks, where the prediction does not require a full encoder–decoder structure. Its optimization is guided by evolutionary algorithms, namely Genetic Algorithm and one of the Estimation of Distribution Algorithms; the Population-Based Incremental Learning. The effectiveness of the approach is validated by benchmarking against ten publicly available univariate time series datasets that cover various patterns and structures. The results demonstrate the notable performance of the proposed model in terms of forecast precision and robustness, highlighting its ability to generalize across various time series scenarios.

Neural Computing and ApplicationsVol. 38(7)
Khalifa University of Science and Technology (AE), EBTIC (AE)
Openalex Percentile: Top 7%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.