Research Article

Bitcoin Price Prediction Using a Deep Learning-based Hybrid Model with Sentiment Analysis and Attention Mechanism

Yilun Dang*
School of Economics and Management, Beijing Jiaotong University, Beijing, China

* Corresponding author: [email protected]

Abstract

Cryptocurrency, particularly Bitcoin, holds significant importance for investors and researchers due to its volatile price dynamics, which are influenced by various internal and external factors. The non-linear nature of cryptocurrency price fluctuations presents a considerable challenge in accurately predicting Bitcoin price changes. In addition to internal price fluctuations in the Bitcoin market, external public sentiment can also have a significant impact on Bitcoin prices. Based on the current situation, aimed to achieve more accurate prediction result of Bitcoin price, a hybrid forecasting model combining multiple high-precision technologies is proposed in this study. Bidirectional Long Short-Term Memory (Bi-LSTM) and Gated Recurring Unit (GRU) hybrid deep learning architectures are integrated in this model to analyse historical data, followed by the application of the FbProphet model to account for seasonal and temporal effects. To enhance prediction reliability, sentiment analysis of Bitcoin-related news is conducted using a combined Bidirectional Encoder Representations from Transformers (BERT) and Valence Aware Dictionary and sEntiment Reasoner (VADER) model, capturing the influence of public sentiment on price trends. Furthermore, an attention mechanism is incorporated to enable dynamic adjustment of the fusion weights, improving the model's adaptability to changing market conditions. Experimental results demonstrate the effectiveness of this hybrid model in producing more accurate Bitcoin price predictions. Future research will extend this model to other cryptocurrencies, further validating its robustness and exploring additional external factors affecting market prices.

Keywords: Bitcoin Price Prediction; Hybrid Model; Sentiment Analysis; Attention Mechanism
Published: May 22, 2025
DOI: 10.54254/2755-2721/2025.TJ23132
Volume: ACE Vol.154
pp. 145-151
Download PDF

References

  1. Gupta, R., Tanwar, S., Al-Turjman, F., Italiya, P., Nauman, A., & Kim, S. W. (2020). Smart contract privacy protection using AI in cyber-physical systems: tools, techniques and challenges. IEEE access, 8, 24746-24772.
  2. Seabe, P. L., Moutsinga, C. R. B., & Pindza, E. (2023). Forecasting cryptocurrency prices using LSTM, GRU, and bi-directional LSTM: a deep learning approach. Fractal and Fractional, 7(2), 203.
  3. Girsang, A. S. (2023). Hybrid LSTM and GRU for cryptocurrency price forecasting based on social network sentiment analysis using FinBERT. IEEE Access, 11, 120530-120540.
  4. Zubair, M., Ali, J., Alhussein, M., Hassan, S., Aurangzeb, K., & Umair, M. (2024). An improved machine learning-driven framework for cryptocurrencies price prediction with sentimental cautioning. IEEE Access.
  5. Rathee, N., Singh, A., Sharda, T., Goel, N., Aggarwal, M., & Dudeja, S. (2023). Analysis and price prediction of cryptocurrencies for historical and live data using ensemble-based neural networks. Knowledge and Information Systems, 65(10), 4055-4084.
  6. Luo, C., Pan, L., Chen, B., & Xu, H. (2022). Bitcoin Price Forecasting: An Integrated Approach Using Hybrid LSTM‐ELM Models. Mathematical Problems in Engineering, 2022(1), 2126518.
  7. Parekh, R., Patel, N. P., Thakkar, N., Gupta, R., Tanwar, S., Sharma, G., ... & Sharma, R. (2022). DL-GuesS: Deep learning and sentiment analysis-based cryptocurrency price prediction. IEEE Access, 10, 35398-35409.
  8. Girsang, A. S. (2023). Hybrid LSTM and GRU for cryptocurrency price forecasting based on social network sentiment analysis using FinBERT. IEEE Access, 11, 120530-120540.
  9. Sun, X., Liu, M., & Sima, Z. (2020). A novel cryptocurrency price trend forecasting model based on LightGBM. Finance Research Letters, 32, 101084.
  10. Rathore, R. K., Mishra, D., Mehra, P. S., Pal, O., Hashim, A. S., Shapi'i, A., ... & Shutaywi, M. (2022). Real-world model for bitcoin price prediction. Information Processing & Management, 59(4), 102968.
  11. Bitcoin historical data. (2025, March 1). Kaggle. https://www.kaggle.com/datasets/mczielinski/bitcoin-historical-data
  12. Oliviervha, (2023). Crypto News +. Retried from https://www.kaggle.com/datasets/oliviervha/crypto-news.