Skip to main content

ADN-BERT: Attention-Based Deep Network Model Using BERT for Sarcasm Classification

  • Conference paper
  • First Online:
Evolution in Computational Intelligence (FICTA 2023)

Abstract

Sarcasm classification has gained popularity among researchers due to its complexity and implicit form of context representation. The most challenging aspect of sarcasm identification is to understand the exact context behind the statement. Therefore, a context-based model helps solve this critical task in the research domain. The importance of sarcasm detection and classification is primarily helpful for society to avoid misinterpreting statements or reviews that could affect one’s mental condition and perception. Unfortunately, to increase the retention level of audience toward media news, often the media incorporate sarcasm in their news headlines. However, people find it difficult to detect sarcasm in news headlines, resulting in them having a false impression of the news and spreading it to their surroundings. Therefore, it has become a significant concern among the society to develop a sense of understanding of the hidden context behind the statement before making any type of impression and judgment. In this paper, we have focused on this problem statement and developed a novel technique called an Attention-based deep network model using Bidirectional Encoder Representations from Transformers (BERT) i.e., ADN-BERT to classify news headlines into sarcastic and non-sarcastic categories. The News Headlines dataset is collected from Kaggle, and we have incorporated text augmentation to increase the size of the dataset to yield better results and accuracy. The evaluation metrics used in our study include accuracy, recall, precision, and F1-score. Our proposed model (ADN-BERT) has outperformed the recent state-of-the-art techniques with 94.1% accuracy, 95.2% recall, 94.5% precision, and 94.8% F1-score.Please check and approve the edits made in the chapter title and running title.Edited. ApprovedPlease check and confirm if the author names and initials are correct.Yes, correct.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Bharti, S.K., Gupta, R.K., Pathik, N., Mishra, A.: Sarcasm detection in news headlines using voted classification. In: Proceedings of the 2022 Fourteenth International Conference on Contemporary Computing, pp. 208–212 (2022)

    Google Scholar 

  2. Misra, R., Arora, P.: Sarcasm detection using hybrid neural network (2019). arXiv preprint arXiv:1908.07414

  3. Nayak, D.K., Bolla, B.K.: Efficient deep learning methods for sarcasm detection of news headlines. In: Machine Learning and Autonomous Systems: Proceedings of ICMLAS 2021, pp. 371–382. Springer Nature, Singapore (2022)

    Google Scholar 

  4. Sharma, D.K., Singh, B., Agarwal, S., Kim, H., Sharma, R.: Sarcasm detection over social media platforms using hybrid auto-encoder-based model. Electronics 11(18), 2844 (2022)

    Google Scholar 

  5. Zanchak, M., Vysotska, V., Albota, S.: The sarcasm detection in news headlines based on machine learning technology. In: 2021 IEEE 16th International Conference on Computer Sciences and Information Technologies (CSIT), vol. 1, pp. 131–137. IEEE (2021)

    Google Scholar 

  6. Liu, H., Xie, L.: Research on sarcasm detection of news headlines based on Bert-LSTM. In: 2021 IEEE International Conference on Emergency Science and Information Technology (ICESIT), pp. 89–92. IEEE (2021)

    Google Scholar 

  7. Sharma, D.K., Singh, B., Garg, A.: An ensemble model for detecting sarcasm on social media. In: 2022 9th International Conference on Computing for Sustainable Global Development (INDIACom), pp. 743–748. IEEE (2022)

    Google Scholar 

  8. Shrikhande, P., Setty, V., Sahani, A.: Sarcasm detection in newspaper headlines. In: 2020 IEEE 15th International Conference on Industrial and Information Systems (ICIIS), pp. 483–487. IEEE (2020)

    Google Scholar 

  9. Ajnadkar, O.: Sarcasm detection of media text using deep neural networks. In: Computational Intelligence and Machine Learning: Proceedings of the 7th International Conference on Advanced Computing, Networking, and Informatics (ICACNI 2019), pp. 49–58. Springer, Singapore (2021)

    Google Scholar 

  10. Mandal, P.K., Mahto, R.: Deep CNN-LSTM with word embeddings for news headline sarcasm detection. In: 16th International Conference on Information Technology-New Generations (ITNG 2019), pp. 495–498. Springer International Publishing, Berlin (2019)

    Google Scholar 

  11. Jariwala, V.P.: Optimal feature extraction based machine learning approach for sarcasm type detection in news headlines. Int. J. Comput. Appl. 975, 8887 (2020)

    Google Scholar 

  12. Goel, P., Jain, R., Nayyar, A., Singhal, S., Srivastava, M.: Sarcasm detection using deep learning and ensemble learning. Multimedia Tools Appl. 81(30):43229–43252 (2022)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pallavi Mishra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mishra, P., Sharma, O., Panda, S.K. (2023). ADN-BERT: Attention-Based Deep Network Model Using BERT for Sarcasm Classification. In: Bhateja, V., Yang, XS., Ferreira, M.C., Sengar, S.S., Travieso-Gonzalez, C.M. (eds) Evolution in Computational Intelligence. FICTA 2023. Smart Innovation, Systems and Technologies, vol 370. Springer, Singapore. https://doi.org/10.1007/978-981-99-6702-5_51

Download citation

Publish with us

Policies and ethics