English

ConLID: Supervised Contrastive Learning for Low-Resource Language Identification

Computation and Language 2026-03-11 v2 Artificial Intelligence Machine Learning

Abstract

Language identification (LID) is a critical step in curating multilingual LLM pretraining corpora from web crawls. While many studies on LID model training focus on collecting diverse training data to improve performance, low-resource languages -- often limited to single-domain data, such as the Bible -- continue to perform poorly. To resolve these imbalance and bias issues, we propose a novel supervised contrastive learning (SCL) approach to learn domain-invariant representations for low-resource languages. We show that our approach improves LID performance on out-of-domain data for low-resource languages by 3.2 percentage points, while maintaining its performance for the high-resource languages.

Keywords

Cite

@article{arxiv.2506.15304,
  title  = {ConLID: Supervised Contrastive Learning for Low-Resource Language Identification},
  author = {Negar Foroutan and Jakhongir Saydaliev and Ye Eun Kim and Antoine Bosselut},
  journal= {arXiv preprint arXiv:2506.15304},
  year   = {2026}
}

Comments

EACL 2026 - Main Conference

R2 v1 2026-07-01T03:23:21.546Z