Skip to main content

Advertisement

Log in

An intelligent machine learning-based sarcasm detection and classification model on social networks

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

A Correction to this article was published on 30 January 2023

This article has been updated

Abstract

Due to the exponential increase in Internet usage, sarcasm detection has gained significant attention in online social networking platforms. Sarcasm is a linguistic expression of dislikes or negative emotions by the use of overstated language constructs. Because of the complex nature and ambiguities of sarcasm, sarcasm detection becomes an NLP process and is commonly employed in sentiment analysis, human–machine dialogue, and other NLP applications. At the same time, the advent of Machine learning (ML) algorithms paves a way to design effective sarcasm detection approaches. In this aspect, this paper presents an Intelligent ML-based sarcasm detection and classification (IMLB-SDC) technique. The goal of the IMLB-SDC model is to detect the existence of sarcasm in social media. The IMLB-SDC model involves different stages of operations such as preprocessing, feature engineering, Feature selection (FS), classification, and parameter tuning. Besides, feature engineering process takes place using Term frequency—inverse document frequency (TF-IDF). In addition, two Feature selection (FS) approaches are utilized, namely chi-square and information gain. The IMLB-SDC model involves the Support vector machine (SVM) as a classification model, and the penalty factor \(C\) can be optimally tuned by the use of Particle swarm optimization (PSO) algorithm. A wide range of experiments takes place to ensure the improved performance of the IMLB-SDC technique. The experimental outcomes pointed out the promising efficiency of the IMLB-SDC technique over the recent state-of-the-art techniques with the precision, recall, and F-score of 0.947, 0.952, and 0.949, respectively.

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

Change history

References

  1. Singh A, Blanco E, Jin W (2019) Incorporating Emoji descriptions improves tweet classification. In: Proceedings of the 2019 conference of the North American chapter of the Association for Computational Linguistics: human language technologies, volume 1 (long and short papers), Minnesota, pp 2096–2101

  2. Takeshi S, Okazaki M, Matsuo Y (2010) Earthquake shakes Twitter users: real-time event detection by social sensors. In: Proceedings of the 19th International Conference on world wide web. ACM, pp 851–860

  3. Ray P, Chakrabarti A (2017) Twitter sentiment analysis for product review using lexicon method. International Conference on Data Management, Analytics and Innovation (ICDMAI), Pune:211–216

  4. Oghina A, Breuss M, Tsagkias M, de Rijke M (2012) Predicting IMDB movie ratings using social media. European Conference on Information Retrieval. Springer, Berlin, Heidelberg, pp 503–507

  5. Shamay-Tsoory SG, Tomer R, Aharon-Peretz J (2005) The neuroanatomical basis of understanding sarcasm and its relationship to social cognition. Neuropsychology 19:288

    Article  Google Scholar 

  6. Kreuz RJ, Caucci GM (2007) Lexical influences on the perception of sarcasm. In Proceedings of the Workshop on Computational Approaches to Figurative Language, Association for Computational Linguistics, Rochester, NY, USA 26:1–4

    Google Scholar 

  7. Gibbs RW (2000) Irony in talk among friends. Metaphor Symb 15(1–2):5–27

    Article  Google Scholar 

  8. Farías DIH, Patti V, Rosso P (2016) Irony detection in twitter: The role of affective content. ACM. Trans Internet Technol (TOIT) 16(3):19

    Article  Google Scholar 

  9. S.K. Bharti, K.S. Babu, S.K. Jena, Parsing-based sarcasm sentiment recognition in twitter data, in: Proceedings of the 2015 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining 2015, ACM, 2015, pp. 1373–1380.

  10. Y. Tay, L.A. Tuan, S.C. Hui, J. Su, Reasoning with sarcasm by reading in-between, arXiv preprint (2018).

  11. Razali MS, Halin AA, Ye L, Doraisamy S, Norowi NM (2021) Sarcasm Detection Using Deep Learning With Contextual Features. IEEE Access 9:68609–68618

    Article  Google Scholar 

  12. Banerjee A, Bhattacharjee M, Ghosh K, Chatterjee S (2020) Synthetic minority oversampling in addressing imbalanced sarcasm detection in social media. Multimedia Tools Appl 79(47):35995–36031

    Article  Google Scholar 

  13. Ren L, Xu B, Lin H, Liu X, Yang L (2020) Sarcasm detection with sentiment semantics enhanced multi-level memory network. Neurocomputing 401:320–326

    Article  Google Scholar 

  14. Porwal, S., Ostwal, G., Phadtare, A., Pandey, M. and Marathe, M.V., 2018, June. Sarcasm detection using recurrent neural network. In 2018 Second International Conference on Intelligent Computing and Control Systems (ICICCS) (pp. 746–748). IEEE.

  15. Abulaish, M. and Kamal, A., 2018, December. Self-deprecating sarcasm detection: An amalgamation of rule-based and machine learning approach. In 2018 IEEE/WIC/ACM International Conference on Web Intelligence (WI) (pp. 574–579). IEEE.

  16. Kumar A, Sangwan SR, Arora A, Nayyar A, Abdel-Basset M (2019) Sarcasm detection using soft attention-based bidirectional long short-term memory model with convolution network. IEEE access 7:23319–23328

    Article  Google Scholar 

  17. Chia ZL, Ptaszynski M, Masui F, Leliwa G, Wroczynski M (2021) Machine Learning and feature engineering-based study into sarcasm and irony classification with application to cyberbullying detection. Infor Process Manag 58(4):102600

    Article  Google Scholar 

  18. Shrivastava M, Kumar S (2021) A pragmatic and intelligent model for sarcasm detection in social media text. Technol Soc 64:101489

    Article  Google Scholar 

  19. Kumar HK, Harish BS (2018) Sarcasm classification: a novel approach by using content based feature selection method. Procedia Comput Sci 143:378–386

    Article  Google Scholar 

  20. Bharti SK, Vachha B, Pradhan RK, Babu KS, Jena SK (2016) Sarcastic sentiment detection in tweets streamed in real time: a big data approach. Digital Commun Networks 2(3):108–121

    Article  Google Scholar 

  21. Bai Y, Sun Z, Zeng B, Long J, Li L, de Oliveira JV, Li C (2019) A comparison of dimension reduction techniques for support vector machine modeling of multi-parameter manufacturing quality prediction. J Intell Manuf 30(5):2245–2256

    Article  Google Scholar 

  22. Gambhir S, Malik SK, Kumar Y (2017) PSO-ANN based diagnostic model for the early detection of dengue disease. New Horizons Translational Med 4(1–4):1–8

    Article  Google Scholar 

  23. https://www.kaggle.com/rmisra/news-headlines-dataset-for-sarcasm-detection

  24. Akula R, Garibay I (2021) Interpretable Multi-Head Self-Attention Architecture for Sarcasm Detection in Social Media. Entropy 23(4):394

    Article  Google Scholar 

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

    Article  Google Scholar 

  26. Singh A, Kaur M (2020) Intelligent content-based cybercrime detection in online social networks using cuckoo search metaheuristic approach. J Supercomput 76:5402–5424. https://doi.org/10.1007/s11227-019-03113-z

    Article  Google Scholar 

  27. Naresh Kumar KE, Uma V (2021) Intelligent sentinet-based lexicon for context-aware sentiment analysis: optimized neural network for sentiment classification on social media. J Supercomput 77:12801–12825. https://doi.org/10.1007/s11227-021-03709-4

    Article  Google Scholar 

  28. Adewole KS, Han T, Wu W et al (2020) Twitter spam account detection based on clustering and classification methods. J Supercomput 76:4802–4837. https://doi.org/10.1007/s11227-018-2641-x

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to P. Prabhavathy.

Additional information

Publisher's Note

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

The original online version of this article was revised: In this article P. Prabhavathy should have been denoted as a corresponding author.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Vinoth, D., Prabhavathy, P. An intelligent machine learning-based sarcasm detection and classification model on social networks. J Supercomput 78, 10575–10594 (2022). https://doi.org/10.1007/s11227-022-04312-x

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-022-04312-x

Keywords

Navigation