Skip to main content

Deep Learning for Blood Glucose Prediction: CNN vs LSTM

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2020 (ICCSA 2020)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12250))

Included in the following conference series:

Abstract

To manage their disease, diabetic patients need to control the blood glucose level (BGL) by monitoring it and predicting its future values. This allows to avoid high or low BGL by taking recommended actions in advance. In this study, we propose a Convolutional Neural Network (CNN) for BGL prediction. This CNN is compared with Long-short-term memory (LSTM) model for both one-step and multi-steps prediction. The objectives of this work are: 1) Determining the best configuration of the proposed CNN, 2) Determining the best strategy of multi-steps forecasting (MSF) using the obtained CNN for a prediction horizon of 30 min, and 3) Comparing the CNN and LSTM models for one-step and multi-steps prediction. Toward the first objective, we conducted series of experiments through parameter selection. Then five MSF strategies are developed for the CNN to reach the second objective. Finally, for the third objective, comparisons between CNN and LSTM models are conducted and assessed by the Wilcoxon statistical test. All the experiments were conducted using 10 patients’ datasets and the performance is evaluated through the Root Mean Square Error. The results show that the proposed CNN outperformed significantly the LSTM model for both one-step and multi-steps prediction and no MSF strategy outperforms the others for CNN.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bilous, R., Donnelly, R.: Handbook of Diabetes. Wiley, Chichester (2010)

    Book  Google Scholar 

  2. El Idrissi, T., Idri, A., Bakkoury, Z.: Systematic map and review of predictive techniques in diabetes self-management. Int. J. Inf. Manage. 46, 263–277 (2019). https://doi.org/10.1016/j.ijinfomgt.2018.09.011

    Article  Google Scholar 

  3. El Idrissi, T., Idri, A., Abnane, I., Bakkoury, Z.: Predicting blood glucose using an LSTM neural network. In: Proceedings of the 2019 Federated Conference on Computer Science and Information Systems, FedCSIS, vol. 18, pp. 35–41. IEEE, Leipzig (2019)

    Google Scholar 

  4. Taieb, S.B., Bontempi, G., Atiya, A.F., Sorjamaa, A.: A review and comparison of strategies for multi-step ahead time series forecasting based on the NN5 forecasting competition. Expert Syst. Appl. 39(8), 7067–7083 (2012)

    Article  Google Scholar 

  5. El Idrissi, T., Idri, A., Kadi, I., Bakkoury, Z.: Strategies of multi-step-ahead forecasting for blood glucose level using LSTM neural networks: a comparative study. In: Proceedings of the 13th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC 2020), vol. 5, HEALTHINF, pp. 337–344. SCITEPRESS, Valletta (2020)

    Google Scholar 

  6. Fox, I., Ang, L., Jaiswal, M., Pop-Busui, R., Wiens, J.: Deep multi-output forecasting: Learning to accurately predict blood glucose trajectories. In: Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 1387–1395. ACM, London (2018)

    Google Scholar 

  7. LeCun, Y., Bengio, Y., Hinton, G.: Deep learning. Nature 521(7553), 436–444 (2015)

    Article  Google Scholar 

  8. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  9. Fukushima, K., Miyake, S.: Neocognitron: a new algorithm for pattern recognition tolerant of deformations and shifts in position. Pattern Recogn. 15(6), 455–469 (1982)

    Article  Google Scholar 

  10. Hubel, D.H., Wiesel, T.N.: Receptive fields, binocular interaction and functional architecture in the cat’s visual cortex. J. Physiol. 160(1), 106–154 (1962)

    Article  Google Scholar 

  11. LeCun, Y., et al.: Handwritten digit recognition with a back-propagation network. In: Proceedings of Advances in Neural Information Processing Systems, pp. 396–404. MIT Press (1989)

    Google Scholar 

  12. LeCun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based learning applied to document recognition. Proc. IEEE 86(11), 2278–2324 (1998)

    Article  Google Scholar 

  13. Fawaz, H.I., Forestier, G., Weber, J., Idoumghar, L., Muller, P.A.: Deep learning for time series classification: a review. Data Min. Knowl. Discov. 33(4), 917–963 (2019)

    Article  MathSciNet  Google Scholar 

  14. Li, K., Liu, C., Zhu, T., Herrero, P., Georgiou, P.: GluNet: a deep learning framework for accurate glucose forecasting. IEEE J. Biomed. Health Inform. 24(2), 414–423 (2020)

    Article  Google Scholar 

  15. Idri, A., Abnane, I., Abran, A.: Missing data techniques in analogy-based software development effort estimation. J. Syst. Softw. 117, 595–611 (2016)

    Article  Google Scholar 

  16. Héberger, K.: Sum of ranking differences compares methods or models fairly. TrAC Trends Anal. Chem. 29(1), 101–109 (2010)

    Article  Google Scholar 

  17. Xie, J., Wang, Q.: Benchmark machine learning approaches with classical time series approaches on the blood glucose level prediction challenge. CEUR Workshop Proc. 2148, 97–102 (2018)

    Google Scholar 

  18. Sun, Q., Jankovic, M.V., Bally, L., Mougiakakou, S.G.: Predicting blood glucose with an LSTM and Bi-LSTM based deep neural network. In: 2018 14th Symposium on Neural Networks and Applications (NEUREL), pp. 1–5. IEEE, Belgrade, Serbia (2018)

    Google Scholar 

  19. Mirshekarian, S., Bunescu, R., Marling, C., Schwartz, F.: Using LSTMs to learn physiological models of blood glucose behavior. In: 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 2887–2891. IEEE, Seogwipo, South Korea (2017)

    Google Scholar 

  20. Zhu, T., Li, K., Herrero, P., Chen, J., Georgiou, P.: A deep learning algorithm for personalized blood glucose prediction. In: KHD@ IJCAI, pp. 64–78 (2018)

    Google Scholar 

  21. DirecNet: Diabetes Research in Children Network, http://direcnet.jaeb.org/Studies.aspx. Accessed 01 Apr 2019

  22. Hosni, M., Idri, A., Abran, A.: Investigating heterogeneous ensembles with filter feature selection for software effort estimation. In: Proceedings of the 27th International Workshop on Software Measurement and 12th International Conference on Software Process and Product Measurement, pp. 207–220. ACM, Gothenburg, Sweden (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ali Idri .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

El Idrissi, T., Idri, A. (2020). Deep Learning for Blood Glucose Prediction: CNN vs LSTM. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2020. ICCSA 2020. Lecture Notes in Computer Science(), vol 12250. Springer, Cham. https://doi.org/10.1007/978-3-030-58802-1_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-58802-1_28

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-58801-4

  • Online ISBN: 978-3-030-58802-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics