Skip to main content
QUICK REVIEW

[Paper Review] BanglaBERT: Language Model Pretraining and Benchmarks for Low-Resource Language Understanding Evaluation in Bangla

Abhik Bhattacharjee|arXiv (Cornell University)|Jan 1, 2021
Topic ModelingComputer Science6 citations
TL;DR

This paper introduces BanglaBERT, a BERT-based language model pre-trained on 27.5 GB of curated Bangla web text ('Bangla2B+'), and BanglishBERT, a multilingual variant pre-trained on both Bangla and English. The authors establish the first Bangla Language Understanding Benchmark (BLUB) with four NLU tasks—sentiment classification, NLI, NER, and QA—demonstrating that BanglaBERT outperforms multilingual models like mBERT and XLM-R (base) by 6.8 and 4.3 BLUB points, respectively, and achieves strong zero-shot transfer performance.

ABSTRACT

In this work, we introduce BanglaBERT, a BERT-based Natural Language Understanding (NLU) model pretrained in Bangla, a widely spoken yet low-resource language in the NLP literature. To pretrain BanglaBERT, we collect 27.5 GB of Bangla pretraining data (dubbed `Bangla2B+') by crawling 110 popular Bangla sites. We introduce two downstream task datasets on natural language inference and question answering and benchmark on four diverse NLU tasks covering text classification, sequence labeling, and span prediction. In the process, we bring them under the first-ever Bangla Language Understanding Benchmark (BLUB). BanglaBERT achieves state-of-the-art results outperforming multilingual and monolingual models. We are making the models, datasets, and a leaderboard publicly available at https://github.com/csebuetnlp/banglabert to advance Bangla NLP.

Motivation & Objective

  • To address the scarcity of high-quality, large-scale pretraining data for Bangla, a low-resource language with over 300 million speakers.
  • To develop a monolingual Bangla NLU model, BanglaBERT, that outperforms existing multilingual models in downstream tasks.
  • To introduce two new benchmark datasets for Bangla natural language inference and question answering, previously unexplored in Bangla NLP.
  • To establish the first comprehensive Bangla Language Understanding Benchmark (BLUB) covering diverse NLU tasks.
  • To enable zero-shot cross-lingual transfer by pretraining a multilingual model, BanglishBERT, on both Bangla and English.

Proposed method

  • Crawled 110 popular Bangla websites using Alexa rankings to collect 35 GB of raw text, filtered and cleaned to 27.5 GB of high-quality, non-offensive Bangla text.
  • Preprocessed data via deduplication, HTML/JS tag removal, and language classification to isolate Bangla content.
  • Constructed a 32k-vocabulary WordPiece tokenizer trained on the cleaned corpus, supporting code-switching and romanized Bangla.
  • Pretrained BanglaBERT using masked language modeling (MLM) and next sentence prediction (NSP) objectives on 7.18M samples with 2.18B tokens.
  • Pretrained BanglishBERT jointly on Bangla and English data to enable zero-shot cross-lingual transfer.
  • Evaluated models on four downstream tasks: sentiment classification, NLI, NER, and QA, using the newly introduced BLUB benchmark.

Experimental results

Research questions

  • RQ1Can a monolingual, language-specific BERT model achieve superior performance on Bangla NLU tasks compared to multilingual models?
  • RQ2How effective is zero-shot cross-lingual transfer from English to Bangla using a multilingual model like BanglishBERT?
  • RQ3What is the impact of sample efficiency on low-resource NLP models like BanglaBERT when fine-tuning on limited labeled data?
  • RQ4How does pretraining on a curated, large-scale Bangla corpus compare to using noisy, open-source datasets like OSCAR or CCNet?
  • RQ5To what extent can a new benchmark (BLUB) standardize and advance NLP research for Bangla?

Key findings

  • BanglaBERT outperformed mBERT and XLM-R (base) by 6.8 and 4.3 BLUB points, respectively, in supervised fine-tuning across all four tasks.
  • In zero-shot cross-lingual transfer, BanglishBERT outperformed mBERT and XLM-R (base) by 15.8 and 10.8 BLUB points, respectively.
  • On limited training data (≤1,000 samples), BanglaBERT achieved 2–9% higher accuracy than XLM-R (large) on sentiment classification and 6–10% higher on NLI, with p < 0.05.
  • BanglaBERT demonstrated superior computational efficiency, requiring 2–3.5x less time and 2.4–3.33x less memory than the smaller sahajBERT model for fine-tuning.
  • The authors successfully curated and released a non-copyright-infringing pretraining dataset and two new high-quality downstream datasets for NLI and QA.
  • The model and benchmark are released under a non-commercial license, with quality-controlled human-translation pipelines ensuring dataset reliability.

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.