ORIGINAL RESEARCH article
Front. Artif. Intell.
Sec. AI in Finance
Closing Stock Price Prediction via Lasso-Regularized BiGRU and BiLSTM with Attention Mechanism: A Regression Approach
- PA
Pandiaraj A
- BP
Boominathan P
VIT University School of Computer Science and Engineering, Vellore, India
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Abstract
Stock price forecasting remains challenging because financial markets exhibit nonlinear dynamics, volatility, temporal dependence, and heterogeneous information availability. This study proposes a leakage-controlled hybrid framework integrating consensus feature screening, Lasso regularization, Bidirectional Gated Recurrent Units (BiGRU), Bidirectional Long Short-Term Memory (BiLSTM), and temporal Attention for one-step-ahead closing-price forecasting. Daily market observations and quarterly financial fundamentals from five NSE-listed equities Axis Bank, ICICI Bank, Kotak Mahindra Bank, Infosys, and TCS were temporally aligned using verified NSE disclosure dates, with a 45-day boundary applied where historical disclosure timestamps were unavailable. RF-RFE, SelectKBest, and Boruta reduced 24 candidate variables to 14 inputs, which were modelled using a 30-trading-day historical window. Five-fold expanding-window walk-forward validation preserved chronological order and restricted model development to information available at each forecast origin. The framework was evaluated against statistical, machine-learning, recurrent, and hybrid benchmarks using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE). Robustness was examined through controlled ablation, reporting-lag sensitivity, ten training seeds, block-bootstrap confidence intervals, and Diebold–Mariano testing with Newey–West and Harvey–Leybourne–Newbold corrections. The proposed framework achieved RMSE values of 0.035, 0.031, 0.032, 0.032, and 0.028 across the five equities, yielding an average RMSE of 0.0316. Compared with the strongest non-proposed baseline, the standalone XGBoost Regressor (RMSE 0.0435), the proposed framework achieved a 27.36% reduction in RMSE. XGBoost-LSTM achieved an RMSE of 0.0474 and is retained as a secondary hybrid comparison. Diebold–Mariano results confirmed statistically significant predictive-accuracy improvements over the benchmark models.
Summary
Keywords
attention mechanism, BiGRU, Feature Selection, Financial service sector, regression, Stock price prediction
Received
01 July 2026
Accepted
28 September 2026
Copyright
© 2026 A and P. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Boominathan P
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.