Fine-grained emotion recognition using RoBERTa with low-rank adaptation and retrieval-augmented context contrastive definition pretraining masked language modeling and multi-dataset transfer learning

Classification of emotions expressed in textual data poses significant challenges due to the complex and intersecting nature of human emotions as well as natural class imbalances in the underlying label distributions. Earlier Bidirectional Encoder Representations from Transformers (BERT) based baselines still show limited Macro-F1 performance for emotion classification with 28 fine-grained emotion classes, namely GoEmotions. In this work, we present a parameter-efficient multi-task framework for emotion classification based on RoBERTa with Low-Rank Adaptation (LoRA). Our model incorporates three complementary modules into a unified architecture: (i) augmented retrieval of semantically similar context using Sentence-BERT and Facebook AI Similarity Search (FAISS); (ii) Contrastive Definition Pre-training (CDP); and (iii) Masked Language Modelling (MLM) as an encoder regularization technique. Moreover, we use class-weighted Binary Cross Entropy (BCE) along with soft label smoothing and class-wise threshold tuning to mitigate class imbalance during inference. In experiments on three benchmark datasets, our model achieved a better Macro-F1 score and a better Macro ROC-AUC on GoEmotions, achieving the best F1 point gain compared to the BERT+CDP baseline while using less than 1.77 million parameters. In transfer evaluation on ISEAR with 7 emotion classes, our model obtained a better Macro-F1 than other baseline models.

Authors

Institutions

Publication Details

Journal
International Journal of Computers and Applications
Published
2026-07-30
DOI
https://doi.org/10.1080/1206212x.2026.2708345
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine-grained emotion recognition using RoBERTa with low-rank adaptation and retrieval-augmented context contrastive definition pretraining masked language modeling and multi-dataset transfer learning

Sai Lavanya Madam, Y. Swathi Priya, Judith Chrysolite Sirigiri, Elakkiya E et al.
International Journal of Computers and Applications
Sentiment Analysis and Opinion Mining
article

Fine-grained emotion recognition using RoBERTa with low-rank adaptation and retrieval-augmented context contrastive definition pretraining masked language modeling and multi-dataset transfer learning

Sai Lavanya Madam, Y. Swathi Priya, Judith Chrysolite Sirigiri, Elakkiya E, J. Kiran Deepthi
article en

Abstract

Classification of emotions expressed in textual data poses significant challenges due to the complex and intersecting nature of human emotions as well as natural class imbalances in the underlying label distributions. Earlier Bidirectional Encoder Representations from Transformers (BERT) based baselines still show limited Macro-F1 performance for emotion classification with 28 fine-grained emotion classes, namely GoEmotions. In this work, we present a parameter-efficient multi-task framework for emotion classification based on RoBERTa with Low-Rank Adaptation (LoRA). Our model incorporates three complementary modules into a unified architecture: (i) augmented retrieval of semantically similar context using Sentence-BERT and Facebook AI Similarity Search (FAISS); (ii) Contrastive Definition Pre-training (CDP); and (iii) Masked Language Modelling (MLM) as an encoder regularization technique. Moreover, we use class-weighted Binary Cross Entropy (BCE) along with soft label smoothing and class-wise threshold tuning to mitigate class imbalance during inference. In experiments on three benchmark datasets, our model achieved a better Macro-F1 score and a better Macro ROC-AUC on GoEmotions, achieving the best F1 point gain compared to the BERT+CDP baseline while using less than 1.77 million parameters. In transfer evaluation on ISEAR with 7 emotion classes, our model obtained a better Macro-F1 than other baseline models.

International Journal of Computers and Applications
SRM University (IN)
Quality Education
Openalex Percentile: Top 7%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Fine-grained emotion recognition using RoBERTa with low-rank adaptation and retrieval-augmented context contrastive definition pretraining masked language modeling and multi-dataset transfer learning — Sai Lavanya Madam, Y. Swathi Priya, et al. · International Journal of Computers and Applications (2026) | TGRS Research Map | TGRS