Skip to search boxSkip to navigationSkip to main content

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)
*Corresponding author for this work
  • 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
Research Output:
Contribution to journal
Article
Research
Peer-review

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

Research Output:
Contribution to journal
Article
Research
Peer-review

Original language

English

Pages 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

Published - 2026

Publication IDs

  • Scopus: 105041342784

Publication metrics

Metrics

Scopus
citations
SciVal
FWCI
1.46

PlumX, opens in new tab

Mentions
1
Captures
1
Citation count
1