Robust Marathi Sentiment Analysis using Domain-Adaptive Pre-training and Data Augmentation Approaches
Organizations: Pune Institute of Computer Technology (PICT), Pune, Maharashtra, India · L3Cube Labs, Pune · Indian Institute of Technology Madras, Chennai, Tamil Nadu, India
Abstract
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
| Parameter | Value |
|---|---|
| Model Configuration | |
| Pretrained Model | MahaBERT (marathi-bert-v2) |
| Embedding Size | 768 |
| Max Sequence Length | 128 |
| MLM Pretraining | |
| Task | Masked Language Modeling |
| 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 |
| 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 |
Sentiment Analysis
Sentiment analysis detects and measures opinions, emotions, and evaluative stance in text and multimodal data.
See all 127 papers