MicroBERT: Effective Training of Low-resource Monolingual BERTs through Parameter Reduction and Multitask Learning

Luke Gessler, Amir Zeldes
12/23/2022
cs.CL

Official code: lgessler/microbert (33 stars, HTML, PyTorch, last commit 2025-12-24).

Abstract

Transformer language models (TLMs) are critical for most NLP tasks, but they are difficult to create for low-resource languages because of how much pretraining data they require. In this work, we investigate two techniques for training monolingual TLMs in a low-resource setting: greatly reducing TLM size, and complementing the masked language modeling objective with two linguistically rich supervised tasks (part-of-speech tagging and dependency parsing).

Show full abstract

Results from 7 diverse languages indicate that our model, MicroBERT, is able to produce marked improvements in downstream task evaluations relative to a typical monolingual TLM pretraining approach. Specifically, we find that monolingual MicroBERT models achieve gains of up to 18% for parser LAS and 11% for NER F1 compared to a multilingual baseline, mBERT, while having less than 1% of its parameter count. We conclude reducing TLM parameter count and using labeled data for pretraining low-resource TLMs can yield large quality benefits and in some cases produce models that outperform multilingual approaches.

View on arXivView PDF

Code Implementations(1)

lgessler/microbertOfficial100%
PyTorch

A tiny BERT for low-resource monolingual models

336HTML, PythonOct 1, 202111 months ago
nlppytorch

Similar Papers

Cite this paper

@article{gessler2022microbert,
  title  = {MicroBERT: Effective Training of Low-resource Monolingual BERTs through Parameter Reduction and Multitask Learning},
  author = {Luke Gessler and Amir Zeldes},
  year   = {2022},
  eprint = {2212.12510},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.12510}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.12510.svg)](https://codeofpaper.com/paper/2212.12510)

Discussion