Language ID in the Wild: Unexpected Challenges on the Path to a Thousand-Language Web Text Corpus
Not on the map. Why?
Abstract (arXiv)
Large text corpora are increasingly important for a wide variety of Natural Language Processing (NLP) tasks, and automatic language identification (LangID) is a core technology needed to collect such datasets in a multilingual context. LangID is largely treated as solved in the literature, with models reported that achieve over 90% average F1 on as many as 1,366 languages. We train LangID models on up to 1,629 languages with comparable quality on held-out test sets, but find that human-judged LangID accuracy for web-crawl text corpora created using these models is only around 5% for many lower-resource languages, suggesting a need for more robust evaluation. Further analysis revealed a variety of error modes, arising from domain mismatch, class imbalance, language similarity, and insufficiently expressive models. We propose two classes of techniques to mitigate these errors: wordlist-based tunable-precision filters (for which we release curated lists in about 500 languages) and transformer-based semi-supervised LangID models, which increase median dataset precision from 5.5% to 71.2%. These techniques enable us to create an initial data set covering 100K or more relatively clean sentences in each of 500+ languages, paving the way towards a 1,000-language web text corpus.
Key facts. Cited by 76 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 14; 2023: 21; 2024: 15; 2025: 9; 2026: 11.
76 papers.
Sort:
By area:
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2023OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documentscited by 316
- 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 241
- 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 180
- 2024How do Large Language Models Handle Multilingualism?cited by 148
- 2023UniMax: Fairer and more Effective Language Sampling for Large-Scale Multilingual Pretrainingcited by 147
- 2022Towards a Cleaner Document-Oriented Multilingual Crawled Corpuscited by 143
- 2021Survey of Low-Resource Machine Translationcited by 92
- 2022Building Machine Translation Systems for the Next Thousand Languagescited by 69
- 2023AfriSenti: A Twitter Sentiment Analysis Benchmark for African Languagescited by 68
- 2022NaijaSenti: A Nigerian Twitter Sentiment Corpus for Multilingual Sentiment Analysiscited by 64
38 more
- 2023Searching for Needles in a Haystack: On the Role of Incidental Bilingualism in PaLM's Translation Capabilitycited by 62
- 2022Language Modelling with Pixelscited by 53
- 2023An Open Dataset and Model for Language Identificationcited by 49
- 2021Robust Open-Vocabulary Translation from Visual Text Representationscited by 47
- 2022Expanding Pretrained Models to Thousands More Languages via Lexicon-based Adaptationcited by 44
- 2024IrokoBench: A New Benchmark for African Languages in the Age of Large Language Modelscited by 43
- 2022AfroLID: A Neural Language Identification Tool for African Languagescited by 38
- 2023GlotLID: Language Identification for Low-Resource Languagescited by 37
- 2024LLM Augmented LLMs: Expanding Capabilities through Compositioncited by 35
- 2023XTREME-UP: A User-Centric Scarce-Data Benchmark for Under-Represented Languagescited by 34
- 2023Lost in Translation: Large Language Models in Non-English Content Analysiscited by 34
- 2024A Shocking Amount of the Web is Machine Translated: Insights from Multi-Way Parallelismcited by 33
- 2023Tamil-Llama: A New Tamil Language Model Based on Llama 2cited by 31
- 2024Goldfish: Monolingual Language Models for 350 Languagescited by 27
- 2021Efficient Test Time Adapter Ensembling for Low-resource Language Varietiescited by 26
- 2023mmT5: Modular Multilingual Pre-Training Solves Source Language Hallucinationscited by 24
- 2024AboutMe: Using Self-Descriptions in Webpages to Document the Effects of English Pretraining Data Filterscited by 21
- 2022Towards the Next 1000 Languages in Multilingual Machine Translation: Exploring the Synergy Between Supervised and Self-Supervised Learningcited by 19
- 2023TaCo: Enhancing Cross-Lingual Transfer for Low-Resource Languages in LLMs through Translation-Assisted Chain-of-Thought Processescited by 18
- 2023GlotScript: A Resource and Tool for Low Resource Writing System Identificationcited by 15
- 2024GlotCC: An Open Broad-Coverage CommonCrawl Corpus and Pipeline for Minority Languagescited by 15
- 2021MergeDistill: Merging Pre-trained Language Models using Distillationcited by 13
- 2022Maestro-U: Leveraging joint speech-text representation learning for zero supervised speech ASRcited by 13
- 2023Bhasha-Abhijnaanam: Native-script and romanized Language Identification for 22 Indic languagescited by 13
- 2022TaTa: A Multilingual Table-to-Text Dataset for African Languagescited by 10
- 2022Experimental Standards for Deep Learning in Natural Language Processing Researchcited by 9
- 2024Adapters for Altering LLM Vocabularies: What Languages Benefit the Most?cited by 9
- 2023Bilex Rx: Lexical Data Augmentation for Massively Multilingual Machine Translationcited by 7
- 2023LIMIT: Language Identification, Misidentification, and Translation using Hierarchical Models in 350+ Languagescited by 6
- 2023Fumbling in Babel: An Investigation into ChatGPT's Language Identification Abilitycited by 6
- 2024Training Bilingual LMs with Data Constraints in the Targeted Languagecited by 6
- 2025DCAD-2000: A Multilingual Dataset across 2000+ Languages with Data Cleaning as Anomaly Detectioncited by 5
- 2025ConLID: Supervised Contrastive Learning for Low-Resource Language Identificationcited by 5
- 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Datacited by 5
- 2023AfroDigits: A Community-Driven Spoken Digit Dataset for African Languagescited by 4
- 2024Do Language Models Care About Text Quality? Evaluating Web-Crawled Corpora Across 11 Languagescited by 4
- 2026OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Reportcited by 4
- 2022Analyzing the Use of Influence Functions for Instance-Specific Data Filtering in Neural Machine Translationcited by 3
50 most cited of 76 All 76 (JSON)
- 2026Improving Language Identification for Code-Switched Utterances with Integer Linear Programming4 Sep 2026
- 2026IndicDetect: Evaluating Cross-Lingual LLM-Generated Text Detection for Hindi, Telugu, and Tamil30 Aug 2026
- 2026Hybrid Continual Learning for Low-Resource Australian Aboriginal Language Identification11 Jul 2026
- 2026Dango: A Strictly L1-Only Large Language Model for Studying Second Language Acquisition17 Jun 2026
- 2026Are you speaking my languages? On spoken language adherence in multimodal LLMs15 Jun 2026
- 2026Dial HEALTHDIAL for Advice: A Multilingual and Multi-Parallel Spoken Dialogue Dataset for Knowledge-Grounded Information Seeking28 May 2026
- 2026What Language is This? Ask Your Tokenizer19 Feb 2026
- 2026OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Report13 Feb 2026
- 2026How Should We Model the Probability of a Language?9 Feb 2026
- 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Data25 Jan 2026
- 2026AfroScope: A Framework for Studying the Linguistic Landscape of Africa19 Jan 2026
- 2025SemiAdapt and SemiLoRA: Efficient Domain Adaptation for Transformer-based Low-Resource Language Translation with a Case Study on Irish21 Oct 2025
38 more
- 2025DIVERS-Bench: Evaluating Language Identification Across Domain Shifts and Code-Switching22 Sep 2025
- 2025ILID: Native Script Language Identification for Indian Languages16 Jul 2025
- 2025ConLID: Supervised Contrastive Learning for Low-Resource Language Identification18 Jun 2025
- 2025Advancing Uto-Aztecan Language Technologies: A Case Study on the Endangered Comanche Language10 May 2025
- 2025Improving Informally Romanized Language Identification30 Apr 2025
- 2025Kr'eyoLID From Language Identification Towards Language Mining9 Mar 2025
- 2025DCAD-2000: A Multilingual Dataset across 2000+ Languages with Data Cleaning as Anomaly Detection17 Feb 2025
- 2025Is It Navajo? Accurate Language Detection in Endangered Athabaskan Languages27 Jan 2025
- 2024Training Bilingual LMs with Data Constraints in the Targeted Language20 Nov 2024
- 2024GlotCC: An Open Broad-Coverage CommonCrawl Corpus and Pipeline for Minority Languages31 Oct 2024
- 2024Adapters for Altering LLM Vocabularies: What Languages Benefit the Most?12 Oct 2024
- 2024Data Processing for the OpenGPT-X Model Family11 Oct 2024
- 2024From N-grams to Pre-trained Multilingual Models For Language Identification11 Oct 2024
- 2024Mufu: Multilingual Fused Learning for Low-Resource Translation with LLM20 Sep 2024
- 2024Goldfish: Monolingual Language Models for 350 Languages19 Aug 2024
- 2024Moly'e: A Corpus-based Approach to Language Contact in Colonial France8 Aug 2024
- 2024IrokoBench: A New Benchmark for African Languages in the Age of Large Language Models5 Jun 2024
- 2024Do Language Models Care About Text Quality? Evaluating Web-Crawled Corpora Across 11 Languages13 Mar 2024
- 2024How do Large Language Models Handle Multilingualism?29 Feb 2024
- 2024Code-Switched Language Identification is Harder Than You Think2 Feb 2024
- 2024AboutMe: Using Self-Descriptions in Webpages to Document the Effects of English Pretraining Data Filters12 Jan 2024
- 2024A Shocking Amount of the Web is Machine Translated: Insights from Multi-Way Parallelism11 Jan 2024
- 2024LLM Augmented LLMs: Expanding Capabilities through Composition4 Jan 2024
- 2023TaCo: Enhancing Cross-Lingual Transfer for Low-Resource Languages in LLMs through Translation-Assisted Chain-of-Thought Processes17 Nov 2023
- 2023Fumbling in Babel: An Investigation into ChatGPT's Language Identification Ability16 Nov 2023
- 2023Separating the Wheat from the Chaff with BREAD: An open-source benchmark and metrics to detect redundancy in text11 Nov 2023
- 2023Tamil-Llama: A New Tamil Language Model Based on Llama 210 Nov 2023
- 2023GlotLID: Language Identification for Low-Resource Languages24 Oct 2023
- 2023GlotScript: A Resource and Tool for Low Resource Writing System Identification23 Sep 2023
- 2023Multimodal Modeling For Spoken Language Identification19 Sep 2023
- 2023MADLAD-400: A Multilingual And Document-Level Large Audited Dataset9 Sep 2023
- 2023OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents21 Jun 2023
- 2023Lost in Translation: Large Language Models in Non-English Content Analysis12 Jun 2023
- 2023Bhasha-Abhijnaanam: Native-script and romanized Language Identification for 22 Indic languages25 May 2023
- 2023LIMIT: Language Identification, Misidentification, and Translation using Hierarchical Models in 350+ Languages23 May 2023
- 2023mmT5: Modular Multilingual Pre-Training Solves Source Language Hallucinations23 May 2023
- 2023An Open Dataset and Model for Language Identification23 May 2023
- 2023XTREME-UP: A User-Centric Scarce-Data Benchmark for Under-Represented Languages19 May 2023
50 newest of 76 All 76 (JSON)
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 241
- 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 180
- 2024How do Large Language Models Handle Multilingualism?cited by 148
- 2023UniMax: Fairer and more Effective Language Sampling for Large-Scale Multilingual Pretrainingcited by 147
- 2022Towards a Cleaner Document-Oriented Multilingual Crawled Corpuscited by 143
- 2021Survey of Low-Resource Machine Translationcited by 92
- 2022Building Machine Translation Systems for the Next Thousand Languagescited by 69
- 2023AfriSenti: A Twitter Sentiment Analysis Benchmark for African Languagescited by 68
- 2022NaijaSenti: A Nigerian Twitter Sentiment Corpus for Multilingual Sentiment Analysiscited by 64
- 2023Searching for Needles in a Haystack: On the Role of Incidental Bilingualism in PaLM's Translation Capabilitycited by 62
12 most cited of 73 All 73 (JSON)
- 2026Improving Language Identification for Code-Switched Utterances with Integer Linear Programming4 Sep 2026
- 2026IndicDetect: Evaluating Cross-Lingual LLM-Generated Text Detection for Hindi, Telugu, and Tamil30 Aug 2026
- 2026Hybrid Continual Learning for Low-Resource Australian Aboriginal Language Identification11 Jul 2026
- 2026Dango: A Strictly L1-Only Large Language Model for Studying Second Language Acquisition17 Jun 2026
- 2026Dial HEALTHDIAL for Advice: A Multilingual and Multi-Parallel Spoken Dialogue Dataset for Knowledge-Grounded Information Seeking28 May 2026
- 2026What Language is This? Ask Your Tokenizer19 Feb 2026
- 2026OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Report13 Feb 2026
- 2026How Should We Model the Probability of a Language?9 Feb 2026
- 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Data25 Jan 2026
- 2026AfroScope: A Framework for Studying the Linguistic Landscape of Africa19 Jan 2026
- 2025SemiAdapt and SemiLoRA: Efficient Domain Adaptation for Transformer-based Low-Resource Language Translation with a Case Study on Irish21 Oct 2025
- 2025DIVERS-Bench: Evaluating Language Identification Across Domain Shifts and Code-Switching22 Sep 2025
12 newest of 73 All 73 (JSON)