Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 32727
Use of Hierarchical Temporal Memory Algorithm in Heart Attack Detection

Authors: Tesnim Charrad, Kaouther Nouira, Ahmed Ferchichi


In order to reduce the number of deaths due to heart problems, we propose the use of Hierarchical Temporal Memory Algorithm (HTM) which is a real time anomaly detection algorithm. HTM is a cortical learning algorithm based on neocortex used for anomaly detection. In other words, it is based on a conceptual theory of how the human brain can work. It is powerful in predicting unusual patterns, anomaly detection and classification. In this paper, HTM have been implemented and tested on ECG datasets in order to detect cardiac anomalies. Experiments showed good performance in terms of specificity, sensitivity and execution time.

Keywords: HTM, Real time anomaly detection, ECG, Cardiac Anomalies.

Digital Object Identifier (DOI):

Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 694


[1] Chandola, V., Banerjee, A. and Kumar, V. (2009). Anomaly detection: A survey, ACM Computing Surveys (CSUR). 41(3), 1–72.
[2] Acuna, E. and Rodriguez, C. (2004). A meta analysis study of outlier detection methods in classification, Technical paper, Department of Mathematics, University of Puerto Rico at Mayaguez.
[3] Chandore, P. R. and Chatur, D. P. N. (2013). Hybrid approach for outlier detection over wireless sensor network real time data. International Journal Of Computer Science And Applications, 6(2).
[4] Malhotra, P., Vig, L., Shroff, G. and Agarwal, P. (2015, April). Long short term memory networks for anomaly detection in time series. In Proceedings (p. 89). Presses universitaires de Louvain.
[5] Jankov, D., Sikdar, S., Mukherjee, R., Teymourian, K. and Jermaine, C. (2017, June). Real-time High Performance Anomaly Detection over Data Streams: Grand Challenge. In Proceedings of the 11th ACM International Conference on Distributed and Event-based Systems (pp. 292-297). ACM.
[6] Loganathan, G., Samarabandu, J. and Wang, X. (2018, May). Sequence to Sequence Pattern Learning Algorithm for Real-Time Anomaly Detection in Network Traffic. In 2018 IEEE Canadian Conference on Electrical and Computer Engineering (CCECE) (pp. 1-4). IEEE.
[7] Edgeworth, F. Y. (1887). On discordant observations, Philosophical Magazine. To Appear in ACM Computing Surveys, 09 2009. 23(5), 364–375.
[8] Ahmad, S., Lavin, A., Purdy, S. and Agha, Z. (2017). Unsupervised real-time anomaly detection for streaming data. Neurocomputing.
[9] Lavin, A. and Ahmad, S. (2015). Evaluating Real-Time Anomaly Detection Algorithms–The Numenta Anomaly Benchmark. In Machine Learning and Applications (ICMLA), 2015 IEEE 14th International Conference on (pp. 38-44). IEEE.
[10] Ahmad, S. and Purdy, S. (2016). Real-Time Anomaly Detection for Streaming Analytics. arXiv preprint arXiv:1607.02480.
[11] Kerner, M. and Tammeme K. (2017). Hierarchical temporal memory implementation on FPGA using LFSR based spatial pooler address space generator. In Design and Diagnostics of Electronic Circuits and Systems (DDECS), 2017 IEEE 20th International Symposium on pp. 92–95. IEEE.
[12] M. Putic,A. J. Varshneya and M. R. Stan (2017). Hierarchical Temporal Memory on the Automata Processor. IEEE Micro, 37(1), 52-59.
[13] Fan, D., Sharad, M., Sengupta, A., and Roy, K. (2016). Hierarchical temporal memory based on spin-neurons and resistive memory for energy-efficient brain-inspired computing. IEEE transactions on neural networks and learning systems, 27(9), 1907-1919.
[14] Hawkins, J., and Ahmad, S. (2016). Why neurons have thousands of synapses, a theory of sequence memory in neocortex. Frontiers in neural circuits, 10.
[15] Ahmad, S., and Hawkins, J. (2016). How do neurons operate on sparse distributed representations? A mathematical theory of sparsity, neurons and active dendrites. arXiv preprint arXiv:1601.00720.
[16] Wu, J., Zeng, W., Chen, Z., and Tang, X. F. (2016, December). Hierarchical Temporal Memory Method for Time-Series-Based Anomaly Detection. In Data Mining Workshops (ICDMW), 2016 IEEE 16th International Conference on (pp. 1167-1172). IEEE.
[17] Nouira, K. and Trabelsi, A. (2012). Intelligent monitoring system for intensive care units. Journal of medical systems, 36(4), 2309-2318.
[18] Hawkins, J., Ahmad, S. and Dubinsky, D. (2011). Cortical learning algorithm and hierarchical temporal memory, Numenta Whitepaper, 1-68.
[19] Antic, S. D., Zhou,W. L., Moore, A. R., Short, S. M. and Ikonomu, K. D. (2010). The decade of the dendritic NMDA spike, Journal of neuroscience research, 88(14), 2991-3001.
[20] Major, G., Larkum, M. E. and Schiller, J. (2013). Active properties of neocortical pyramidal neuron dendrites. Annual review of neuroscience, 36, 1-24.
[21] Cui, Y., Ahmad, S. and Hawkins, J. (2016). Continuous online sequence learning with an unsupervised neural network model. Neural computation, 28(11), 2474-2504.
[22] Chen, X., Li, B., Shamsabardeh, M., Proietti, R., Zhu, Z. and Yoo, S. J. B. (2018, March). On real-time and self-taught anomaly detection in optical networks using hybrid unsupervised/supervised learning. In European Conf. Optical Communications.
[23] A. Frank and A. Asuncion (2013). UCI machine learning repositor,