banner

Detection of sarcasm in tweets using hybrid machine learning method

Bellamkonda Rajani, Sameer Saxena, Billakurthi Suresh Kumar

Abstract


When one wants to express the contrary of what they mean, especially when insulting someone, sarcasm is used. One of the challenges associated with the control and management of content on social networking sites such as Twitter and other social media sites, is the recognition of sarcasm. Because sarcasm is purposefully conveyed through ambiguous word choice, even for humans it can be challenging to identify. Existing methods for automatically detecting sarcasm rely heavily on lexical as well as linguistic clues the majority of the time. On the other hand, these methods have not yielded a large or even a minor enhancement in terms of the correctness of the mood. The purpose of this study is to increase the accuracy of sentiment analysis by proposing a system that is both reliable and effective at identifying sarcasm. In this investigation, three different types of features are focussed: lexical, sarcastic, and context features. These feature sets are utilised in the process of categorising tweets as either sarcastic or not sarcastic. This research presents a sarcastic feature set coupled with an efficient hybrid machine learning approach, which ultimately results in improved accuracy. The results of the experiments reveal that the recommended hybrid machine learning method achieves 97.3% accuracy for sarcastic feature sets which is better when compared to existing machine learning techniques namely k-nearest neighbor, random forest, support vector machine and decision tree for the selection of the appropriate features.


Keywords


sarcasm detection; sentiment; traditional machine learning classifiers; hybrid machine learning method

Full Text:

PDF

References


1. Shrikhande P, Setty V, Sahani DA. Sarcasm detection in newspaper headlines. In: Proceedings of the 2020 IEEE 15th International Conference on Industrial and Information Systems (ICIIS); 26–28 November 2020; Rupnagar, India. pp. 483–487.

2. Zanchak M, Vysotska V, Albota S. The sarcasm detection in news headlines based on machine learning technology. In: Proceedings of the 2021 IEEE 16th International Conference on Computer Sciences and Information Technologies (CSIT); 22–25 September 2021; Lviv, Ukraine. pp. 131–137.

3. Liu L, Priestley JL, Zhou Y, et al. A2Text-Net: A novel deep neural network for sarcasm detection. In: Proceedings of the 2019 IEEE First International Conference on Cognitive Machine Intelligence (CogMI); 12–14 December 2019; Los Angeles, CA, USA. pp. 118–126.

4. Liu X. Deep learning techniques for sarcasm detection. In: Proceedings of the ICMLCA 2021; 2nd International Conference on Machine Learning and Computer Application; 17–19 December 2021; Shenyang, China. pp. 1–5.

5. Kanakam R, Nayak RK. Sarcasm detection on social networks using machine learning algorithms: A systematic review. In: Proceedings of the 2021 5th International Conference on Trends in Electronics and Informatics (ICOEI); 3–5 June 2021; Tirunelveli, India. pp. 1130–1137.

6. Godara J, Aron R. Support vector machine classifier with principal component analysis and K Mean for sarcasm detection. In: Proceedings of the 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS); 19–20 March 2021; Coimbatore, India. pp. 571–576.

7. Razali MS, Halin AA, Ye L, et al. Sarcasm detection using deep learning with contextual features. IEEE Access 2021; 9: 68609–68618. doi: 10.1109/ACCESS.2021.3076789

8. Venkatesh B, Vishwas HN. Real time sarcasm detection on twitter using ensemble methods. In: Proceedings of the 2021 Third International Conference on Inventive Research in Computing Applications (ICIRCA); 2–4 September 2021; Coimbatore, India. pp. 1292–1297. doi: 10.1109/ICIRCA51532.2021.9544841

9. Bhat A, Jha GN. Sarcasm detection of textual data on online SocialMedia: A review. In: Proceeding of the 2022 2nd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE); 28–29 April 2022; Greater Noida, India. pp. 1981–1985.

10. Gamova AA, Horoshiy AA, Ivanenko VG. Detection of fake and provokative comments in social network using machine learning. In: Proceedings of the 2020 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus); 27–30 January 2020; St. Petersburg and Moscow, Russia. pp. 309–311.

11. Kumar A, Narapareddy VT, Aditya Srikanth V, et al. Sarcasm detection using multi-head attention based bidirectional LSTM. IEEE Access 2020; 8: 6388–6397. doi: 10.1109/ACCESS.2019.2963630

12. Rao MV, Sindhu C. Detection of sarcasm on amazon product reviews using machine learning algorithms under sentiment analysis. In: Proceeding of the 2021 Sixth International Conference on Wireless Communications, Signal Processing and Networking (WiSPNET); 25–27 March 2021; Chennai, India. pp. 196–199.

13. Eke CI, Norman AA, Shuib L. Context-based feature technique for sarcasm identification in benchmark datasets using deep learning and BERT model. IEEE Access 2021; 9: 48501–48518. doi: 10.1109/ACCESS.2021.3068323

14. Pawar N, Bhingarkar S. Machine learning based sarcasm detection on twitter data. In: Proceedings of the 2020 5th International Conference on Communication and Electronics Systems (ICCES); 10–12 June 2020; Coimbatore, India. pp. 957–961.

15. Sangwan S, Akhtar MS, Behera P, Ekbal A. I didn’t mean what I wrote! Exploring multimodality for sarcasm detection. In: Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN); 19–24 July 2020; Glasgow, UK. pp. 1–8.

16. Nguyen H, Moon J, Paul N, Gokhale SS. Sarcasm detection in politically motivated social media content. In: Proceedings of the 2021 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Big Data & Cloud Computing, Sustainable Computing & Communications, Social Computing & Networking (ISPA/BDCloud/SocialCom/SustainCom); 2021; New York City, NY, USA. pp. 1538–1545.




DOI: https://doi.org/10.32629/jai.v7i4.800

Refbacks

  • There are currently no refbacks.


Copyright (c) 2024 Bellamkonda Rajani, Sameer Saxena, Billakurthi Suresh Kumar

License URL: https://creativecommons.org/licenses/by-nc/4.0/