OriginalPaper | Open access | Published: December 1, 2026

BiLSTM with Attention Mechanism for Predicting Unilever Indonesia Stock Price Trends

Zulkifli Rais, Muhammad Fahmuddin S, Syarifa Ghefira Adiazzahra
JINAV: Journal of Information and Visualization, Vol. 7 No. 3 (2026) https://doi.org/10.35877/454RI.jinav5029 Published: 2026-12-01
Get Permissions

Abstract

Prediction plays an important role in decision making based on historical data. This study implements the Bidirectional Long Short-Term Memory (BiLSTM) model with an Attention Mechanism to predict the weekly stock price of Unilever Indonesia. The data used consists of Unilever Indonesia’s weekly stock price from May 2015 to May 2025. BiLSTM is employed to capture long-term dependencies in both forward and backward directions, while the Attention Mechanism is utilized to assign greater weight to the most relevant information, thereby enhancing prediction accuracy. The analysis results on the testing data indicate that the BiLSTM model with Attention Mechanism performs better, achieving a MAPE value of 5.178%, compared to the standard LSTM and BiLSTM models.

Keywords

References (65)

  1. Ahmad, A. (2017). Mengenal artificial intelligence, machine learning, & deep learning. Jurnal Teknologi Indonesia, 1, 1–6. https://amt-it.com/mengenal-perbedaan-artificial-inteligence-machine-learning-deep-learning/
  2. Ahmar, A. S., Rais, Z., & Tunnas, F. (2025). Comparative analysis of support vector regression (SVR) and SutteARIMA in predicting coal prices in Indonesia. Quality & Quantity, 59(5), 4185–4200. https://doi.org/10.1007/s11135-025-02162-2
  3. Annas, S., Rais, Z., Aswi, A., Indrayasaro, & Nurfajriani. (2023). Implementation of support vector regression (SVR) analysis in predicting gold prices in Indonesia. In Proceedings of the 5th International Conference on Statistics, Mathematics, Teaching, and Research 2023 (ICSMTR 2023) (pp. 97–107). Atlantis Press. https://doi.org/10.2991/978-94-6463-332-0_12
  4. Atsalakis, G. S., & Valavanis, K. P. (2009). Surveying stock market forecasting techniques – Part II: Soft computing methods. Expert Systems with Applications, 36(3), 5932–5941. https://doi.org/10.1016/j.eswa.2008.07.006
  5. Bahdanau, D., Cho, K. H., & Bengio, Y. (2015). Neural machine translation by jointly learning to align and translate. In 3rd International Conference on Learning Representations (ICLR 2015), Conference Track Proceedings (pp. 1–15). https://doi.org/10.48550/arXiv.1409.0473
  6. Bao, W., Yue, J., & Rao, Y. (2017). A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PLOS ONE, 12(7), e0180944. https://doi.org/10.1371/journal.pone.0180944
  7. Bengio, Y., Simard, P., & Frasconi, P. (1994). Learning long-term dependencies with gradient descent is difficult. IEEE Transactions on Neural Networks, 5(2), 157–166. https://doi.org/10.1109/72.279181
  8. Bergmeir, C., & Benítez, J. M. (2012). On the use of cross-validation for time series predictor evaluation. Information Sciences, 191, 192–213. https://doi.org/10.1016/j.ins.2011.12.028
  9. Brauwers, G., & Frasincar, F. (2023). A general survey on attention mechanisms in deep learning. IEEE Transactions on Knowledge and Data Engineering, 35(4), 3279–3298. https://doi.org/10.1109/TKDE.2021.3126456
  10. Cahiers, L. (2018). Forecasting Algeria’s natural gas production using a basic and generalized. 33, 201–232.

How to Cite

Rais, Z., Fahmuddin S, M., & Adiazzahra, S. G. (2026). BiLSTM with Attention Mechanism for Predicting Unilever Indonesia Stock Price Trends. JINAV: Journal of Information and Visualization, 7(3). https://doi.org/10.35877/454RI.jinav5029

Copyright & license

Copyright (c) 2026 Zulkifli Rais, Muhammad Fahmuddin S, Syarifa Ghefira Adiazzahra