IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v66y2025i3d10.1007_s10614-024-10796-x.html
   My bibliography  Save this article

MLBGK: A Novel Feature Fusion Model for Forecasting Stocks Prices

Author

Listed:
  • Yonghong Li

    (Chongqing University of Posts and Telecommunications)

  • Zhixian Li

    (Chongqing University of Posts and Telecommunications)

  • Yuting Chen

    (Chongqing University of Posts and Telecommunications)

  • Yayun Wang

    (Chongqing University of Posts and Telecommunications)

  • Sidong Xian

    (Chongqing University of Posts and Telecommunications)

  • Zhiqiang Zhao

    (Chongqing University of Posts and Telecommunications)

  • Linyan Zhou

    (Chongqing University of Posts and Telecommunications)

  • Ji Li

    (North China University of Technology)

Abstract

Stock price prediction is a formidable undertaking owing to the inherent challenges posed by prolonged dependencies, high-frequency oscillations, and nonlinear attributes within stock price data. In response to these challenges, only one algorithm is typically used to capture the time series characteristics of stocks in previous studies. Although these methods each have the ability to achieve a certain level of predictive accuracy, they all have certain limitations due to the fluctuation of stock prices. In this paper, a novel predictive model termed Mask-LSTM-BiLSTM-GRU-KNN (MLBGK) is designed to augment the precision of stock price predictions by using three different algorithms to extract time series features of stock data. It begins by employing improved Long Short-Term Memory (Mask-LSTM), improved Bidirectional Long Short-Term Memory (Mask-BiLSTM), and improved Gated Recurrent Unit (Mask-GRU) to extract temporal features from sequential data. Subsequently, the extracted features are integrated, and ultimately, the K-Nearest Neighbors (KNN) algorithm is applied to forecast the closing price of stocks. The mask layer added to the traditional neural network is to reduce the influence of noise on the prediction effect. The improved neural network architectures combined with KNN algorithm are to improve the prediction ability of the model in the complex field of stock price prediction. The experimental results on datasets such as GOOGL, AMZN, AAPL stocks, and Bitcoin prices(BTCUSD) have shown that, across a spectrum of scenarios, the proposed model consistently demonstrates superior accuracy in stock price prediction when juxtaposed with four alternative methods, namely LSTM, BiLSTM, GRU, and LSTM-BiLSTM-GRU-KNN.

Suggested Citation

  • Yonghong Li & Zhixian Li & Yuting Chen & Yayun Wang & Sidong Xian & Zhiqiang Zhao & Linyan Zhou & Ji Li, 2025. "MLBGK: A Novel Feature Fusion Model for Forecasting Stocks Prices," Computational Economics, Springer;Society for Computational Economics, vol. 66(3), pages 2565-2592, September.
  • Handle: RePEc:kap:compec:v:66:y:2025:i:3:d:10.1007_s10614-024-10796-x
    DOI: 10.1007/s10614-024-10796-x
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-024-10796-x
    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-10796-x?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. Jilin Zhang & Lishi Ye & Yongzeng Lai, 2023. "Stock Price Prediction Using CNN-BiLSTM-Attention Model," Mathematics, MDPI, vol. 11(9), pages 1-18, April.
    2. Svetlana Borovkova & Ioannis Tsiamas, 2019. "An ensemble of LSTM neural networks for high‐frequency stock market classification," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 38(6), pages 600-619, September.
    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. Zeng, Qing & Lu, Xinjie & Xu, Jin & Lin, Yu, 2024. "Macro-Driven Stock Market Volatility Prediction: Insights from a New Hybrid Machine Learning Approach," International Review of Financial Analysis, Elsevier, vol. 96(PB).
    2. Norjiah Muslim & Rosita Binti Hussin & Fatin Fasihah Binti Johari, 2025. "From Data To Decision: Empowering Companies and Investors With Hybrid AI Stock Prediction Method," International Journal of Research and Innovation in Social Science, International Journal of Research and Innovation in Social Science (IJRISS), vol. 9(6), pages 561-573, June.
    3. Mohammad Zoynul Abedin & Mahmudul Hasan Moon & M. Kabir Hassan & Petr Hajek, 2025. "Deep learning-based exchange rate prediction during the COVID-19 pandemic," Annals of Operations Research, Springer, vol. 345(2), pages 1335-1386, February.
    4. Yuanrong Wang & Yinsen Miao & Alexander CY Wong & Nikita P Granger & Christian Michler, 2023. "Domain-adapted Learning and Interpretability: DRL for Gas Trading," Papers 2301.08359, arXiv.org, revised Sep 2023.
    5. Flori, Andrea & Regoli, Daniele, 2021. "Revealing Pairs-trading opportunities with long short-term memory networks," European Journal of Operational Research, Elsevier, vol. 295(2), pages 772-791.
    6. Qizhao Chen & Hiroaki Kawashima, 2025. "Adaptive Alpha Weighting with PPO: Enhancing Prompt-Based LLM-Generated Alphas in Quant Trading," Papers 2509.01393, arXiv.org.
    7. Tölö, Eero, 2020. "Predicting systemic financial crises with recurrent neural networks," Journal of Financial Stability, Elsevier, vol. 49(C).
    8. Firuz Kamalov & Linda Smail & Ikhlaas Gurrib, 2021. "Stock price forecast with deep learning," Papers 2103.14081, arXiv.org.
    9. Firuz Kamalov, 2019. "Forecasting significant stock price changes using neural networks," Papers 1912.08791, arXiv.org.
    10. Adam Korniejczuk & Robert Ślepaczuk, 2024. "Statistical arbitrage in multi-pair trading strategy based on graph clustering algorithms in US equities market," Working Papers 2024-09, Faculty of Economic Sciences, University of Warsaw.
    11. Yiming Qian, 2025. "An enhanced Transformer framework with incremental learning for online stock price prediction," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-19, January.
    12. Gil Cohen, 2022. "Artificial Intelligence in Trading the Financial Markets," International Journal of Economics & Business Administration (IJEBA), International Journal of Economics & Business Administration (IJEBA), vol. 0(1), pages 101-110.
    13. Hussain, Syed Mujahid & Ahmad, Nisar & Ahmed, Sheraz, 2023. "Applications of high-frequency data in finance: A bibliometric literature review," International Review of Financial Analysis, Elsevier, vol. 89(C).
    14. Hong Cao & Hao Chen & Yulong Lian & Hong-Kun Zhang, 2025. "Volatility-informed SPY forecasting: From CGR-SPY analysis to DLSTM prediction," PLOS Complex Systems, Public Library of Science, vol. 2(8), pages 1-16, August.
    15. Nestoras Chalkidis & Rahul Savani, 2021. "Trading via Selective Classification," Papers 2110.14914, arXiv.org, revised Oct 2021.
    16. Zi‐yu Chen & Fei Xiao & Xiao‐kang Wang & Min‐hui Deng & Jian‐qiang Wang & Jun‐Bo Li, 2022. "Stochastic configuration network based on improved whale optimization algorithm for nonstationary time series prediction," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(7), pages 1458-1482, November.
    17. Riaz Ud Din & Salman Ahmed & Saddam Hussain Khan, 2024. "A Novel Decision Ensemble Framework: Customized Attention-BiLSTM and XGBoost for Speculative Stock Price Forecasting," Papers 2401.11621, arXiv.org.
    18. Ibanga Kpereobong Friday & Sarada Prasanna Pati & Debahuti Mishra & Pradeep Kumar Mallick & Sachin Kumar, 2025. "CAGTRADE: Predicting Stock Market Price Movement with a CNN-Attention-GRU Model," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 32(2), pages 583-608, June.
    19. Ming Shi & Roznim Mohamad Rasli & Shir Li Wang, 2025. "STAGE framework: A stock dynamic anomaly detection and trend prediction model based on graph attention network and sparse spatiotemporal convolutional network," PLOS ONE, Public Library of Science, vol. 20(3), pages 1-26, March.
    20. Giovanni Ballarin & Jacopo Capra & Petros Dellaportas, 2025. "Multi-Horizon Echo State Network Prediction of Intraday Stock Returns," Papers 2504.19623, arXiv.org.

    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:3:d:10.1007_s10614-024-10796-x. 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.