Comparative analysis of traditional and contextual embedding for Bangla sarcasm detection in natural language processing

bracu.type.groupResearch Publications
datacite.rightsMetadata Only
dc.contributor.authorFahim, Kaji Mehedi Hasan
dc.contributor.authorMoontaha, Mithila
dc.contributor.authorRahman, Mashrur
dc.contributor.authorRhythm, Ehsanur Rahman
dc.contributor.authorRasel, Annajiat Alim
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-08-04T07:06:35Z
dc.date.available2026-08-04T07:06:35Z
dc.date.issued2023-01-01
dc.description.abstractSarcasm, a sort of sentiment characterized by a disparity between the apparent and intended meanings of the text, is a key component of sentiment analysis, opinion extraction, and social media analytics. However, sarcasm detection in Bangla has not received sufficient research attention yet. Moreover, there hasn't been a significant amount of study done comparing traditional and contextual word embeddings for the Bengali language. This study aims to address this gap by comparing traditional embedding by using the Bidirectional Gated Recurrent Unit - BiGRU model and contextual embedding by using Bidirectional Encoder Representations from Transformers - BERT for sarcasm detection in Bangla. The collection of the dataset of Bangla text was from social media platforms, containing labelled instances - whether it provides sarcasm or non-sarcasm. Pre-trained word embeddings i.e. GloVe and FastText are used as traditional embedding for this study. By using metrics like precision, recall and F1-score, the performances for both models have been obtained. When the two traditional word embedding approaches are compared, GloVe embedding with Bi-GRU has outperformed FastText embedding with a macro-averaged F1 score of 0.9395. On the other hand, contextual word embedding using BERT has outperformed both the traditional approaches having a better macro-averaged F1 score of 0.9572 and greater class-wise performance as compared with traditional embedding for both non-sarcastic (96%) and sarcastic (96%) text detection. In our findings, contextual word embedding i.e. BERT has performed better as compared with the two traditional word embeddings for this specific Bangla sarcasm detection binary classification task.
dc.description.versionPublished
dc.format.extent293-299
dc.identifier.citationK. M. H. Fahim, M. Moontaha, M. Rahman, E. R. Rhythm and A. A. Rasel, "Comparative Analysis of Traditional and Contextual Embedding for Bangla Sarcasm Detection in Natural Language Processing," 2023 IEEE International Conference on Communication, Networks and Satellite (COMNETSAT), Malang, Indonesia, 2023, pp. 293-299, doi: 10.1109/COMNETSAT59769.2023.10420673.
dc.identifier.doi10.1109/COMNETSAT59769.2023.10420673
dc.identifier.issn9798350341102
dc.identifier.other2-s2.0-85186113759
dc.identifier.urihttps://hdl.handle.net/10361/28781
dc.language.isoen_US
dc.publisherInstitute of Electrical and Electronics Engineers Inc.
dc.relation.hasversion10.1109/COMNETSAT59769.2023.10420673
dc.relation.ispartofProceeding Comnetsat 2023 IEEE International Conference on Communication Networks and Satellite
dc.relation.ispartofseriesProceeding Comnetsat 2023 IEEE International Conference on Communication Networks and Satellite
dc.relation.urihttps://ieeexplore.ieee.org/document/10420673
dc.subjectBERT
dc.subjectBidirectional GRU
dc.subjectFine-tuning
dc.subjectNLP
dc.subjectSarcasm detection
dc.subjectWord embeddings
dc.subject.lcshSentiment analysis.
dc.subject.lcshNatural language processing (Computer science).
dc.subject.lcshText processing (Computer science).
dc.titleComparative analysis of traditional and contextual embedding for Bangla sarcasm detection in natural language processing
dc.typeConference Proceeding
person.affiliation.nameBRAC University
person.affiliation.nameBRAC University
person.affiliation.nameBRAC University
person.affiliation.nameBRAC University
person.affiliation.nameBRAC University
person.identifier.scopus-author-id58908916200
person.identifier.scopus-author-id58908965000
person.identifier.scopus-author-id58909118500
person.identifier.scopus-author-id57971901600
person.identifier.scopus-author-id56495276900

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
IMG_8345.jpg
Size:
27.35 KB
Format:
Joint Photographic Experts Group/JPEG File Interchange Format (JFIF)

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: