journal article·2024-04-29Open access

Wide-TSNet: A Novel Hybrid Approach for Bitcoin Price Movement Classification

Peter Tettey Yamak, Yujian Li, Ting Zhang, Pius K. Gadosey

Applied Sciences· Volume 14· Issue 9

Abstract

In this paper, we introduce Wide-TSNet, a novel hybrid approach for predicting Bitcoin prices using time-series data transformed into images. The method involves converting time-series data into Markov transition fields (MTFs), enhancing them using histogram equalization, and classifying them using Wide ResNets, a type of convolutional neural network (CNN). We propose a tripartite classification system to accurately represent Bitcoin price trends. In addition, we demonstrate the effectiveness of Wide-TSNet through various experiments, in which it achieves an Accuracy of approximately 94% and an F1 score of 90%. It is also shown that lightweight CNN models, such as SqueezeNet and EfficientNet, can be as effective as complex models under certain conditions. Furthermore, we investigate the efficacy of other image transformation methods, such as Gramian angular fields, in capturing the trends and volatility of Bitcoin prices and revealing patterns that are not visible in the raw data. Moreover, we assess the effect of image resolution on model performance, emphasizing the importance of this factor in image-based time-series classification. Our findings explore the intersection between finance, image processing, and deep learning, providing a robust methodology for financial time-series classification.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Time Series Analysis and Forecasting · Currency Recognition and Detection · Stock Market Forecasting Methods

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Information Technology, Beijing University of Technology, Beijing 100021, China

School of Artificial Intelligence, Guilin University of Electronic Technology, Guilin 541004, China

Computer Science Department, Lancaster University Ghana, Accra LA1 4YW, Ghana

References (58)

Show source-provided references
1. Representation and analysis of time-series data via deep embedding and visual exploration10.1007/s12650-022-00890-3 ↗
2. Snega, S., and Nivedha, B. (2022). Bitcoin Price Prediction Using ML. SSRN.
3. Martynov, O. (2020). Sustainability Analysis of Cryptocurrencies Based on Projected Return on Investment and Environmental Impact. [Master’s Thesis, Harvard University].
4. Cryptocurrencies: Market analysis and perspectives10.1007/s40812-019-00138-6 ↗
5. Cryptocurrency trading: A comprehensive survey10.1186/s40854-021-00321-6 ↗
6. The volatility of Bitcoin and its role as a medium of exchange and a store of value10.1007/s00181-020-01990-5 ↗
7. Using ARIMA Model to Analyze and Predict Bitcoin Price10.54691/bcpbm.v34i.3161 ↗
8. Siami-Namini, S., Tavakoli, N., and Siami Namin, A. (2019, January 9–12). The Performance of LSTM and BiLSTM in Forecasting Time Series. Proceedings of the 2019 IEEE International Conference on Big Data (Big Data), Los Angeles, CA, USA.10.1109/BigData47090.2019.9005997 ↗
9. Yang, C.-L., Chen, Z.-X., and Yang, C.-Y. (2020). Sensor Classification Using Convolutional Neural Network by Encoding Multivariate Time Series as Two-Dimensional Colored Images. Sensors, 20.10.3390/s20010168 ↗
10. Imaging and fusing time series for wearable sensor-based human activity recognition10.1016/j.inffus.2019.06.014 ↗
11. Wang, Z., and Oates, T. (2015). Imaging Time-Series to Improve Classification and Imputation. In: Twenty-Fourth International Joint Conference on Artificial Intelligence. arXiv.
12. Mathematical analysis of histogram equalization techniques for medical image enhancement: A tutorial from the perspective of data loss10.1007/s11042-023-15799-8 ↗
13. Zagoruyko, S., and Komodakis, N. (2016). Wide residual networks. arXiv.10.5244/C.30.87 ↗
14. Weighted Dynamic Time Warping for Time Series Classification10.1016/j.patcog.2010.09.022 ↗
15. Deep attentive time warping10.1016/j.patcog.2022.109201 ↗
16. Parameterizing the cost function of dynamic time warping with application to time series classification10.1007/s10618-023-00926-8 ↗
17. Classification of time series by shapelet transformation10.1007/s10618-013-0322-1 ↗
18. Fast classification of univariate and multivariate time series through shapelet discovery10.1007/s10115-015-0905-9 ↗
19. Renault, A., Bondu, A., Lemaire, V., and Gay, D. (2023, January 18–23). Automatic Feature Engineering for Time Series Classification: Evaluation and Discussion. Proceedings of the 2023 International Joint Conference on Neural Networks (IJCNN), Gold Coast, Australia.10.1109/IJCNN54540.2023.10191074 ↗
20. Time Series Classification Based on Adaptive Feature Adjustment and Multi-scale AGRes2Net10.1007/s11063-023-11319-9 ↗
21. XEM: An explainable-by-design ensemble method for multivariate time series classification10.1007/s10618-022-00823-6 ↗
22. Bertsimas, D., and Boussioux, L. (2023). Ensemble Modeling for Time Series Forecasting: An Adaptive Robust Optimization Approach. arXiv.
23. Hybridization of hybrid structures for time series forecasting: A review10.1007/s10462-022-10199-0 ↗
24. A hybrid machine learning model for classifying time series10.1007/s00521-021-06457-x ↗
25. Abouelnaga, M., Vitay, J., and Farahani, A. (2023). Multivariate Time Series Classification: A Deep Learning Approach. arXiv.
26. Analyzing Gas Data Using Deep Learning and 2-D Gramian Angular Fields10.1109/JSEN.2023.3243149 ↗
27. Lightweight Gramian Angular Field classification for edge internet of energy applications10.1007/s10586-022-03704-1 ↗
28. Zhang, Y., Hou, Y., Zhou, S., and Ouyang, K. (2020). Encoding Time Series as Multi-Scale Signed Recurrence Plots for Classification Using Fully Convolutional Networks. Sensors, 20.10.3390/s20143818 ↗
29. Multi-scale signed recurrence plot based time series classification using inception architectural networks10.1016/j.patcog.2021.108385 ↗
30. Kirichenko, L., and Zinchenko, P. (2021). Tools and Methods of Program Analysis, Proceedings of the International Conference on Tools and Methods for Program. Analysis. TMPA 2019, Tbilisi, Georgia, 7–9 November 2019, Springer.
31. Markov transition fields and deep learning-based event-classification and vibration-frequency measurement for φ-OTDR10.1109/JSEN.2021.3137006 ↗
32. Financial time series classification method based on low-frequency approximate representation10.1002/eng2.12739 ↗
33. Modeling Bitcoin Prices using Signal Processing Methods, Bayesian Optimization, and Deep Neural Networks10.1007/s10614-022-10325-8 ↗
34. Fons, E., Dawson, P., Zeng, X., Keane, J., and Iosifidis, A. (2020). “Evaluating Data Augmentation for Financial Time Series Classification.” Quantitative Finance. arXiv.
35. A Bayesian-based classification framework for financial time series trend prediction10.1007/s11227-022-04834-4 ↗
36. Temporal signals to images: Monitoring the condition of industrial assets with deep learning image processing algorithms
37. A Study for Application of Histogram in Image Enhancement10.9790/1813-0606015963 ↗
38. A Comprehensive Overview of Image Enhancement Techniques10.1007/s11831-021-09587-6 ↗
39. A Simple and Effective Histogram Equalization approach to Image Enhancement10.1016/j.dsp.2003.07.002 ↗
40. Wu, X., Kawanishi, T., and Kashino, K. (2022). Reflectance-Guided, Contrast-Accumulated Histogram Equalization. arXiv.
41. Histogram Stretching Or Histogram Equalization In Image Processing10.1017/S1551929500066797 ↗
42. Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions10.1186/s40537-021-00444-8 ↗
43. O’Shea, K., and Nash, R. (2015). An Introduction to Convolutional Neural Networks. arXiv.
44. Exploration of Resnet Variants in High Spatial Resolution Domain Adaptation: From air-to-space imagery
45. Revisiting resnets: Improved training and scaling strategies
46. Thakur, A., Chauhan, H., and Gupta, N. (2023). Efficient ResNets: Residual Network Design. arXiv.
47. Chen, L.-C., Wang, H., and Qiao, S. (2020). Scaling wide residual networks for panoptic segmentation. arXiv.
48. Tang, Y., Arias-Calluari, K., Harré, M.S., and Alonso-Marroquin, F. (2024). Stylized Facts of High-Frequency Bitcoin Time Series. arXiv.
49. CoinMarketCap (2023, October 24). Bitcoin Price History Dataset. Available online: https://coinmarketcap.com/currencies/bitcoin.
50. Pyts: A Python Package for Time Series Classification
51. Fastai: A layered API for deep learning10.3390/info11020108 ↗
52. Iandola, F.N., Han, S., Moskewicsz, M.W., Ashraf, K., Dally, W.J., and Keutzer, K. (2016). SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5 MB model size. arXiv.
53. Tan, M., and Le, Q.V. (2019, January 9–15). Efficientnet: Rethinking model scaling for convolutional neural networks. Proceedings of the International Conference on Machine Learning, Long Beach, CA, USA.
54. Sin, E., and Wang, L. (2017, January 29–31). Bitcoin price prediction using ensembles of neural networks. Proceedings of the 2017 13th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD), Guilin, China.10.1109/FSKD.2017.8393351 ↗
55. Deep learning-based cryptocurrency price prediction scheme with inter-dependent relations10.1109/ACCESS.2021.3117848 ↗
56. McNally, S., Roche, J., and Caton, J. (2018, January 21–23). Predicting the price of bitcoin using machine learning. Proceedings of the 2018 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP) 2018, Cambridge, UK.10.1109/PDP2018.2018.00060 ↗
57. Bitcoin price change and trend prediction through twitter sentiment and data volume10.1186/s40854-022-00352-7 ↗
58. An Optimized Support Vector Machine (SVM) based on Particle Swarm Optimization (PSO) for cryptocurrency forecasting10.1016/j.procs.2019.12.125 ↗