bit-Tech
Vol. 8 No. 2 (2025): bit-Tech

Implementation of HMM-GRU for Bitcoin Price Forecasting

Rayya Ruwa'im Nafie (University of Pembangunan Nasional “Veteran” East Java)
Anggraini Puspita Sari (University of Pembangunan Nasional “Veteran” East Java)
Achmad Junaidi (University of Pembangunan Nasional “Veteran” East Java)



Article Info

Publish Date
10 Dec 2025

Abstract

Bitcoin’s extreme volatility continues to challenge accurate forecasting and risk management. Traditional econometric approaches struggle with the nonlinear and shifting dynamics of cryptocurrency markets, while deep learning models such as the Gated Recurrent Unit (GRU) often lack interpretability and adaptability to regime changes. To address these limitations, this study introduces a hybrid Gaussian Hidden Markov Model–Gated Recurrent Unit (HMM-GRU) framework for Bitcoin price forecasting. The HMM identifies latent market regimes from four years of daily closing prices and integrates these states as auxiliary features for the GRU network. Experimental results show that the hybrid model consistently surpasses the standalone GRU in predictive accuracy. Under the optimal configuration, HMM-GRU achieves a Mean Absolute Error (MAE) of 1,557.33 and a Mean Absolute Percentage Error (MAPE) of 1.42%, compared with 1,713.30 and 1.57% for GRU, representing an approximate 9% improvement in both absolute and relative error performance. The inclusion of regime-based features enables the model to better capture market transitions and mitigate overfitting to short-term noise. Beyond performance gains, the proposed approach enhances interpretability by linking forecasts to identifiable market regimes. These findings highlight the value of combining statistical regime detection with deep learning for volatile financial assets, providing practical insights for both investors and researchers in time-series forecasting.

Copyrights © 2025






Journal Info

Abbrev

bt

Publisher

Subject

Computer Science & IT

Description

The bit-Tech journal was developed with the aim of accommodating the scientific work of Lecturers and Students, both the results of scientific papers and research in the form of literature study results. It is hoped that this journal will increase the knowledge and exchange of scientific ...