Abstract
Electroencephalography (EEG) is one of the most signals used for studying and demonstrating the electrical activity of the brain due to the absence of side effects, its noninvasive nature and its well temporal resolution. Indeed, it provides real-time information, so it can be easily suitable for predicting drivers’ vigilance states. The classification of these states through this signal requires sophisticated approaches in order to achieve the best prediction performance. Furthermore, deep learning (DL) approaches have shown a good performance in learning the high-level features of the EEG signal and in resolving classification issues. In this paper, we will predict individuals’ states of vigilance based on the study of their brain activity by analyzing EEG signals using DL architectures. In fact, we propose two types of networks: (i) a 1D-UNet model, which is composed only of deep one-dimensional convolutional neural network (1D-CNN) layers and (ii) 1D-UNet-long short-term memory (1D-UNet-LSTM) that combines the proposed 1D-UNet architecture with the LSTM recurrent model. The experimental results reveal that the suggested models can stabilize the training model, well recognize the subject vigilance states and compete with the state of art on multiple performance metrics. The per-class average of precision and recall can be, respectively, up to 86% with 1D-UNet and 85% with 1D-UNet-LSTM, hence the effectiveness of the proposed methods. In order to complete our virtual prototyping and to get a real evaluation of our alert equipment, these proposed DL models are implemented also on a Raspberry Pi3 device allowing measuring the execution time necessary for predicting the state vigilance in real time.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig6_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig7_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig8_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig9_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig10_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig11_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig12_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig13_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs00521-020-05467-5/MediaObjects/521_2020_5467_Fig14_HTML.png)
Similar content being viewed by others
Change history
18 June 2021
A Correction to this paper has been published: https://doi.org/10.1007/s00521-021-06187-0
References
Najafabadi MM, Villanustre F, Khoshgoftaar TM et al (2015) Deep learning applications and challenges in big data analytics. J Big Data 2(1):1. https://doi.org/10.1186/s40537-014-0007-7
Lecun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521:436–444. https://doi.org/10.1038/nature14539
Krizhevsky A, Sutskever I, Hinton GE (2012) ImageNet classification with deep convolutional neural networks. Adv Neural Inf Process Syst. https://doi.org/10.1016/j.protcy.2014.09.007
Uçar A, Demir Y, Guzelis C (2017) Object recognition and detection with deep learning for autonomous driving applications. Simulation 93(9):759–769. https://doi.org/10.1177/0037549717709932
Geng Y, Liang RZ, Li W, Wang J, Liang G, Xu C, Wang JY (2017) Learning convolutional neural network tomaximize Pos@Top performance measure. In: ESANN 2017-Proceedings, pp 589–594
Geng Y, Zhang G, Li W, Gu Y, Liang RZ, Liang G, Wang J, Wu Y, Patil N, Wang JY (2017) A novel image tag completion method based on convolutional neural transformation. In: International conference on artificial neural networks. Springer, Cham, pp 539–546
Zhang G, Liang G, Su F, Qu F, Wang JY (2018) Cross-domain attribute representation based on convolutional neural network. In: International conference on intelligent computing. Springer, Cham, pp 134–142
Zhang G, Liang G, Li W, Fang J, Wang J, Geng Y, Wang JY (2017) Learning convolutional ranking-score function by query preference regularization. In: International conference on intelligent data engineering and automated learning. Springer, Cham, pp 1–8
Truong ND, Nguyen AD, Kuhlmann L et al (2018) Convolutional neural networks for seizure prediction using intracranial and scalp electroencephalogram. Neural Netw 105:104–111. https://doi.org/10.1016/j.neunet.2018.04.018
Yildirim O, Tan RS, Acharya UR (2018) An efficient compression of ECG signals using deep convolutional autoencoders. Cognit Syst Res 52:198–211. https://doi.org/10.1016/j.cogsys.2018.07.004
Yildirim O (2018) A novel wavelet sequence based on deep bidirectional LSTM network model for ECG signal classification. Comput Biol Med 96:189–202. https://doi.org/10.1016/j.compbiomed.2018.03.016
Birjandtalab J, Heydarzadeh M, Nourani M (2017) Automated EEG based epileptic seizure detection using deep neural networks. In: IEEE international conference on healthcare informatics (ICHI). https://doi.org/10.1109/ICHI.2017.55
Santoniades A, Spyrou L, Took CH, Sanei S (2016) Deep learning for epileptic intracranial EEG data. In: IEEE 26th international workshop on machine learning for signal processing (MLSP). https://doi.org/10.1109/mlsp.2016.7738824
Lehmann C, Koenig T, Jelic V et al (2007) Application and comparison of classification algorithms for recognition of Alzheimer’s disease in electrical brain activity (EEG). J Neurosci Methods 161(215):342–350. https://doi.org/10.1016/j.jneumeth.2006.10.023
Ahmadlou M, Adeli H, Adeli A (2011) Fractality and a waveletchaos-methodology for EEG-based diagnosis of Alzheimer disease. Alzheimer Dis Assoc Disord 25(1):85–92. https://doi.org/10.1097/WAD.0b013e3181ed1160
Fraiwan L (2017) Neonatal sleep state identification using deep learning autoencoders. In: IEEE 13th international colloquium on signal processing & its applications (CSPA). https://doi.org/10.1109/CSPA.2017.8064956
Chambon S, Galtier MN, Arnal PJ, Wainrib G, Gramfort A (2018) A deep learning architecture for temporal sleep stage classification using multivariate and multimodal time series. IEEE Trans Neural Syst Rehabil Eng. https://doi.org/10.1109/tnsre.2018.2813138
Dong H, Supratak S, Pan W, Wu C, Matthews PM, Guo Y (2018) Mixed neural network approach for temporal sleep stage classification. IEEE Trans Neural Syst Rehabil Eng. https://doi.org/10.1109/tnsre.2017.2733220
Liu Y, Liu Q (2017) Convolutional neural networks with large-margin Softmax loss function for cognitive load recognition. In: 36th Chinese control conference (CCC), July 26–28. https://doi.org/10.23919/chicc.2017.8027991
Hajinoroozi M, Zhang J, Huang Y (2017) Driver’s fatigue prediction by deep covariance learning from EEG. In: IEEE international conference on systems, man, and cybernetics (SMC). https://doi.org/10.1109/smc.2017.8122609
Almogbel MA, Dang AH, Kameyama W (2018) EEG-signals based cognitive workload detection of vehicle driver using deep learning. In: International conference on advanced communications technology (ICACT), pp 256–259. https://doi.org/10.23919/icact.2018.8323715
Zeng H, Yang C, Dai G, Qin F, Zhang J, Kong W (2018) EEG classification of driver mental states by deep learning. Cognit Neurodyn. https://doi.org/10.1007/s11571-018-9496-y
Hajinoroozi M, Mao Z, Jung TP, Lin CH, Huang Y (2016) EEG-based prediction of driver’s cognitive performance by deep convolutional neural network. Sig Process Image Commun 47:549–555. https://doi.org/10.1016/j.image.2016.05.018
Acharya UR, Oh SL, Hagiwara Y, Tana JH, Adelid H (2018) Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput Biol Med 100:270–278. https://doi.org/10.1016/j.compbiomed.2017.09.017
Oh SL, Hagiwara Y, Raghavendra U et al (2018) A deep learning approach for Parkinson’s disease diagnosis from EEG signals. Neural Comput Appl. https://doi.org/10.1007/s00521-018-3689-5
Faust O, Hagiwara Y, Hong TJ, Lih OS, Acharya UR (2018) Deep learning for healthcare applications based on physiological signals: a review. Comput Methods Programs Biomed. https://doi.org/10.1016/j.cmpb.2018.04.005
Blaiech AG, Ben KK, Boubaker M, Bedoui MH (2018) LVQ neural network optimized implementation on FPGA devices with multiple-wordlength operations for real-time systems. Neural Comput Appl 29:509–528. https://doi.org/10.1007/s00521-016-2465-7
Belakhadar I, Kaaniche W, Djemal R, Ouni B (2018) Single-channel-based automatic drowsiness detection architecture with a reduced number of EEG features. Microprocess Microsyst 58:13–23. https://doi.org/10.1016/j.micpro.2018.02.004
Boubaker M, Akil M, Ben Khalifa K, Grandpierre T, Bedoui MH (2010) Implementation of an LVQ neural network with a variable size: algorithmic specification, architectural exploration and optimized implementation on FPGA devices. Neural Comput Appl. https://doi.org/10.1007/s00521-009-0296-5
Ben Khalifa K, Bedoui MH, Dogui M, Alexandre F (2004) Analysis of vigilance states by neural networks. In: Proceedings of international conference on information and communication technologies: from theory to applications, pp 429–430. https://doi.org/10.1109/ICTTA.2004.1307815
Blaiech AG, Ben Khalifa K, Boubaker M, Bedoui MH (2010) Multi-width fixed-point coding based on reprogrammable hardware implementation of a multi-layer perceptron neural network for alertness classification. In: Proceeding of the 10th international conference on intelligent systems design and applications (ISDA), Cairo, Egypt, 2010, pp 610–614. https://doi.org/10.1109/ISDA.2010.5687196
Pisano B, Teixeira CA, Dourado A, Fanni A (2019) Application of self-organizing map to identify nocturnal epileptic seizures. Neural Comput Appl. https://doi.org/10.1007/s00521-019-04327-1
Liu Y, Liu Q (2017) Convolutional neural networks with large-margin Softmax loss function for cognitive load recognition, July 26–28, 2017. https://doi.org/10.23919/ChiCC.2017.8027991
Tzimourta KD, Tzallas AT, Giannakeas N et al (2018) Epileptic seizures classification based on long-term EEG signal wavelet analysis. In: IFMBE proceedings
Yuan Q, Zhou W, Xu F et al (2018) Epileptic EEG identification via LBP operators on wavelet coefficients. Int J Neural Syst. https://doi.org/10.1142/s0129065718500107
Acharya UR, Hagiwara Y, Deshpande SN, Suren S, Koh JEW, Oh SL, Arunkumar N, Ciaccio EJ, Lim CM (2018) Characterization of focal EEG signals: a review. Future Gen Comput Syst. https://doi.org/10.1016/j.future.2018.08.044
Saini N, Bhardwaj S, Agarwal R (2019) Classification of EEG signals using hybrid combination of features for lie detection. Neural Comput Appl 32:3777–3787. https://doi.org/10.1007/s00521-019-04078-z
Kiranyaz S, Avci O, Abdeljaber O, Ince T, Gabbouj M, Inman DJ (2019) 1D convolutional neural networks and applications: a survey. arXiv:1905.03554. https://arxiv.org/ftp/arxiv/papers/1905/1905.03554.pdf
Yıldırım O, Baloglu UB, Acharya UR (2018) A deep convolutional neural network model for automated identification of abnormal EEG signals. Neural Comput Appl. https://doi.org/10.1007/s00521-018-3889-z
Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. In: Proceedings of the neural information processing systems conference, 2012, pp 1097–1105. https://papers.nips.cc/paper/4824-imagenetclassification-with-deep-convolutional-neural-networks.pdf
Kiselak J, Lu Y, Svihra J, Szepe P, Stehlik M (2020) “SPOCU”: scaled polynomial constant unit activation function. Neural Comput Appl. https://doi.org/10.1007/s00521-020-05182-1
Zhao J, Mao X, Chen L (2019) Speech emotion recognition using deep 1D & 2D CNN LSTM networks. Biomed Signal Process Control 47:312–323. https://doi.org/10.1016/j.bspc.2018.08.035
Ronneberger O, Philipp F, Thomas B (2015) U-Net: convolutional networks for biomedical image segmentation. https://arxiv.org/abs/1505.04597
Chollet F (2015) Keras: deep learning library for theano and tensorflow. https://keras.io/
Kingma DP, Ba J (2015) Adam: a method for stochastic optimization. In: International conference on learning representations, San Diego
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
There is no conflict of interest in this work.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Khessiba, S., Blaiech, A.G., Ben Khalifa, K. et al. Innovative deep learning models for EEG-based vigilance detection. Neural Comput & Applic 33, 6921–6937 (2021). https://doi.org/10.1007/s00521-020-05467-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-020-05467-5