Leveraging Parameter Efficient Training Methods for Low Resource Text Classification: A Case Study in Marathi

Pranita Deshmukh, Nikita Kulkarni, Sanhita Kulkarni, Kareena Manghani, Raviraj JoshiarXiv 2024 · DOI

Introduction

Fine-tuning Large Language Models (LLMs) and BERT-based architectures has become the gold standard for specialized Natural Language Processing (NLP) tasks. However, as models grow in size, "full fine-tuning"—where every single parameter is updated—becomes prohibitively expensive in terms of GPU memory, storage, and time. This computational barrier is a major hurdle for low-resource languages like Marathi. While Marathi has millions of speakers, it lacks the massive digital datasets and dedicated compute resources available for English.

This research demonstrates that Parameter-Efficient Fine-Tuning (PEFT) techniques, specifically Low-Rank Adaptation (LoRA) and Adapters, allow low-resource languages to achieve state-of-the-art performance. By updating only a tiny fraction of a model's parameters, researchers matched or even exceeded the accuracy of full fine-tuning while significantly slashing computational overhead.

Methodology

The study compared standard full fine-tuning against two primary PEFT strategies across four distinct BERT-based architectures: MahaBERT, MahaRoBERTa (monolingual Marathi models), mBERT (multilingual), and MuRIL (Indic-focused).

  1. LoRA (Low-Rank Adaptation): Instead of updating the massive weight matrices of the pre-trained model, LoRA injects smaller, trainable rank-decomposition matrices into the transformer layers.
  2. Adapters: These are small, trainable modules inserted between the existing layers of a pre-trained model. During training, the original model weights are "frozen," and only these new adapter layers are updated.
Overview of the experimental pipeline from data collection to evaluation.

Datasets

The researchers utilized three benchmark datasets from the L3Cube-Marathi repository to test the versatility of PEFT methods:

  • L3CubeMahaSent: A sentiment analysis dataset of ~18,000 Marathi tweets (Positive, Negative, Neutral).
  • L3Cube-MahaHate: A dataset of 25,000 tweets categorized into four classes: Hate, Offensive, Profane, and Not-offensive.
  • L3Cube-MahaNews: A news classification dataset containing ~27,000 articles across 12 categories such as Politics, Sports, and Technology.

Key Results and Discussion

The quantitative results across the three tasks showed that PEFT methods are not just efficient alternatives but are highly competitive with full fine-tuning. Across the board, LoRA consistently emerged as the top-performing PEFT method, often providing a 1–5% accuracy boost over standard fine-tuning while requiring a fraction of the trainable parameters.

Task Best Model Normal Accuracy LoRA Accuracy Adapter Accuracy
Sentiment (MahaSent) MuRIL-based 84.3% 84.93% 82.76%
Hate Speech (MahaHate) MahaBert-v2 81.55% 82.95% 81.8%
News (MahaNews) MahaRoBERTa 90.0% 95.0% 93.11%
Comparison of performance across different models for the MahaNews classification task, highlighting the superiority of LoRA.

A standout result was observed in news classification, where MahaRoBERTa combined with LoRA achieved a significant jump in accuracy to 95%, compared to 90% with normal fine-tuning. This suggests that PEFT methods may act as a form of regularization, preventing the model from overfitting on the training data—a common risk in low-resource scenarios where data is limited.

Conclusion

This case study confirms that PEFT techniques like LoRA and Adapters are powerful tools for democratizing NLP for low-resource languages. They provide a pathway to build high-performing tools without needing industrial-scale hardware. Future work should expand these findings to more diverse domains, such as legal or social media dialects, and explore complex tasks like Named Entity Recognition (NER) and Question Answering.

Summary updated

BibTeX
@misc{deshmukh2024leveraging,
  author = {Pranita Deshmukh and Nikita Kulkarni and Sanhita Kulkarni and Kareena Manghani and Raviraj Joshi},
  title = {{Leveraging Parameter Efficient Training Methods for Low Resource Text Classification: A Case Study in Marathi}},
  year = {2024},
  eprint = {2408.03172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.03172},
}
Figure