IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v66y2025i4d10.1007_s10614-024-10769-0.html

GA-LSTM: Performance Optimization of LSTM driven Time Series Forecasting

Author

Listed:
  • Uphar Singh

    (Indian Institute of Information Technology,Allahabad)

  • Kumar Saurabh

    (Indian Institute of Information Technology,Allahabad)

  • Neelaksh Trehan

    (Indian Institute of Information Technology,Allahabad)

  • Ranjana Vyas

    (Indian Institute of Information Technology,Allahabad)

  • O. P. Vyas

    (Indian Institute of Information Technology,Allahabad)

Abstract

These past few years, technology has simplified the process of gathering and arranging time series data. This paves the way for tremendous opportunities to gain helpful insights by analysing these data. Historically, statistical models have been used for time series analysis. These models work well for linear or univariate data but struggle to accurately capture complex nonlinear trends or when unpredictable external factors impact the data (such as stock or trading prices). Long Short-Term Memory (LSTM) has emerged as one of the most popular options for analysing time series data efficiently. However, there are still a few challenges associated with it. The main reason for this study is to discuss these shortcomings and propose an intelligent system to deal with these flaws. One of the challenges is the choice of hyperparameters, which are handled successfully using the Genetic Algorithm (GA) to optimise the LSTM method’s hyperparameters and its variants. In this case, the GA solves the combinatorial optimization problem of finding the optimal hyper-parameters for the LSTM model and selecting the appropriate features from the data set. The proposed model has experimented on the National Stock Exchange-Fifty (NIFTY-50) dataset and found that the accuracy of all LSTM variants was improved. On average, the GA improved the performance of LSTM models by 60.11%. The Bidirectional LSTM model performs best with a root mean square error of an average of 66.39% and mean absolute error of an average of 49.43% after optimization, followed by the classic LSTM and the stacked LSTM models. The combination of LSTM with GA holds promise for enhancing the predictive power of time series analysis in various fields.

Suggested Citation

  • Uphar Singh & Kumar Saurabh & Neelaksh Trehan & Ranjana Vyas & O. P. Vyas, 2025. "GA-LSTM: Performance Optimization of LSTM driven Time Series Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 66(4), pages 2873-2908, October.
  • Handle: RePEc:kap:compec:v:66:y:2025:i:4:d:10.1007_s10614-024-10769-0
    DOI: 10.1007/s10614-024-10769-0
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-024-10769-0
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-024-10769-0?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Li, Wei & Becker, Denis Mike, 2021. "Day-ahead electricity price prediction applying hybrid models of LSTM-based deep learning methods and feature selection algorithms under consideration of market coupling," Energy, Elsevier, vol. 237(C).
    2. Aadhitya A & Rajapriya R & Vineetha R S & Anurag M Bagde, 2023. "Predicting Stock Market Time-Series Data using CNN-LSTM Neural Network Model," Papers 2305.14378, arXiv.org.
    3. Wenjie Lu & Jiazheng Li & Yifan Li & Aijun Sun & Jingyang Wang, 2020. "A CNN-LSTM-Based Model to Forecast Stock Prices," Complexity, Hindawi, vol. 2020, pages 1-10, November.
    4. Evangelos Spiliotis, 2023. "Time Series Forecasting with Statistical, Machine Learning, and Deep Learning Methods: Past, Present, and Future," Palgrave Advances in Economics of Innovation and Technology, in: Mohsen Hamoudia & Spyros Makridakis & Evangelos Spiliotis (ed.), Forecasting with Artificial Intelligence, chapter 0, pages 49-75, Palgrave Macmillan.
    5. Guilian Feng, 2024. "Feature selection algorithm based on optimized genetic algorithm and the application in high-dimensional data processing," PLOS ONE, Public Library of Science, vol. 19(5), pages 1-24, May.
    6. Wei Li & Denis Mike Becker, 2021. "Day-ahead electricity price prediction applying hybrid models of LSTM-based deep learning methods and feature selection algorithms under consideration of market coupling," Papers 2101.05249, arXiv.org, revised Jul 2021.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Cheng Zhang & Nilam Nur Amir Sjarif & Roslina Ibrahim, 2023. "Deep learning models for price forecasting of financial time series: A review of recent advancements: 2020-2022," Papers 2305.04811, arXiv.org, revised Sep 2023.
    2. Yuzhe Jiang & Weiqing Sun, 2025. "Day-Ahead Electricity Price Prediction and Error Correction Method Based on Feature Construction–Singular Spectrum Analysis–Long Short-Term Memory," Energies, MDPI, vol. 18(4), pages 1-22, February.
    3. Zhenya Liu & Nawazish Mirza & Rongyu You & Yaosong Zhan, 2026. "Understanding the complexity of futures markets investing in China: evidence from deep learning techniques," Annals of Operations Research, Springer, vol. 357(1), pages 409-440, February.
    4. Wang, Jun & Cao, Junxing, 2024. "Reservoir properties inversion using attention-based parallel hybrid network integrating feature selection and transfer learning," Energy, Elsevier, vol. 304(C).
    5. Sergio Cantillo-Luna & Ricardo Moreno-Chuquen & Jesus Lopez-Sotelo & David Celeita, 2023. "An Intra-Day Electricity Price Forecasting Based on a Probabilistic Transformer Neural Network Architecture," Energies, MDPI, vol. 16(19), pages 1-24, September.
    6. Hakan Acaroğlu & Fausto Pedro García Márquez, 2021. "Comprehensive Review on Electricity Market Price and Load Forecasting Based on Wind Energy," Energies, MDPI, vol. 14(22), pages 1-23, November.
    7. My Thi Diem Phan & Trung Tuyen Truong & Hoai Phuong Ha & Dat Thanh Nguyen, 2026. "Electricity price forecasting across Norway's five bidding zones in the post-crisis era," Papers 2604.26634, arXiv.org, revised Jun 2026.
    8. Olivares, Kin G. & Challu, Cristian & Marcjasz, Grzegorz & Weron, Rafał & Dubrawski, Artur, 2023. "Neural basis expansion analysis with exogenous variables: Forecasting electricity prices with NBEATSx," International Journal of Forecasting, Elsevier, vol. 39(2), pages 884-900.
    9. Fu, Yang & Shan, Jie & Li, Zhenkun & Xie, BoLin & Pan, Jeng-Shyang, 2025. "The optimal bidding strategy for multi-energy prosumers in the double auction electricity-heat market: A bidding space model," Energy, Elsevier, vol. 314(C).
    10. Yang, Liuyu & An, Yuan & Zhang, Gang & Xie, Tuo & Liu, Mengxin, 2026. "Day-ahead electricity price forecasting method integrating multi-scale hypergraph features and dual-layer transformer," Applied Energy, Elsevier, vol. 407(C).
    11. van Zyl, Corne & Ye, Xianming & Naidoo, Raj, 2024. "Harnessing eXplainable artificial intelligence for feature selection in time series energy forecasting: A comparative analysis of Grad-CAM and SHAP," Applied Energy, Elsevier, vol. 353(PA).
    12. Zhao, Chen & Zhou, Hang, 2025. "Optimizing load response programs in generation expansion planning: A real-time pricing scenario with responsive load aggregators," Renewable Energy, Elsevier, vol. 239(C).
    13. Shi, Tao & Li, Chongyang & Zhang, Wei & Zhang, Yi, 2023. "Forecasting on metal resource spot settlement price: New evidence from the machine learning model," Resources Policy, Elsevier, vol. 81(C).
    14. Dounia El Bourakadi & Hiba Ramadan & Ali Yahyaouy & Jaouad Boumhidi, 2023. "A robust energy management approach in two-steps ahead using deep learning BiLSTM prediction model and type-2 fuzzy decision-making controller," Fuzzy Optimization and Decision Making, Springer, vol. 22(4), pages 645-667, December.
    15. Schneider, Nicolas & Strielkowski, Wadim, 2023. "Modelling the unit root properties of electricity data—A general note on time-domain applications," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 618(C).
    16. Ziyang Wang & Masahiro Mae & Takeshi Yamane & Masato Ajisaka & Tatsuya Nakata & Ryuji Matsuhashi, 2024. "Novel Custom Loss Functions and Metrics for Reinforced Forecasting of High and Low Day-Ahead Electricity Prices Using Convolutional Neural Network–Long Short-Term Memory (CNN-LSTM) and Ensemble Learning," Energies, MDPI, vol. 17(19), pages 1-15, September.
    17. Xiong, Xiaoping & Qing, Guohua, 2023. "A hybrid day-ahead electricity price forecasting framework based on time series," Energy, Elsevier, vol. 264(C).
    18. Bendiksen, Vidar & Løining, Lars Olai Fjellestad & Lyócsa, Štefan, 2025. "Cross-border and cross-regional electricity transmission: Is there a price impact in south Norway?," Energy Economics, Elsevier, vol. 150(C).
    19. Daniel Manfre Jaimes & Manuel Zamudio López & Hamidreza Zareipour & Mike Quashie, 2023. "A Hybrid Model for Multi-Day-Ahead Electricity Price Forecasting considering Price Spikes," Forecasting, MDPI, vol. 5(3), pages 1-23, July.
    20. Shu-Chu Liu & Quan-Ying Jian & Hsien-Yin Wen & Chih-Hung Chung, 2022. "A Crop Harvest Time Prediction Model for Better Sustainability, Integrating Feature Selection and Artificial Intelligence Methods," Sustainability, MDPI, vol. 14(21), pages 1-13, October.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:kap:compec:v:66:y:2025:i:4:d:10.1007_s10614-024-10769-0. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.