计算机科学 ›› 2021, Vol. 48 ›› Issue (11A): 39-45.doi: 10.11896/jsjkx.210600124

• 智能计算 • 上一篇    下一篇

基于LSTM混合模型的比特币价格预测

张宁, 方靖雯, 赵雨宣   

  1. 中央财经大学金融学院 北京100081
  • 出版日期:2021-11-10 发布日期:2021-11-12
  • 通讯作者: 方靖雯(stb16fjw@126.com)
  • 作者简介:nzhang@amss.ac.cn
  • 基金资助:
    中央高校基本科研业务费专项基金;中央财经大学新兴交叉学科建设项目

Bitcoin Price Forecast Based on Mixed LSTM Model

ZHANG Ning, FANG Jing-wen, ZHAO Yu-xuan   

  1. School of Finance,Central University of Finance and Economics,Beijing 100081,China
  • Online:2021-11-10 Published:2021-11-12
  • About author:ZHANG Ning,born in 1978,Ph.D,professor.His main research interests include fintech and artificial intelligence.
    FANG Jing-wen,born in 1999,master.Her main research interests include sequence forecasting and so on.
  • Supported by:
    Fundamental Research Funds for the Central Universities and Emerging Interdisciplinary Construction Project of Central University of Finance and Economics.

摘要: 聚焦于具有极度非线性、非平稳性等特征的比特币价格预测问题,在长短时记忆网络(Long Short-Term Memory,LSTM)基础上构建了4个混合预测模型,利用小波变换(Wavelet Transform,WT)以及自适应噪声的完备经验模态分解(Complete Ensemble Empirical Mode Decomposition with Adaptive Noise,CEEMDAN)对序列进行分解与重构,并引入了样本熵(Sample Entropy,SE)进行重构优化,使用LSTM对重构以后的子序列分别进行预测,最后将其叠加得到最终的预测结果。在预测结果的评判上,使用均方根误、平均绝对百分误以及希尔不等系数来进行拟合评价,并将结果与单一LSTM模型进行比较。研究发现混合模型的预测准确性均优于单一模型,且样本熵的引入可有效降低预测误差。

关键词: 比特币价格, 长短时记忆网络, 小波变换, 样本熵, 自适应噪声完备经验模态分解

Abstract: For the reason that Bitcoin price is highly nonlinear and non-stationary,this paper proposes four mixed forecasting model based on Long Short-Term Memory (LSTM) model to get better prediction performance.Firstly,we use Wavelet Transform (WT) and Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (CEEMDAN) to decompose and reconstruct the original sequence.Then,we introduce Sample Entropy (SE) to optimize the reconstruction.Finally,we predict the reconstructed sub-sequences respectively using LSTM and superpose the outcomes yields of prediction results.To evaluate the prediction performance,three evaluation functions are used,which are RMSE,MAPE and TIC.Besides,the results are compared with single LSTM model prediction result.The research shows that the prediction accuracy of mixed model is better than that of the single model,and the introduction of Sample Entropy can effectively reduce prediction error.

Key words: Bitcoin price, Complete ensemble empirical mode decomposition with adaptive noise, Long short-term memory network, Sample entropy, Wavelet transform

中图分类号: 

  • TP183
[1]DONALDSON R G,KAMSTRA M.Neural network forecastcombining with interactioneffects[J].Journal of the Franklin Institute,1999,336(2):227-236.
[2]TAKEUCHI L,LEE Y Y A.Applying deep learning to enhance momentum trading strategies in stocks[R].Technical Report,Stanford University,2013.
[3]WU W,CHEN W Q,LIU B.Prediction of ups and downs ofstock market by BP neural networks [J].Journal of Dalian University of Technology,2001,41(1):9-15.
[4]SONGX Y,CHEN N S.Financial prediction system based oncombination of genetic algorithm with BP neural network [J].Journal of Shanghai Jiao Tong University,2016,50(2):313-316.
[5]SUTSKEVER I,VINYALS O,LE Q V.Sequence to sequencelearning with neural networks[C]//Proceedings of the 27th International Conference on Neural Information Processing Systems-Volume 2.2014:3104-3112.
[6]GRAVES A,JAITLY N.Towards end-to-end speech recogni-tion with recurrent neural networks[C]//International Confe-rence on Machine Learning.PMLR,2014:1764-1772.
[7] ROONDIWALA M,PATEL H,VARMA S.Predicting stockprices using LSTM[J].International Journal of Science and Research,2017,6(4):1754-1756.
[8] BAO W,YUE J,RAO Y.A deep learning framework for financial time series using stacked autoencoders and long-short term memory[J].PloS one,2017,12(7):e0180944.
[9] SHAH D,ZHANG K.Bayesian regression and Bitcoin[C]//2014 52nd annual Allerton conference on communication,control,and computing (Allerton).IEEE,2014:409-414.
[10]YANG S Y,KIM J.Bitcoin Market Return and Volatility Forecasting Using Transaction Network Flow Properties[C]// 2015 IEEE Symposium Series on Computational Intelligence (SSCI).IEEE,2015.
[11] MCNALLY S,ROCHE J,CATON S.Predicting the price of bitcoin using machine learning[C]//2018 26th Euromicro International Conference on Parallel,Distributed and Network-based Processing (PDP).IEEE,2018:339-343.
[12]STENQVIST E,LÖNNÖ J.Predicting Bitcoin price fluctuation with Twitter sentiment analysis[EB/OL].(2017-06-16) [2018-01-13].http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-209191.
[13]RAVI C.Fuzzy Crow Search Algorithm-Based Deep LSTM for Bitcoin Prediction[J].International Journal of Distributed Systems and Technologies (IJDST),2020,11(4):53-71.
[14]ZHANG X,LAI K K,WANG S Y.A new approach for crude oil price analysis based on empirical mode decomposition[J].Energy Economics,2008,30(3):905-918.
[15]TORRES M E,COLOMINAS M A,SCHLOTTHAUER G,et al.A complete ensemble empirical mode decomposition with adaptive noise[C]//2011 IEEE International Conference on Acoustics,Speech and Signal Processing (ICASSP).IEEE,2011:4144-4147.
[1] 金方焱, 王秀利.
融合RACNN和BiLSTM的金融领域事件隐式因果关系抽取
Implicit Causality Extraction of Financial Events Integrating RACNN and BiLSTM
计算机科学, 2022, 49(7): 179-186. https://doi.org/10.11896/jsjkx.210500190
[2] 来腾飞, 周海洋, 余飞鸿.
视频流的实时景深延拓算法
Real-time Extend Depth of Field Algorithm for Video Processing
计算机科学, 2022, 49(6A): 314-318. https://doi.org/10.11896/jsjkx.201100187
[3] 孙洁琪, 李亚峰, 张文博, 刘鹏辉.
基于离散小波变换的双域特征融合深度卷积神经网络
Dual-field Feature Fusion Deep Convolutional Neural Network Based on Discrete Wavelet Transformation
计算机科学, 2022, 49(6A): 434-440. https://doi.org/10.11896/jsjkx.210900199
[4] 王杉, 徐楚怡, 师春香, 张瑛.
基于CNN-LSTM的卫星云图云分类方法研究
Study on Cloud Classification Method of Satellite Cloud Images Based on CNN-LSTM
计算机科学, 2022, 49(6A): 675-679. https://doi.org/10.11896/jsjkx.210300177
[5] 潘志豪, 曾碧, 廖文雄, 魏鹏飞, 文松.
基于交互注意力图卷积网络的方面情感分类
Interactive Attention Graph Convolutional Networks for Aspect-based Sentiment Classification
计算机科学, 2022, 49(3): 294-300. https://doi.org/10.11896/jsjkx.210100180
[6] 丁锋, 孙晓.
基于注意力机制和BiLSTM-CRF的消极情绪意见目标抽取
Negative-emotion Opinion Target Extraction Based on Attention and BiLSTM-CRF
计算机科学, 2022, 49(2): 223-230. https://doi.org/10.11896/jsjkx.210100046
[7] 罗婷瑞, 贾建, 张瑞.
基于可调Q因子小波变换和迁移学习的癫痫脑电信号检测
Epileptic EEG Signals Detection Based on Tunable Q-factor Wavelet Transform and Transfer Learning
计算机科学, 2020, 47(7): 199-205. https://doi.org/10.11896/jsjkx.200200104
[8] 刘云,尹传环,胡迪,赵田,梁宇.
基于循环神经网络的通信卫星故障检测
Communication Satellite Fault Detection Based on Recurrent Neural Network
计算机科学, 2020, 47(2): 227-232. https://doi.org/10.11896/jsjkx.190600147
[9] 文豪, 陈昊.
基于LSTM循环神经网络的税收预测
Tax Prediction Based on LSTM Recurrent Neural Network
计算机科学, 2020, 47(11A): 437-443. https://doi.org/10.11896/jsjkx.200300091
[10] 王启发, 王中卿, 李寿山, 周国栋.
基于交叉注意力机制和新闻正文的评论情感分类
Comment Sentiment Classification Using Cross-attention Mechanism and News Content
计算机科学, 2020, 47(10): 222-227. https://doi.org/10.11896/jsjkx.190900173
[11] 张阳峰, 韦仕鸿, 邓娜娜, 王文瑞.
基于小波降噪的振动传感器数据分析
Vibration Sensor Data Analysis Based on Wavelet Denoising
计算机科学, 2019, 46(6A): 537-539.
[12] 刘佳慧, 王昱洁, 雷艺.
基于LSTM的CSI手势识别方法
CSI Gesture Recognition Method Based on LSTM
计算机科学, 2019, 46(11A): 283-288.
[13] 高忠石, 苏旸, 柳玉东.
基于PCA-LSTM的入侵检测研究
Study on Intrusion Detection Based on PCA-LSTM
计算机科学, 2019, 46(11A): 473-476.
[14] 王倩, 于来行, 曹彦, 张磊, 秦杰, 叶海琴.
基于Fibonacci置乱的小波域数字图像盲水印算法
Blind Watermarking Algorithm for Digital Image Based on Fibonacci Scrambling in Wavelet Domain
计算机科学, 2018, 45(6): 135-140. https://doi.org/10.11896/j.issn.1002-137X.2018.06.023
[15] 司念文,王衡军,李伟,单义栋,谢鹏程.
基于注意力长短时记忆网络的中文词性标注模型
Chinese Part-of-speech Tagging Model Using Attention-based LSTM
计算机科学, 2018, 45(4): 66-70. https://doi.org/10.11896/j.issn.1002-137X.2018.04.009
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!