Skip to main content
Log in

Sarcastic user behavior classification and prediction from social media data using firebug swarm optimization-based long short-term memory

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Sarcasm is a type of speech where people use positive words to convey a negative message. Recently, only a few research have been presented that focus on the entire spectrum of sarcasm in order to identify sarcastic sentiments present in both the image and the text. This work presents a novel firebug swarm optimization-based long short-term memory (FSO-LSTM) architecture to identify the sarcastic sentiments present in tweets. To identify the facial expressions of the users, the proposed FSO-based LSTM architecture is trained using the CK + dataset. The FSO algorithm is used to optimize the weighting factors of the LSTM architecture and also minimize the root-mean-square error (RMSE) and mean absolute error. The proposed method primarily attempts to address two challenging issues in sarcasm detection: the high number of false negatives and the fact that polite tweets often go undetected. The user's mood changes (sarcastic) such as rude, polite, furious, and impassive can be identified using the proposed model. Hence, the proposed classifier is capable of analyzing the behavior change of the user by collecting the past twitter account history. The efficiency of the proposed methodology is evaluated using different performance metrics such as accuracy, RMSE, confusion matrix, and loss. The proposed methodology offers an average classification accuracy of 97.25% classification accuracy when compared to the state-of-the-art approaches.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Benevenuto F, Rodrigues T, Cha M, Almeida V (2009) Characterizing user behavior in online social networks. In: Proceedings of the 9th ACM SIGCOMM conference on internet measurement, pp. 49–62

  2. László G, Trinh TA (2010) Measuring user behavior in online social networks. IEEE Network 24(5):26–31

    Article  Google Scholar 

  3. Bharanipriya V, Kamakshi Prasad V (2011) Web content mining tools: a comparative study. Int J Inform Technol Knowl Manag 4(1):211–215

    Google Scholar 

  4. Woodward JD, Horn C, Gatune J, Thomas A (2003) Biometrics: a look at facial recognition. Rand Corp Santa Monica CA

  5. Djarova J (2004) Sara Lee/Douwe Egberts. Cross-border investing: the case of Central and Eastern Europe, pp. 245–258

  6. Tamil Priya D, Divya Udayan J (2020) Transfer learning techniques for emotion classification on visual features of images in the deep learning network. Int J Speech Technol 23:361–372

    Article  Google Scholar 

  7. Verma G, Verma H (2020) Hybrid-deep learning model for emotion recognition using facial expressions. The Rev Socionetw Strat 14(2):171–180

    Article  Google Scholar 

  8. Happy SL, George A, Routray A (2012) A real time facial expression classification system using local binary patterns. In: 2012 4th International conference on intelligent human computer interaction (IHCI). IEEE, pp. 1–5

  9. Chia ZL, Ptaszynski M, Masui F, GniewoszLeliwa, and Michal Wroczynski (2021) Machine learning and feature engineering-based study into sarcasm and irony classification with application to cyberbullying detection. Inform Process Manag 58(4):102600

    Article  Google Scholar 

  10. Athanasiou V, Maragoudakis M (2017) A novel, gradient boosting framework for sentiment analysis in languages where NLP resources are not plentiful: a case study for modern Greek. Algorithms 10(1):34

    Article  MathSciNet  MATH  Google Scholar 

  11. Alarifi A, Tolba A, Al-Makhadmeh Z, Said W (2020) A big data approach to sentiment analysis using greedy feature selection with cat swarm optimization-based long short-term memory neural networks. J Supercomput 76(6):4414–4429

    Article  Google Scholar 

  12. Kumar KN, Uma V (2021) Intelligent sentinet-based lexicon for context-aware sentiment analysis: optimized neural network for sentiment classification on social media. The J Supercomput 1–25

  13. Zikang H, Yong Y, Guofeng Y, Xinyu Z (2020) Sentiment analysis of agricultural product ecommerce review data based on deep learning. In: 2020 international conference on internet of things and intelligent applications (ITIA), IEEE, pp. 1–7

  14. Priyadarshini I, Cotton C (2021) A novel LSTM–CNN–grid search-based deep neural network for sentiment analysis. The J Supercomput 1–22

  15. 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

    Article  Google Scholar 

  16. Du Y, Li T, Pathan MS, Teklehaimanot HK, Yang Z (2021) An effective sarcasm detection approach based on sentimental context and individual expression habits. Cognitive Comput 1–13

  17. Wen G, Hou Z, Li H, Li D, Jiang L, Xun E (2017) Ensemble of deep neural networks with probability-based fusion for facial expression recognition. Cognit Comput 9(5):597–610

    Article  Google Scholar 

  18. Sajjad M, Zahir S, Ullah A, Akhtar Z, Muhammad K (2019) Human behavior understanding in big multimedia data using CNN based facial expression recognition. Mob Netw Appl 1–11

  19. Naim I, Tanveer I, Gildea D, Hoque ME (2016) Automated analysis and prediction of job interview performance. IEEE Trans Affect Comput 9(2):191–204

    Article  Google Scholar 

  20. Zhang Z, Luo P, Loy CC, Tang X (2018) From facial expression recognition to interpersonal relation prediction. Int J Comput Vis 126(5):550–569

    Article  MathSciNet  Google Scholar 

  21. Dash S, Luhach AK, Chilamkurti N, Baek S, Nam Y (2019) A neuro-fuzzy approach for user behaviour classification and prediction. J Cloud Comput 8(1):1–15

    Article  Google Scholar 

  22. Lucey P, Cohn JF, Kanade T, Saragih J, Ambadar Z, Matthews I (2010) 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. IEEE

  23. Sundararajan K, Palanisamy AK (2020) Multi-rule based ensemble feature selection model for sarcasm type detection in twitter. Comput Intell Neurosci

  24. Faria DR, Vieira M, Faria FC (2017) Towards the development of affective facial expression recognition for human-robot interaction. In: Proceedings of the 10th international conference on pervasive technologies related to assistive environments, pp. 300–304

  25. Beel J, Aizawa A, Breitinger C, Gipp B (2017) Mr. DLib: recommendations-as-a-service (RaaS) for academia. In: 2017 ACM/IEEE joint conference on digital libraries (JCDL). IEEE pp. 1–2

  26. Noel MM, Venkataraman M-N, Amali GB, Trivedi AS (2021) A new biologically inspired global optimization algorithm based on firebug reproductive swarming behaviour. Exp Syst Appl 115408

  27. Hofmann C, Huemmer C, Kellermann W (2014) Significance-aware Hammerstein group models for nonlinear acoustic echo cancellation. In: 2014 IEEE international conference on acoustics, speech and signal processing (ICASSP). IEEE, pp. 5934–5938

  28. Yang B, Mitchell T (2019) Leveraging knowledge bases in lstms for improving machine reading

  29. Greff K, Srivastava RK, Koutník J, Steunebrink BR, Schmidhuber J (2016) LSTM: a search space odyssey. IEEE Trans Neural Netw Learn Syst 28(10):2222–2232

    Article  MathSciNet  Google Scholar 

  30. Loper E, Bird S (2002) Nltk: the natural language toolkit

  31. Sundararaj V, Muthukumar S, Kumar RS (2018) An optimal cluster formation based energy efficient dynamic scheduling hybrid MAC protocol for heavy traffic load in wireless sensor networks. Comput Secur 77:277–288

    Article  Google Scholar 

  32. Sundararaj V (2016) An efficient threshold prediction scheme for wavelet based ECG signal noise reduction using variable step size firefly algorithm. Int J Intell Eng Syst 9(3):117–126

    Google Scholar 

  33. Sundararaj V (2019) Optimised denoising scheme via opposition-based self-adaptive learning PSO algorithm for wavelet-based ECG signal noise reduction. Int J Biomed Eng Technol 31(4):325

    Article  Google Scholar 

  34. Sundararaj V, Anoop V, Dixit P, Arjaria A, Chourasia U, Bhambri P, MR, Rejeesh. and Regu Sundararaj, (2020) CCGPA-MPPT: Cauchy preferential crossover-based global pollination algorithm for MPPT in photovoltaic system. Prog Photovolt Res Appl 28(11):1128–1145

    Article  Google Scholar 

  35. Ravikumar S, Kavitha D (2021) CNN‐OHGS: CNN‐oppositional‐based Henry gas solubility optimization model for autonomous vehicle control system. J Field Robot

  36. Ravikumar S, Kavitha D (2021) IoT based home monitoring system with secure data storage by Keccak-Chaotic sequence in cloud server. J Ambient Intell Humanized Comput 12(7):7475–7487

    Article  Google Scholar 

  37. Rejeesh MR (2019) Interest point based face recognition using adaptive neuro fuzzy inference system. Multimed Tools Appl 78(16):22691–22710

    Article  Google Scholar 

  38. Kavitha D, Ravikumar S (2021) IOT and context-aware learning-based optimal neural network model for real-time health monitoring. Trans Emerg Telecommun Technol 32(1):e4132

    Google Scholar 

  39. Hassan BA, Rashid TA (2020) Datasets on statistical analysis and performance evaluation of backtracking search optimisation algorithm compared with its counterpart algorithms. Data Brief 28:105046

    Article  Google Scholar 

  40. Hassan BA (2021) CSCF: a chaotic sine cosine firefly algorithm for practical application problems. Neural Comput Appl 33(12):7011–7030

    Article  Google Scholar 

  41. Hassan BA, Rashid TA, Mirjalili S (2021) Formal context reduction in deriving concept hierarchies from corpora using adaptive evolutionary clustering algorithm star. Complex Intell Syst 1–16

  42. Haseena KS, Anees S, Madheswari N (2014) Power optimization using EPAR protocol in MANET. Int J Innov Sci Eng Technol 6:430–436

    Google Scholar 

  43. Gowthul Alam MM, Baulkani S (2019) Local and global characteristics-based kernel hybridization to increase optimal support vector machine performance for stock market prediction. Knowl Inf Syst 60(2):971–1000

    Article  Google Scholar 

  44. Gowthul Alam MM, Baulkani S (2017) Reformulated query-based document retrieval using optimised kernel fuzzy clustering algorithm. Int J Bus Intell Data Min 12(3):299

    Google Scholar 

  45. Nisha S, Madheswari AN (2016) Secured authentication for internet voting in corporate companies to prevent phishing attacks. Int J Emerg Technol Comput Sci Electron (IJETCSE) 22(1):45–49

    Google Scholar 

  46. Gowthul Alam MM, Baulkani S (2019) Geometric structure information based multi-objective function to increase fuzzy clustering performance with artificial and real-life data. Soft Comput 23(4):1079–1098

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to E. Karthik.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Karthik, E., Sethukarasi, T. Sarcastic user behavior classification and prediction from social media data using firebug swarm optimization-based long short-term memory. J Supercomput 78, 5333–5357 (2022). https://doi.org/10.1007/s11227-021-04028-4

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-021-04028-4

Keywords

Navigation