Skip to main content
QUICK REVIEW

[Paper Review] "A Passage to India": Pre-trained Word Embeddings for Indian Languages

Saurav Kumar, Saunack Kumar|arXiv (Cornell University)|Dec 27, 2021
Topic ModelingComputer Science25 references24 citations
TL;DR

This paper introduces a comprehensive repository of 436 pre-trained word embeddings for 14 Indian languages, including monolingual (FastText, Word2Vec, GloVe), contextual (ELMo, BERT, XLM), and cross-lingual (MUSE, XLM) models. It addresses the scarcity of high-quality, large-scale monolingual and multilingual corpora for Indian languages by curating and training models on diverse, expanded corpora, with evaluations showing FastText outperforms other non-contextual models on POS and NER tasks.

ABSTRACT

Dense word vectors or 'word embeddings' which encode semantic properties of words, have now become integral to NLP tasks like Machine Translation (MT), Question Answering (QA), Word Sense Disambiguation (WSD), and Information Retrieval (IR). In this paper, we use various existing approaches to create multiple word embeddings for 14 Indian languages. We place these embeddings for all these languages, viz., Assamese, Bengali, Gujarati, Hindi, Kannada, Konkani, Malayalam, Marathi, Nepali, Odiya, Punjabi, Sanskrit, Tamil, and Telugu in a single repository. Relatively newer approaches that emphasize catering to context (BERT, ELMo, etc.) have shown significant improvements, but require a large amount of resources to generate usable models. We release pre-trained embeddings generated using both contextual and non-contextual approaches. We also use MUSE and XLM to train cross-lingual embeddings for all pairs of the aforementioned languages. To show the efficacy of our embeddings, we evaluate our embedding models on XPOS, UPOS and NER tasks for all these languages. We release a total of 436 models using 8 different approaches. We hope they are useful for the resource-constrained Indian language NLP. The title of this paper refers to the famous novel 'A Passage to India' by E.M. Forster, published initially in 1924.

Motivation & Objective

  • To address the scarcity of high-quality, large-scale monolingual and multilingual corpora for Indian languages, which hinders effective NLP model training.
  • To create a unified, publicly accessible repository of pre-trained word embeddings for 14 scheduled Indian languages to support low-resource NLP research.
  • To evaluate the performance of diverse embedding techniques—non-contextual, contextual, and cross-lingual—on standard NLP tasks like POS tagging, XPOS, UPOS, and NER.
  • To improve the state of the art in Indian language NLP by releasing models trained on expanded, curated corpora beyond standard Wikipedia dumps.
  • To enable future research by providing a foundation for transfer learning, fine-tuning, and cross-lingual transfer across Indian languages.

Proposed method

  • Collected and curated monolingual corpora for 14 Indian languages, including Wikimedia dumps and additional sources to overcome data scarcity.
  • Trained 384 non-contextual embeddings using FastText, Word2Vec (Skip-gram and CBOW), and GloVe with dimensions 50, 100, 200, and 300.
  • Generated 14 contextual embeddings using ELMo, 14 BERT models, and 1 multilingual XLM model trained on a combined multilingual corpus of all 14 languages.
  • Created 182 cross-lingual embeddings using MUSE and XLM, projecting all language pairs into a shared vector space.
  • Preprocessed data using Byte-Pair Encoding (BPE) for transformer-based models and applied standard hyperparameters from original implementations.
  • Evaluated models on XPOS, UPOS, and NER tasks using standardized datasets, with performance measured via F1-scores and perplexity.

Experimental results

Research questions

  • RQ1How do non-contextual word embeddings (FastText, Word2Vec, GloVe) compare in performance on POS and NER tasks across Indian languages?
  • RQ2To what extent do contextual embeddings (ELMo, BERT, XLM) improve performance on downstream NLP tasks compared to non-contextual models for Indian languages?
  • RQ3How effective are cross-lingual embeddings (MUSE, XLM) in enabling transfer learning across Indian languages with varying linguistic properties and corpus sizes?
  • RQ4What impact does corpus size and linguistic diversity have on the quality of pre-trained embeddings for low-resource Indian languages?
  • RQ5Why do Tamil and Telugu—despite similar corpus sizes—show divergent performance in embedding evaluations, and what does this reveal about language-specific factors?

Key findings

  • FastText outperformed both GloVe and Word2Vec on XPOS and UPOS tagging tasks, indicating that sub-word information is crucial for morphologically rich Indian languages.
  • Despite similar corpus sizes, Telugu embeddings consistently outperformed Tamil embeddings across all evaluated tasks, suggesting differences in linguistic structure or data quality beyond size.
  • The multilingual XLM model achieved a masked language model accuracy of 31.8% and next sentence prediction accuracy of 67.9%, demonstrating the feasibility of multilingual pre-training on Indian languages.
  • ELMo models achieved lower perplexity scores than non-contextual models, confirming their ability to model context better, though performance varied across languages.
  • The repository contains 436 distinct models, including 384 non-contextual, 14 ELMo, 14 BERT, 1 XLM, and 182 cross-lingual models, all publicly released for research use.
  • Evaluation results show that model quality is not solely determined by corpus size, as evidenced by the performance gap between Tamil and Telugu despite comparable data volumes.

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.