NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

L3Cube-MahaSocialNER: A Social Media based Marathi Named Entity Recognition Dataset and BERT models

Harsh Vijay Chaudhari, Anuja Dinesh Patil, Dhanashree Lavekar, Pranav Khairnar, Raviraj Joshi

TL;DR

This paper introduces L3Cube-MahaSocialNER, the first and largest dataset for Marathi Named Entity Recognition (NER) specifically designed for social media text. They demonstrate that existing general-domain NER models perform poorly on this social media data, highlighting the need for specialized datasets and models. The research also shows that fine-tuning existing NER models on their new dataset significantly improves performance.

What Problem Does This Paper Address?

Named Entity Recognition (NER) is a crucial task in Natural Language Processing (NLP) that involves identifying and categorizing named entities (like people, organizations, locations) in text. While NER has been extensively studied, most research and datasets focus on formal, standard language. Social media, however, presents a unique challenge due to its informal language, slang, abbreviations, and idioms. Existing NER models trained on formal text often struggle to accurately process this noisy, user-generated content. This is particularly problematic for low-resource languages like Marathi, where such specialized datasets are scarce. The authors aim to bridge this gap by creating a comprehensive social media NER dataset for Marathi and evaluating various deep learning models on it.

Methods

The paper introduces the L3Cube-MahaSocialNER dataset, which comprises 18,000 manually labeled sentences from Marathi social media. The dataset is annotated with eight entity classes and uses both IOB (Inside, Outside, Beginning) and non-IOB tagging schemes.

The authors evaluate several deep learning models for NER, including:

  • Convolutional Neural Networks (CNN)
  • Long Short-Term Memory (LSTM) and Bidirectional LSTM (BiLSTM)
  • Transformer-based models: This includes multilingual models like mBERT, MuRIL, XLM-ROBERTa, and IndicBERT, as well as monolingual Marathi models like MahaBERT, MahaRoBERTa, and MahaALBERT.

They also investigate the effectiveness of transfer learning by fine-tuning pre-trained models on their new dataset and compare this to zero-shot performance of models trained on general Marathi NER data.

Datasets

  • L3Cube-MahaSocialNER: The primary contribution of this paper. It's a new, large-scale dataset for Marathi social media NER, containing 18,000 manually labeled sentences across eight entity classes. It's available in both IOB and non-IOB formats.
  • L3CubeMahaSent Marathi Sentiment Analysis dataset: The source from which the original sentences for L3Cube-MahaSocialNER were extracted.
  • MahaNER dataset: A pre-existing Marathi NER dataset (non-social media) used for evaluating zero-shot performance.

Key Insights and Ideas

  • Social Media NER is a distinct challenge: The zero-shot performance of models trained on general Marathi NER data on the L3Cube-MahaSocialNER dataset was significantly poor (F1 score of 68.28% for non-social vs. social). This strongly suggests that social media text requires specialized handling and datasets.
  • Fine-tuning is key for social media NER: The research demonstrates that fine-tuning existing NER models (especially BERT-based ones) on the L3Cube-MahaSocialNER dataset yields the best results, outperforming models trained from scratch. This highlights the importance of transfer learning for adapting models to the nuances of social media language.
  • Monolingual Marathi BERT models excel: Among the fine-tuned models, the monolingual MahaNER-BERT model achieved the highest F1 scores in both IOB (84.06%) and non-IOB (88.23%) tagging schemes on the L3Cube-MahaSocialNER test set. This suggests that language-specific pre-training can be highly beneficial for Marathi NER.

Key Results

  • The MahaNER-BERT model, fine-tuned on L3Cube-MahaSocialNER, achieved the highest F1 scores: 84.06% (IOB) and 88.23% (Non-IOB).
  • Other strong performers included MahaRoBERTa and MahaBERT v2, also fine-tuned on the new dataset.
  • Conventional models like CNN, LSTM, and BiLSTM, when trained on the L3Cube-MahaSocialNER dataset, achieved respectable F1 scores ranging from 68.4% to 87.8% (as seen in Appendix A.3), but were outperformed by the fine-tuned BERT variants.
  • The zero-shot performance of a regular MahaNER model on the social media test set was only 68.28% F1 score, underscoring the dataset's unique challenges.

Limitations and Future Work

  • Limitations: The paper implicitly acknowledges that while their dataset is the largest for Marathi social media NER, it's still a specific snapshot. The "zero-shot" results highlight that current general models are not robust enough.
  • Future Work: The authors suggest that their dataset and models can support real-time applications like public opinion analysis and marketing. The findings also point towards the need for more social NER datasets for low-resource languages to further improve transfer learning and model generalization.

Summary updated

BibTeX
@inproceedings{chaudhari2023l,
  author = {Harsh Vijay Chaudhari and Anuja Dinesh Patil and Dhanashree Lavekar and Pranav Khairnar and Raviraj Joshi},
  title = {{L3Cube-MahaSocialNER: A Social Media based Marathi Named Entity Recognition Dataset and BERT models}},
  booktitle = {FIRE},
  year = {2023},
  doi = {10.1145/3632754.3632764},
}
Figure