Beyond Polarity in Bengali Texts: Can Multi-Task Modeling Capture Sarcasm Intensity and Classification?
- Meherunesa Hossain Ibnath,
- Khan Md Hasib(corresponding author),
- ,
- Nikola Ivkovic,
- Adnan Akhunzada(corresponding author)
- Ahsanullah University of Science and Technology,
- Bangladesh University of Business and Technology,
- University of New South Wales,
- ,
- University of Zagreb,
- University of Doha for Science and Technology
Open access
Abstract
Sarcasm detection in Bengali is challenging due to implicit sentiment, contextual dependence, and limited linguistic resources. This study proposes a novel multi-task learning framework that jointly predicts sarcasm polarity and estimates sarcasm intensity using a Cross-Task Attention mechanism to enable effective feature sharing and capture fine-grained sarcasm patterns. We preprocess a balanced Bengali dataset of 25,636 comments with a language-specific normalization pipeline and generate intensity scores using a transformer-based scoring model. The framework is evaluated on several pre-trained transformers, including BanglaBERT, Bangla-ELECTRA, mBERT, XLM-RoBERTa, and DistilBERT. BanglaBERT achieves the best performance with 77.38% accuracy and an F1-score of 0.7761, while ELECTRA and BERT-Base Uncased perform competitively. For interpretability, we apply LIME to Bengali predictions and SHAP to English-translated outputs. Overall, the proposed multi-task learning framework uses a shared transformer encoder with a Cross-Task Attention mechanism to capture sarcasm patterns more effectively.
Research Output Information
Output type
Original language
EnglishPages from-to (Number of pages)
Pages 1225-1235 (11 pages)Journal (Volume, Issue Number)
IEEE Open Journal of the Computer Society (Volume 7)Publication milestones
- Published - 2026
Publication status
Publication IDs
- Scopus: 105041342784
