mlsanityData to 14 Oct 2026

What Language is This? Ask Your Tokenizer

arXiv 2602.17655 ↗First posted 19 Feb 2026cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Language Identification (LID) is an important component of many multilingual natural language processing pipelines, where it facilitates corpus curation, training data analysis, and cross-lingual evaluation of large language models. Despite near-perfect performance on high-resource languages, existing systems remain brittle in low-resource and closely related language settings. We introduce UniLID, a simple and efficient LID method based on the UnigramLM tokenization algorithm. In short, to predict a string's language label, we simply ask: under which language's unigram distribution is this string most likely? Our formulation is data- and compute-efficient, supports incremental addition of new languages without retraining existing models, and can naturally be integrated into existing language model tokenization pipelines. Empirical evaluations against widely used baselines, including fasttext, GlotLID-M, and CLD3, show that UniLID achieves competitive performance on standard benchmarks, reaches 69% accuracy with five labeled samples per language and 89% with 25, and delivers large gains on fine-grained dialect identification.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 19 Feb 2026.

Builds on

20 of 40 references.

References · 20

  1. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  3. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  4. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
  5. 2016Bag of Tricks for Efficient Text Classificationcited by 876
  6. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  7. 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 243
  8. 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
  9. 2020The Tatoeba Translation Challenge -- Realistic Data Sets for Low Resource and Multilingual MTcited by 128
  10. 2020Language ID in the Wild: Unexpected Challenges on the Path to a Thousand-Language Web Text Corpuscited by 77
  11. 2023An Open Dataset and Model for Language Identificationcited by 50
  12. 2018Automatic Language Identification in Texts: A Surveycited by 41
8 more
  1. 2023GlotLID: Language Identification for Low-Resource Languagescited by 39
  2. 2017LanideNN: Multilingual Language Identification on Character Windowcited by 10
  3. 2018The WiLI benchmark dataset for written language identificationcited by 9
  4. 2023Fumbling in Babel: An Investigation into ChatGPT's Language Identification Abilitycited by 6
  5. 2025ConLID: Supervised Contrastive Learning for Low-Resource Language Identificationcited by 6
  6. 2025Which Pieces Does Unigram Tokenization Really Need?cited by 4
  7. 2025DIVERS-Bench: Evaluating Language Identification Across Domain Shifts and Code-Switchingcited by 3
  8. 2016A Character-level Convolutional Neural Network for Distinguishing Similar Languages and Dialectscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.