pathological characteristics even in the healthy
episodes and using a simplified network cannot
classify the non-AFib or AFib episodes. There is no
doubt that using the deeper neural network with
complex structure, such as adding lots of CNN layers
and attention layers, will learn the difference. Still, it
will make the computing load quite extensive, which
is contrary to the original intention. Therefore, a
second phase was included for the detection of the
paroxysmal onset.
Secondly, the use of Stage II to finish the whole
classification task is tested. However, the
performance was not satisfying due to the
oversensitivity of the Stage II network and its trend to
identify the segment as AFib. Besides, feature
extraction relies greatly on reliable and accurate R
peak detection. When the signal has massive motion
artefacts, the failed R peak detection will cause an
error in the algorithm. This is another advantage of
the two-stage structure.
Thirdly, there is still room for the improvement of
the overall performance. In the blind test of the
challenge, the overall mark is decreased from 2 to
approximately 1.7. This result showed that the
generalization needs to be improved, especially in
Stage II. Currently, only two features were used while
adding more features might be a solution to improve
the algorithm. Besides, appropriate window length
may also affect the result. Currently, a 5s window on
Stage I and five intervals on Stage II are used. Longer
window length may provide more information,
especially on the feature extraction of Stage II. Short
duration cannot maximize the feature difference.
5 CONCLUSIONS
This study proposed a two-stage neural network
algorithm that can detect paroxysmal AFib and its
onsets. For performance, it can achieve 90.14% and
92.56% accuracy on non-AFib and AFib segments
classification respectively in the two stages, got
2.0953 overall mark on our testing sets. As few
researches have focused on paroxysmal AFib
detection using NNs, the finding of this study will
provide knowledge for the further researches in this
area. In the meantime, the proposed method also
holds the advantage of a small computing load,
making it possible for embedded ECG devices.
ACKNOWLEDGEMENT
This work has been funded in part from KFAS,
Kuwait Foundation for Advancement of Sciences,
project no. CN20-13EE-01.
REFERENCES
January, C. T., Wann, L. S., Alpert, J. S., Calkins, H.,
Cigarroa, J. E., Cleveland, J. C., ... & Yancy, C. W.
(2014). 2014 AHA/ACC/HRS guideline for the
management of patients with atrial fibrillation: a report
of the American College of Cardiology/American Heart
Association Task Force on Practice Guidelines and the
Heart Rhythm Society. Journal of the American
College of Cardiology, 64(21), e1-e76.
Kornej, J., Börschel, C. S., Benjamin, E. J., & Schnabel, R.
B. (2020). Epidemiology of atrial fibrillation in the 21st
century: novel methods and new insights. Circulation
research, 127(1), 4-20.
Zhou, X., Ding, H., Wu, W., & Zhang, Y. (2015). A real-
time atrial fibrillation detection algorithm based on the
instantaneous state of heart rate. PloS one, 10(9),
e0136544.
De Giovanni, E., Aminifar, A., Luca, A., Yazdani, S.,
Vesin, J. M., & Atienza, D. (2017, September). A
patient-specific methodology for prediction of
paroxysmal atrial fibrillation onset. In 2017 Computing
in Cardiology (CinC) (pp. 1-4). IEEE.
Pourbabaee, B., Roshtkhari, M. J., & Khorasani, K. (2018).
Deep convolutional neural networks and learning ECG
features for screening paroxysmal atrial fibrillation
patients. IEEE Transactions on Systems, Man, and
Cybernetics: Systems, 48(12), 2095-2104.
Annavarapu, A., & Kora, P. (2016). ECG-based atrial
fibrillation detection using different orderings of
Conjugate Symmetric–Complex Hadamard Transform.
International Journal of the Cardiovascular Academy,
2(3), 151-154.
Rizwan, A., Zoha, A., Mabrouk, I. B., Sabbour, H. M., Al-
Sumaiti, A. S., Alomainy, A., ... & Abbasi, Q. H.
(2020). A review on the state of the art in atrial
fibrillation detection enabled by machine learning.
IEEE reviews in biomedical engineering, 14, 219-239.
Liu, C., Oster, J., Reinertsen, E., Li, Q., Zhao, L., Nemati,
S., & Clifford, G. D. (2018). A comparison of entropy
approaches for AF discrimination. Physiological
measurement, 39(7), 074002.
Kalidas, V., & Tamil, L. S. (2019). Detection of atrial
fibrillation using discrete-state Markov models and
Random Forests. Computers in biology and medicine,
113, 103386.
Xiong, Z., Stiles, M. K., & Zhao, J. (2017, September).
Robust ECG signal classification for detection of atrial
fibrillation using a novel neural network. In 2017
Computing in Cardiology (CinC) (pp. 1-4). IEEE.