Performance Comparison of LSTM, XGBoost, and Residual-Correction Hybrid LSTM–XGBoost Models for Bitcoin Price Forecasting

Authors

  • ID Ihsan Maulana Anwas Universitas Islam Negeri Syarif Hidayatullah, Jakarta, Indonesia https://orcid.org/0009-0005-0706-8301
  • ID Feri Fahrianto Universitas Islam Negeri Syarif Hidayatullah, Jakarta, Indonesia https://orcid.org/0000-0002-8022-3508
  • ID Imam Marzuki Shofi Universitas Islam Negeri Syarif Hidayatullah, Jakarta, Indonesia
  • ID Ajif Yunizar Pratama Kyushu Institut of Technology, Fukuoka, Japan

DOI:

https://doi.org/10.30812/matrik.v25i2.5983

Keywords:

Bitcoin, Hybrid LSTM-XGBoost, Price Forecasting, Time Series, XGBoost

Abstract

The objective of this study is to systematically compare the predictive performance of Long Short- Term Memory (LSTM), Extreme Gradient Boosting (XGBoost), and a Hybrid LSTM–XGBoost model for next-day Bitcoin (BTC–USD) closing-price forecasting. The research method employs a quantitative time-series modeling approach using a decade-long daily Bitcoin price dataset. A strictly chronological train–test split and a one-step-ahead forecasting scheme are applied to prevent lookahead bias and ensure experimental validity. Model performance is evaluated using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), symmetric Mean Absolute Percentage Error (sMAPE), Mean Absolute Percentage Error (MAPE), and the coefficient of determination R2 on the original price scale. The results demonstrate that the Hybrid LSTM–XGBoost model consistently outperforms the standalone LSTM and XGBoost models across all evaluation metrics, indicating superior predictive accuracy and robustness under high market volatility. The contribution of this study lies in providing a controlled, uniform, and methodologically rigorous head-to-head comparison of deep learning, machine learning, and hybrid architectures for Bitcoin price forecasting, thereby enriching the empirical literature and offering a reliable foundation for the development of adaptive decision-support systemsin volatile cryptocurrency investment environments.

Downloads

Download data is not yet available.

References

[1] J. Chen, “Analysis of bitcoin price prediction using machine learning,” Journal of Risk and Financial Management, vol. 16,

no. 1, pp. 1–25, Jan. 2023, https://doi.org/10.3390/jrfm16010051.

[2] T. Kim, H. Jo, W. Choi, and B.-G. Jang, “Bitcoin price direction forecasting and market variables,” Journal of Futures Markets,

vol. 45, no. 10, pp. 1579–1600, Oct. 2025, https://doi.org/10.1002/fut.70010.

[3] M. Paskaleva and I. Vasenska, “The btc price prediction paradox through methodological pluralism,” Risks, vol. 13, no. 10, pp.

1–43, Oct. 2025, https://doi.org/10.3390/risks13100195.

[4] A. Bouteska, S. Mefteh-Wali, and T. Dang, “Predictive power of investor sentiment for bitcoin returns evidence from covid-

19 pandemic,” Technological Forecasting and Social Change, vol. 184, no. 1, pp. 1–13, Nov. 2022, https://doi.org/10.1016/j.

techfore.2022.121999.

[5] A. Mikhaylov, H. Dincer, S. Yuksel, G. Pinter, and Z. A. Shaikh, “Bitcoin mempool growth and trading volumes:integrated

approach based on qrof multi-swara and aggregation operators,” Journal of Innovation Knowledge, vol. 8, no. 3, pp. 100 378–

100 388, Jul. 2023, https://doi.org/10.1016/j.jik.2023.100378.

[6] E. Akyildirim, A. Goncu, and A. Sensoy, “Prediction of cryptocurrency returns using machine learning,” Annals of Operations

Research, vol. 297, no. 1-2, pp. 3–36, Feb. 2021, https://doi.org/10.1007/s10479-020-03575-y.

[7] A. A. Oyedele, A. O. Ajayi, L. O. Oyedele, S. A. Bello, and K. O. Jimoh, “Performance evaluation of deep learning and boosted

trees for cryptocurrency closing price prediction,” Expert Systems with Applications, vol. 213, no. 3, pp. 119 233–119 246, Mar.

2023, https://doi.org/10.1016/j.eswa.2022.119233.

[8] A. Bouteska, M. Z. Abedin, P. Hajek, and K. Yuan, “Cryptocurrency price forecasting a comparative analysis of ensemble

learning and deep learning methods,” International Review of Financial Analysis, vol. 92, no. 12, p. 103055, Mar. 2024, https:

//doi.org/10.1016/j.irfa.2023.103055.

[9] A. Dutta, S. Kumar, and M. Basu, “A gated recurrent unit approach to bitcoin price prediction,” Journal of Risk and Financial

Management, vol. 13, no. 2, pp. 23–33, Feb. 2020, https://doi.org/10.3390/jrfm13020023.

[10] P. Lamothe Fernandez, D. Alaminos, and Lamothe-Lopez, “Deep learning methods for modeling bitcoin price,” Mathematics,

vol. 8, no. 8, pp. 1245–1255, jul 2020, https://doi.org/10.3390/math8081245.

[11] P. L. Seabe, C. R. B. Moutsinga, and E. Pindza, “Forecasting cryptocurrency prices using lstm, gru, and bi-directional

lstm : A deep learning approach,” Fractal and Fractional, vol. 7, no. 2, pp. 203–213, Feb. 2023, https://doi.org/10.3390/

fractalfract7020203.

[12] N. Latif, J. D. Selvam, M. Kapse, V. Sharma, and V. Mahajan, “Comparative performance of lstm and arima for the shortterm

prediction of bitcoin prices,” Australasian Accounting, Business and Finance Journal, vol. 17, no. 1, pp. 256–276, 2023,

https://doi.org/10.14453/aabfj.v17i1.15.

[13] M. Ula, V. Ilhadi, and Z. M. Sidek, “Comparing long short-term memory and random forest accuracy for bitcoin price forecasting,”

MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 23, no. 2, pp. 259–272, Jan. 2024,

https://doi.org/10.30812/matrik.v23i2.3267.

[14] S. Ranjan, P. Kayal, and M. Saraf, “Bitcoin price prediction:a machine learning sample dimension approach,” Computational

Economics, vol. 61, no. 4, pp. 1617–1636, Apr. 2023, https://doi.org/10.1007/s10614-022-10262-6.

[15] A. M. Rather, “A new method of ensemble learning: Case of cryptocurrency price prediction,” Knowledge and Information

Systems, vol. 65, no. 3, pp. 1179–1197, Mar. 2023, https://doi.org/10.1007/s10115-022-01796-0.

[16] N. Kiranmai Balijepalli and V. Thangaraj, “Prediction of cryptocurrency’s price using ensemble machine learning algorithms,”

European Journal of Management and Business Economics, vol. 34, no. 4, pp. 1–17, Jan. 2025, https://doi.org/10.1108/

EJMBE-08-2023-0244.

[17] L. Semmelmann, S. Henni, and C. Weinhardt, “Load forecasting for energy communities: A novel lstm-xgboost hybrid

model based on smart meter data,” Energy Informatics, vol. 5, no. 1, pp. 24–34, Sep. 2022, https://doi.org/10.1186/

s42162-022-00212-9.

[18] Z. Ye, Y. Wu, H. Chen, Y. Pan, and Q. Jiang, “A stacking ensemble deep learning model for bitcoin price prediction using

twitter comments on bitcoin,” Mathematics, vol. 10, no. 8, pp. 1307–1320, Apr. 2022, https://doi.org/10.3390/math10081307.

[19] F. Rodrigues and M. Machado, “High-frequency cryptocurrency price forecasting using machine learning models:a comparative

study,” Information, vol. 16, no. 4, pp. 300–310, Apr. 2025, https://doi.org/10.3390/info16040300.

[20] M. Liu, G. Li, J. Li, X. Zhu, and Y. Yao, “Forecasting the price of bitcoin using deep learning,” Finance Research Letters,

vol. 40, no. 1, pp. 1–7, May 2021, https://doi.org/10.1016/j.frl.2020.101755.

[21] P. Boozary, S. Sheykhan, and H. GhorbanTanhaei, “Forecasting the bitcoin price using the various machine learning : A

systematic review in data-driven marketing,” Systems and Soft Computing, vol. 7, no. 12, Dec. 2025.

[22] Y. Li andW. Dai, “Bitcoin price forecasting method based on cnn-lstm hybrid neural network model,” The Journal of Engineering,

vol. 2020, no. 13, pp. 344–347, Jul. 2020, https://doi.org/10.1049/joe.2019.1203.

[23] O. Omole and D. Enke, “Deep learning for bitcoin price direction prediction: Models and trading strategies empirically compared,”

Financial Innovation, vol. 10, no. 1, pp. 117–127, Aug. 2024, https://doi.org/10.1186/s40854-024-00643-1.

[24] I. S. Kervanci, M. F. Akay, E. Ozceylan, G. . T. IT Department, Gaziantep University, A. . T. Computer Engineering Department,

Cukurova University, and G. . T. Industrial Engineering Department, Gaziantep University, “Bitcoin price prediction using lstm,

gru and hybrid lstm-gru with bayesian optimization, random search, and grid search for the next days,” Journal of Industrial

and Management Optimization, vol. 20, no. 2, pp. 570–588, 2024, https://doi.org/10.3934/jimo.2023091.

[25] Y. Li, S. Jiang, X. Li, and S. Wang, “Hybrid data decomposition-based deep learning for bitcoin prediction and algorithm

trading,” Financial Innovation, vol. 8, no. 1, pp. 31–42, Apr. 2022, https://doi.org/10.1186/s40854-022-00336-7.

[26] A. Golnari, M. H. Komeili, and Z. Azizi, “Probabilistic deep learning and transfer learning for robust cryptocurrency price

prediction,” Expert Systems with Applications, vol. 255, no. 12, pp. 124 404–124 414, Dec. 2024, https://doi.org/10.1016/j.

eswa.2024.124404.

[27] A. Ladhari and H. Boubaker, “Deep learning models for bitcoin prediction using hybrid approaches with gradient-specific

optimization,” Forecasting, vol. 6, no. 2, pp. 279–295, Apr. 2024, https://doi.org/10.3390/forecast6020016.

[28] R. Kaur, M. Uppal, D. Gupta, S. Juneja, S. Y. Arafat, J. Rashid, J. Kim, and R. Alroobaea, “Development of a cryptocurrency

price prediction model: Leveraging gru and lstm for bitcoin, litecoin and ethereum,” PeerJ Computer Science, vol. 11, no. 3,

pp. 2675–2685, Mar. 2025, https://doi.org/10.7717/peerj-cs.2675.

Downloads

Published

2026-03-11

Issue

Section

Articles

How to Cite

[1]
I. M. Anwas, F. Fahrianto, I. M. Shofi, and Ajif Yunizar Pratama, “Performance Comparison of LSTM, XGBoost, and Residual-Correction Hybrid LSTM–XGBoost Models for Bitcoin Price Forecasting”, MATRIK, vol. 25, no. 2, pp. 251–262, Mar. 2026, doi: 10.30812/matrik.v25i2.5983.

Similar Articles

31-40 of 113

You may also start an advanced similarity search for this article.