L3Cube-IndicNews: News-based Short Text and Long Document Classification Datasets in Indic Languages

Aishwarya Mirashi, Srushti Sonavane, Purva Lingayat, Tejas Padhiyar, Raviraj JoshiarXiv 2024 · DOI

Abstract

L3Cube-IndicNews is a comprehensive multilingual corpus designed to address the data scarcity in 10 prominent Indic languages and English. Comprising over 300,000 news records across 10–12 categories, the dataset is uniquely structured into three text lengths: Short Headlines Classification (SHC), Long Paragraph Classification (LPC), and Long Document Classification (LDC). This structure enables a standardized benchmark for evaluating the impact of document length on classification performance in low-resource settings. Experimental results demonstrate that monolingual models generally outperform multilingual ones and that increased context in longer documents significantly boosts classification accuracy.

Introduction

Many Indian languages, despite having hundreds of millions of speakers, remain "low-resource" in the context of Natural Language Processing (NLP). While digital news content is plentiful, high-quality labeled datasets for text classification are rare. Existing resources often suffer from a limited number of categories, inconsistent labeling criteria, or a lack of diversity in document length. Furthermore, transformer-based models like BERT are sensitive to sequence length, yet few datasets allow for a direct comparison of model performance on headlines versus full articles within the same categorical context. L3Cube-IndicNews addresses these gaps by providing a "length-consistent" dataset across 11 languages.

Methods

The researchers employed a multi-step pipeline to curate the corpus, ensuring consistency across languages and document lengths.

Data Collection and Stratification

News data was scraped from reputable sources (e.g., Jansatta for Hindi, Lokmat for Marathi) covering up to 12 categories such as Politics, Sports, and Technology. For every news item, the researchers created three distinct versions to test the impact of context:

  • SHC (Short Headlines Classification): The headline only.
  • LPC (Long Paragraph Classification): A 35% subset of the full article.
  • LDC (Long Document Classification): The complete news article.
Figure 1: A sample news entry from the dataset showing the raw text and its corresponding 'National' category label.

Preprocessing and Benchmarking

Scripts were cleaned using sentence boundary detection for Indic scripts and regular expressions to filter non-target language noise. To establish baselines, models including monolingual BERTs (e.g., HindBERT, MahaBERT), IndicSBERT, and AI4Bharat’s IndicBERT were fine-tuned on the dataset.

Dataset Characteristics

The primary contribution of this work is the L3Cube-IndicNews corpus, which spans 11 languages: Hindi, Bengali, Marathi, Telugu, Tamil, Gujarati, Kannada, Odia, Malayalam, Punjabi, and English. Each language contains at least 26,000 rows, providing a substantial volume of data for training robust models.

Table 1: Distribution of training, testing, and validation samples across the 11 languages in the L3Cube-IndicNews corpus.

This dataset provides a more granular and length-diverse alternative to existing benchmarks like the IndicNLP News Article dataset or iNLTK, which often focus on fewer categories or single document lengths.

Key Results and Insights

  • The Context Premium: A recurring theme in the results is that models perform significantly better on Long Document Classification (LDC) than on Short Headlines (SHC). For example, in Hindi, the model hit 91.68% accuracy on full articles but only 86.60% on headlines. This confirms that for Indic languages, headlines often lack the specific keywords necessary for unambiguous classification.
  • Monolingual Superiority: In most tests, monolingual BERT models outperformed general multilingual models like IndicBERT. This suggests that specialized linguistic nuances are still better captured by dedicated models rather than "one-size-fits-all" multilingual approaches.
  • Cross-Lingual Potential: Because the labels are consistent across different languages, this dataset serves as a foundation for future research into cross-lingual transfer learning—where a model trained on one language might be adapted to help classify another.

Conclusion

L3Cube-IndicNews provides a vital benchmark for Indic NLP, offering a unique perspective on how document length influences model performance. While the current dataset is largely automated, future work will focus on manual verification to create a "gold standard" version and expanding the granularity of categories. The consistent labeling across languages also opens significant avenues for cross-lingual research.

Summary updated

BibTeX
@misc{mirashi2024l,
  author = {Aishwarya Mirashi and Srushti Sonavane and Purva Lingayat and Tejas Padhiyar and Raviraj Joshi},
  title = {{L3Cube-IndicNews: News-based Short Text and Long Document Classification Datasets in Indic Languages}},
  year = {2024},
  eprint = {2401.02254},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.02254},
}
Figure