Organizations: Pune Institute of Computer Technology (PICT), Pune, Maharashtra, India · L3Cube Labs, Pune · Indian Institute of Technology Madras, Chennai, Tamil Nadu, India
For languages with limited resources, Sentiment Analysis remains a challenging problem due to limited annotated data and strong domain variability across textual sources. Marathi, despite being widely spoken, lacks extensive multi-domain sentiment analysis studies. Recent efforts by L3Cube have introduced multi-domain datasets in Marathi, enabling a better study of domain-aware sentiment classification. This study uses the pretrained MahaBERT model to improve sentiment classification for Marathi across different domains. Models are trained on individual domain datasets and domain-adaptive pretraining is applied using masked language modeling to help the model better understand domain-specific language. In addition, back-translation is used as a method of data augmentation to increase the diversity of training data. Results show that these methods lead to consistent improvements in accuracy across all domains. The improvements range from a minimum of about 0.12% to a maximum of about 1.74%, depending on the dataset. These results demonstrate that domain-adaptive pretraining and data augmentation are effective strategies for improving sentiment analysis models. This helps achieve more robust performance across different domains and makes the approach more suitable for low-resource languages like Marathi.
Figures & tables
Figure 1: Architecture for Marathi sentiment classification using MahaBERT.
Figure 2: Comparison of Original and Augmented Data across domains.
Parameter
Value
Model Configuration
Pretrained Model
MahaBERT (marathi-bert-v2)
Embedding Size
768
Max Sequence Length
128
MLM Pretraining
Task
Masked Language Modeling
Table 1: Training Hyperparameters for MLM Pretraining and Fine-Tuning.
Dataset
Baseline (%)
Improved (%)
MR (Movie Reviews)
78.90
79.88
PT (Political Tweets)
84.90
85.02
GT (Generic Tweets)
78.80
79.20
ST (Subtitles)
79.06
80.80
Table 2: Baseline vs Improved Accuracy Comparison.
Dataset
Baseline (%)
Gain (%)
MR (Movie Reviews)
78.90
+0.98
PT (Political Tweets)
84.90
+0.12
GT (Generic Tweets)
78.80
+0.40
ST (Subtitles)
79.06
+1.74
Table 3: Accuracy Gain from Proposed Approach.
Figure 3: Comparison of baseline and improved accuracies across different domains.
Sentiment analysis is a key task in Natural Language Processing that determines the polarity of opinions in text. For low-resource languages like Marathi--where limited data prevents the direct use of standard statistical methods--models are often trained on single-domain datasets. While this yields strong in-domain performance, it leads to poor generalization to unseen domains. Recent studies highlight the need for domain-robust systems that can handle diverse real-world content through multi-domain modeling. This study investigates how multi-domain training improves sentiment classification for unseen Marathi domains. Models are trained using single-domain, two-domain, and three-domain dataset combinations. Results show that two-domain training improves accuracy on unseen domains by about 8% compared to single-domain training. Adding a third domain provides further improvement, though the gain is smaller, averaging around 2% for some domains. These results suggest that training with data from multiple domains helps build more robust sentiment analysis models for low-resource languages, though the benefits reduce as more domains are added.
Tanvi Somani, Aryan Babare, Samyak Bora +1
Pune Institute of Computer Technology (PICT), Pune, Maharashtra, India · L3Cube Labs, Pune · Indian Institute of Technology Madras, Chennai, Tamil Nadu, India
Understanding sentiment in low-resource languages remains a key challenge for Natural Language Processing (NLP), particularly when domain-specific data is scarce. In this work, we present SentiBanglaBERT, a two-stage Bengali sentiment classification framework combining domain-adaptive continual pretraining and parameter-efficient fine-tuning. The approach enables contextual adaptation to news-style data while remaining computationally efficient through Low-Rank Adaptation (LoRA). Beyond performance, SentiBanglaBERT integrates SHAP-based interpretability, offering linguistic insights into how Bengali morphological cues, such as negation suffixes and aspectual markers, influence sentiment predictions. Experiments demonstrate stable performance comparable to strong baselines while providing greater transparency and interpretive depth. This framework highlights the potential of domain-adaptive continual learning as a foundation for interpretable, resource-efficient NLP in morphologically rich, underrepresented languages.
MD Shaikh Rahman, Syed Maudud E Rabbi, Muhammad Mahbubur Rashid
Department of Computer Science Universiti Sains Malaysia Pulau Pinang, Malaysia · Department of Computer Science Baruch College New York New York, USA · Department of Mechatronics Engineering International Islamic University Malaysia Kuala Lumpur, Malaysia
Named Entity Recognition (NER) for low-resource languages such as Marathi remains a challenging task due to limited annotated resources and linguistic complexity. Although recent Large Language Models (LLMs) have demonstrated strong performance across a wide range of natural language processing tasks, their effectiveness for language-specific NER in low-resource settings remains uncertain. In this study, we fine-tune MahaBERT-v2 on different variants of the MahaNER dataset and systematically compare the performance of these models with an existing MahaNER baseline and prominent general-purpose LLMs, including Gemini, LLaMA-3.3-70B, and Gemma models. All models are evaluated on a Marathi NER test dataset using standard metrics of precision, recall, and F1-score. The experimental results show that the fine-tuned MahaBERT-based models consistently outperform both the baseline and all evaluated LLMs, with the fine-tuned models achieving F1-scores ranging from 0.88 to 0.91, surpassing the existing MahaNER model (0.8843) and significantly exceeding the performance of LLM-based approaches, whose F1-scores range from 0.57 to 0.69. These findings demonstrate that task-specific, language-focused models trained on domain-relevant data remain more effective than general-purpose LLMs for Marathi NER, highlighting the continued importance of specialized architectures for low-resource language processing.
Hariom Ingle, Ronit Ghode, Ishwari Gondkar +2
Department of Information Technology, PICT, Pune, India · L3Cube Labs, Pune, India · Indian Institute of Technology Madras, Chennai, India