Skip to main content
QUICK REVIEW

[Paper Review] Indic-Transformers: An Analysis of Transformer Language Models for Indian Languages

Kushal Jain, Adwait Deshpande|arXiv (Cornell University)|Nov 4, 2020
Topic ModelingComputer Science24 citations
TL;DR

This paper proposes and evaluates monolingual Transformer language models—BERT, DistilBERT, RoBERTa, and XLM-RoBERTa—specifically fine-tuned for Hindi, Bengali, and Telugu, achieving state-of-the-art results in text classification. It compares fine-tuning full models versus using them as feature extractors with downstream classifiers, demonstrating that competitive performance is possible even with limited data, and releases model checkpoints and a merged QA dataset for community use.

ABSTRACT

Language models based on the Transformer architecture have achieved state-of-the-art performance on a wide range of NLP tasks such as text classification, question-answering, and token classification. However, this performance is usually tested and reported on high-resource languages, like English, French, Spanish, and German. Indian languages, on the other hand, are underrepresented in such benchmarks. Despite some Indian languages being included in training multilingual Transformer models, they have not been the primary focus of such work. In order to evaluate the performance on Indian languages specifically, we analyze these language models through extensive experiments on multiple downstream tasks in Hindi, Bengali, and Telugu language. Here, we compare the efficacy of fine-tuning model parameters of pre-trained models against that of training a language model from scratch. Moreover, we empirically argue against the strict dependency between the dataset size and model performance, but rather encourage task-specific model and method selection. We achieve state-of-the-art performance on Hindi and Bengali languages for text classification task. Finally, we present effective strategies for handling the modeling of Indian languages and we release our model checkpoints for the community : https://huggingface.co/neuralspace-reverie.

Motivation & Objective

  • To address the underrepresentation of Indian languages in NLP research by training and evaluating monolingual Transformer models for Hindi, Bengali, and Telugu.
  • To compare the performance of fine-tuning full pre-trained models versus using them as feature extractors with task-specific heads.
  • To investigate whether dataset size strictly determines model performance in low-resource Indian language settings.
  • To release trained model checkpoints and a merged QA dataset (mergedQuAD) to support future research in Indian language NLP.

Proposed method

  • Trained four monolingual Transformer variants—BERT, DistilBERT, RoBERTa, and XLM-RoBERTa—on large-scale monolingual text for Hindi, Bengali, and Telugu.
  • Evaluated models across three downstream tasks: POS tagging, text classification, and question answering using three experimental setups with varying data and fine-tuning strategies.
  • Compared monolingual models against multilingual counterparts (e.g., mBERT, XLM-RoBERTa) to assess relative performance gains.
  • Used different neural heads—LSTM, BiLSTM, feedforward, and Transformer—on top of contextual embeddings to assess feature extraction effectiveness.
  • Employed Byte-Level BPE tokenization in RoBERTa and analyzed its impact on performance, especially in question-answering tasks.
  • Released model checkpoints at Hugging Face and open-sourced mergedQuAD, a combined XQuAD and MLQA dataset for Hindi.

Experimental results

Research questions

  • RQ1Does training monolingual Transformer models from scratch yield better performance than using multilingual models for Indian languages?
  • RQ2To what extent does dataset size correlate with downstream task performance in low-resource Indian language settings?
  • RQ3Can using pre-trained Transformers as feature extractors with lightweight heads (e.g., LSTM) achieve competitive results compared to full fine-tuning?
  • RQ4How does tokenizer choice (e.g., Byte-Level BPE) affect model performance on Indian languages, particularly in question-answering tasks?
  • RQ5What is the impact of combining multiple datasets (e.g., XQuAD and MLQA) on training and evaluating question-answering models for Hindi?

Key findings

  • The authors achieved state-of-the-art performance on Hindi and Bengali text classification tasks using their monolingual models in setup C, outperforming existing baselines.
  • For question-answering, the models did not surpass the TyDiQA gold passage baseline, which was trained on the full multilingual dataset, indicating strong benefits of cross-lingual transfer.
  • Monolingual models showed only marginal improvements over multilingual counterparts, suggesting that for some tasks, multilingual models may be sufficient.
  • Using Transformers as feature extractors with an LSTM head yielded competitive results, especially when full fine-tuning was impractical due to resource constraints.
  • The choice of tokenizer, particularly Byte-Level BPE in RoBERTa, had a measurable impact on performance, especially in question-answering tasks.
  • Despite smaller monolingual training data, the Telugu model performed well on question-answering, suggesting that task-specific data size may be more critical than monolingual corpus size.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.