Abstract
Sentiment identification on facial expression is an interesting study domain with applications in various disciplines, including security, health, and human-machine interfaces. The main goal of sentiment analysis is to decide an individual’s perspective on a topic or the document’s overall contextual polarity. In nonverbal communication, sentiment analysis plays a vital role in an individual’s feelings, reflecting on the faces. Researchers in this area are interested in improving models and methods and extracting various characteristics to provide a better computer prediction of sentiments. Sentiment polarities are mainly classified as positive, negative, and neutral. Many sentiment analysis approaches exist, but deep learning architectures can handle extensive data and provide better performances. We presented a solution based on the CNN (Convolutional Neural Network) model for handling this problem. This work uses the extended Cohn Kanade (CK+) and FER-2013 datasets for facial expression recognition study. Several existing architectures are used to evaluate the efficiency of the proposed model. Extensive experiments are carried out on both CK+ and FER-2013 data sets, and our framework outperforms state-of-the-art techniques. According to obtained results, the CNN3 model gives 79% and 95% accuracy for FER-2013 and CK+ datasets, respectively.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Huang Y, Xu H (2021) Fully convolutional network with attention modules for semantic segmentation. Signal, Image and Video Processing 15:1031–1039
You, Q., Luo, J., Jin, H., Yang, J.: Robust image sentiment analysis using progressively trained and domain transferred deep networks. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 29 (2015)
Islam, J., Zhang, Y.: Visual sentiment analysis for social images using transfer learning approach. In: 2016 IEEE International Conferences on Big Data and Cloud Computing (BDCloud), Social Computing and Networking (SocialCom), Sustainable Computing and Communications (SustainCom)(BDCloud-SocialCom-SustainCom), pp. 124–130 (2016). IEEE
Campos V, Jou B, Giro-i-Nieto X (2017) From pixels to sentiment: Fine-tuning cnns for visual sentiment prediction. Image and Vision Computing 65:15–22
Tsytsarau M, Palpanas T (2012) Survey on mining subjective data on the web. Data Mining and Knowledge Discovery 24:478–514
Goodfellow, I.J., Erhan, D., Carrier, P.L., Courville, A., Mirza, M., Hamner, B., Cukierski, W., Tang, Y., Thaler, D., Lee, D.-H., Challenges in representation learning: A report on three machine learning contests. In: Neural Information Processing: 20th International Conference, ICONIP 2013, Daegu, Korea, November 3-7, 2013. Proceedings, Part III 20, pp. 117–124 (2013). Springer
Montoyo A, Martínez-Barco P, Balahur A (2012) Subjectivity and sentiment analysis: An overview of the current state of the area and envisaged developments. Decision Support Systems 53(4):675–679
Maynard, D., Funk, A.: Automatic detection of political opinions in tweets. In: The Semantic Web: ESWC 2011 Workshops: ESWC 2011 Workshops, Heraklion, Greece, May 29-30, 2011, Revised Selected Papers 8, pp. 88–99 (2012). Springer
Bengio Y, Goodfellow I, Courville A (2017) Deep learning. MIT press Cambridge, MA, USA
Dalai, R., Senapati, K.K.: Comparison of various rcnn techniques for classification of object from image. International Research Journal of Engineering and Technology (IRJET) 4(07) (2017)
Lucey, P., Cohn, J.F., Kanade, T., Saragih, J., Ambadar, Z., Matthews, I.: The extended cohn-kanade dataset (ck+): A complete dataset for action unit and emotion-specified expression. In: 2010 Ieee Computer Society Conference on Computer Vision and Pattern Recognition-workshops, pp. 94–101 (2010). IEEE
Patel K, Mehta D, Mistry C, Gupta R, Tanwar S, Kumar N, Alazab M (2020) Facial sentiment analysis using ai techniques: state-of-the-art, taxonomies, and challenges. IEEE Access 8:90495–90519
Song K, Yao T, Ling Q, Mei T (2018) Boosting image sentiment analysis with visual attention. Neurocomputing 312:218–228
Rashid, T.A.: Convolutional neural networks based method for improving facial expression recognition. In: Intelligent Systems Technologies and Applications 2016, pp. 73–84 (2016). Springer
Torres, A.D., Yan, H., Aboutalebi, A.H., Das, A., Duan, L., Rad, P.: Patient facial emotion recognition and sentiment analysis using secure cloud with hardware acceleration. In: Computational Intelligence for Multimedia Big Data on the Cloud with Engineering Applications, pp. 61–89. Elsevier, (2018)
Wang, J., Fu, J., Xu, Y., Mei, T.: Beyond object recognition: Visual sentiment analysis with deep coupled adjective and noun neural networks. In: IJCAI, pp. 3484–3490 (2016). Citeseer
Ain, Q.T., Ali, M., Riaz, A., Noureen, A., Kamran, M., Hayat, B., Rehman, A.: Sentiment analysis using deep learning techniques: a review. International Journal of Advanced Computer Science and Applications 8(6) (2017)
Chen, T., Borth, D., Darrell, T., Chang, S.-F.: Deepsentibank: Visual sentiment concept classification with deep convolutional neural networks. arXiv preprint http://arxiv.org/abs/1410.8586arXiv:1410.8586 (2014)
Chen, T., Borth, D., Darrell, T., Chang, S.-F.: Deepsentibank: Visual sentiment concept classification with deep convolutional neural networks. arXiv preprint http://arxiv.org/abs/1410.8586arXiv:1410.8586 (2014)
Jindal, S., Singh, S.: Image sentiment analysis using deep convolutional neural networks with domain specific fine tuning. In: 2015 International Conference on Information Processing (ICIP), pp. 447–451 (2015). IEEE
Girshick R, Donahue J, Darrell T, Malik J (2015) Region-based convolutional networks for accurate object detection and segmentation. IEEE transactions on pattern analysis and machine intelligence 38(1):142–158
Cai, G., Xia, B.: Convolutional neural networks for multimedia sentiment analysis. In: Natural Language Processing and Chinese Computing: 4th CCF Conference, NLPCC 2015, Nanchang, China, October 9-13, 2015, Proceedings 4, pp. 159–167 (2015). Springer
Jokhio, F.A., Jokhio, A.: Image classification using alexnet with svm classifier and transfer learning. Journal of Information Communication Technologies and Robotic Applications, 44–51 (2019)
Gajarla, V., Gupta, A.: Emotion detection and sentiment analysis of images. Georgia Institute of Technology, 1–4 (2015)
Mandhyani, J., Khatri, L., Ludhrani, V., Nagdev, R., Sahu, S.: Image sentiment analysis. International Journal of Engineering Science 4566 (2017)
Girshick, R.: Fast r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015)
Yang J, She D, Sun M, Cheng M-M, Rosin PL, Wang L (2018) Visual sentiment prediction based on automatic discovery of affective regions. IEEE Transactions on Multimedia 20(9):2513–2525
Salunke, V., Panicker, S.S.: Image sentiment analysis using deep learning. In: Inventive Communication and Computational Technologies: Proceedings of ICICCT 2020, pp. 143–153 (2021). Springer
Onita, D., Dinu, L.P., Birlutiu, A.: From image to text in sentiment analysis via regression and deep learning. In: Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019), pp. 862–868 (2019)
Gudi, A., Tasli, H.E., Den Uyl, T.M., Maroulis, A.: Deep learning based facs action unit occurrence and intensity estimation. In: 2015 11th IEEE International Conference and Workshops on Automatic Face and Gesture Recognition (FG), vol. 6, pp. 1–5 (2015). IEEE
Moran, J.L.: Classifying emotion using convolutional neural networks. UC Merced Undergraduate Research Journal 11(1) (2019)
Sadr H, Pedram MM, Teshnehlab M (2021) Convolutional neural network equipped with attention mechanism and transfer learning for enhancing performance of sentiment analysis. Journal of AI and data mining 9(2):141–151
Parimala, M., Swarna Priya, R., Praveen Kumar Reddy, M., Lal Chowdhary, C., Kumar Poluru, R., Khan, S.: Spatiotemporal-based sentiment analysis on tweets for risk assessment of event using deep learning approach. Software: Practice and Experience 51(3), 550–570 (2021)
Gan Y, Chen J, Xu L (2019) Facial expression recognition boosted by soft label with a diverse ensemble. Pattern Recognition Letters 125:105–112
Renda A, Barsacchi M, Bechini A, Marcelloni F (2019) Comparing ensemble strategies for deep learning: An application to facial expression recognition. Expert Systems with Applications 136:1–11
Babajee, P., Suddul, G., Armoogum, S., Foogooa, R.: Identifying human emotions from facial expressions with deep learning. In: 2020 Zooming Innovation in Consumer Technologies Conference (ZINC), pp. 36–39 (2020). IEEE
Tai, Y., Tan, Y., Gong, W., Huang, H.: Bayesian convolutional neural networks for seven basic facial expression classifications. arXiv preprint http://arxiv.org/abs/2107.04834arXiv:2107.04834 (2021)
Benamara NK, Val-Calvo M, Alvarez-Sanchez JR, Diaz-Morcillo A, Ferrandez-Vicente JM, Fernandez-Jover E, Stambouli TB (2021) Real-time facial expression recognition using smoothed deep neural network ensemble. Integrated Computer-Aided Engineering 28(1):97–111
Yang J, She D, Sun M, Cheng M-M, Rosin PL, Wang L (2018) Visual sentiment prediction based on automatic discovery of affective regions. IEEE Transactions on Multimedia 20(9):2513–2525
Yu, J.X., Lim, K.M., Lee, C.P.: Move-cnns: Model averaging ensemble of convolutional neural networks for facial expression recognition. IAENG International Journal of Computer Science 48(3) (2021)
Agrawal A, Mittal N (2020) Using cnn for facial expression recognition: a study of the effects of kernel size and number of filters on accuracy. The Visual Computer 36(2):405–412
Kim JH, Poulose A, Han DS (2021) The extensive usage of the facial image threshing machine for facial emotion recognition performance. Sensors 21(6):2026
Benmohamed A, Neji M, Ramdani M, Wali A, Alimi AM (2015) Feast: face and emotion analysis system for smart tablets. Multimedia Tools and Applications 74:9297–9322
Said Y, Barr M (2021) Human emotion recognition based on facial expressions via deep learning on high-resolution images. Multimedia Tools and Applications 80(16):25241–25253
Gupta, S., Kumar, P., Tekchandani, R.K.: Facial emotion recognition based real-time learner engagement detection system in online learning context using deep learning models. Multimedia Tools and Applications, 1–30 (2022)
Castellano, G., De Carolis, B., Macchiarulo, N.: Automatic facial emotion recognition at the covid-19 pandemic time. Multimedia Tools and Applications, 1–19 (2022)
Kumar A, Tripathi AR, Satapathy SC, Zhang Y-D (2022) Sars-net: Covid-19 detection from chest x-rays by combining graph convolutional network and convolutional neural network. Pattern Recognition 122:108255
Ng, A.: Deep learning specialization. Internet: https://www.coursera.org/specializations/deep-learning (2017)
Haykin, S.: Neural networks and learning machines, 3/E. Pearson Education India (2009)
Meena G, Mohbey KK, Indian A (2022) Categorizing sentiment polarities in social networks data using convolutional neural network. SN Computer Science 3(2):116
Pandey, A., Shukla, S., Mohbey, K.K.: Comparative analysis of a deep learning approach with various classification techniques for credit score computation. Recent Advances in Computer Science and Communications (Formerly: Recent Patents on Computer Science) 14(9), 2785–2799 (2021)
Qin, Z., Wu, J.: Visual saliency maps can apply to facial expression recognition. arXiv preprint http://arxiv.org/abs/1811.04544arXiv:1811.04544 (2018)
Riaz MN, Shen Y, Sohail M, Guo M (2020) Exnet: An efficient approach for emotion recognition in the wild. Sensors 20(4):1087
Jiang P, Wan B, Wang Q, Wu J (2020) Fast and efficient facial expression recognition using a gabor convolutional network. IEEE Signal Processing Letters 27:1954–1958
Zang H, Foo SY, Bernadin S, Meyer-Baese A (2021) Facial emotion recognition using asymmetric pyramidal networks with gradient centralization. IEEE Access 9:64487–64498
Alsharekh MF (2022) Facial emotion recognition in verbal communication based on deep learning. Sensors 22(16):6105
Borgalli, M.R.A., Surve, S.: Deep learning for facial emotion recognition using custom cnn architecture. In: Journal of Physics: Conference Series, vol. 2236, p. 012004 (2022). IOP Publishing
Ul Haq I, Ullah A, Muhammad K, Lee MY, Baik SW (2019) Personalized movie summarization using deep cnn-assisted facial expression recognition. Complexity 2019:1–10
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
The authors confirm that this article’s content has no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Meena, G., Mohbey, K.K., Indian, A. et al. Identifying emotions from facial expressions using a deep convolutional neural network-based approach. Multimed Tools Appl 83, 15711–15732 (2024). https://doi.org/10.1007/s11042-023-16174-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-16174-3