mlsanityData to 7 Oct 2026

Improving Language Identification for Code-Switched Utterances with Integer Linear Programming

arXiv 2609.05099 ↗First posted 4 Sep 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Automatic identification of code-switched (CS) utterances remains a challenge for language identification (LID) systems, causing such texts to be underrepresented in the training data of Large Language Models. In this paper, we revisit MaskLID, a state-of-the art approach for CS identification, which requires no training and detects arbitrary language combinations. We make three main contributions: (a) we reveal, and address, a major issue of MaskLID: its overreliance on word-level language association scores; (b) we reformulate the underlying optimization algorithm as an Integer Linear Program, enabling us to experiment with a large set of clear and interpretable constraints; (c) each of these improvements vastly improves the baseline system, as we illustrate in experiments involving 10~diverse languages, where we observe a strong boost in performance on CS benchmarks. We release our code and data for reproducibility.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 52 references that are in the map. First posted on arXiv 4 Sep 2026.

Builds on

24 of 52 references.

References · 24

  1. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  2. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  3. 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 292
  4. 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 241
  5. 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 180
  6. 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 134
  7. 2023Glot500: Scaling Multilingual Corpora and Language Models to 500 Languagescited by 116
  8. 2020LinCE: A Centralized Benchmark for Linguistic Code-switching Evaluationcited by 92
  9. 2020Language ID in the Wild: Unexpected Challenges on the Path to a Thousand-Language Web Text Corpuscited by 76
  10. 2023A Survey of Code-switching: Linguistic and Social Perspectives for Language Technologiescited by 59
  11. 2023An Open Dataset and Model for Language Identificationcited by 49
  12. 2020Mapping Languages: The Corpus of Global Language Usecited by 42
12 more
  1. 2018Automatic Language Identification in Texts: A Surveycited by 40
  2. 2022AfroLID: A Neural Language Identification Tool for African Languagescited by 38
  3. 2023GlotScript: A Resource and Tool for Low Resource Writing System Identificationcited by 15
  4. 2024GlotCC: An Open Broad-Coverage CommonCrawl Corpus and Pipeline for Minority Languagescited by 15
  5. 2019Subword-Level Language Identification for Intra-Word Code-Switchingcited by 12
  6. 2018A Fast, Compact, Accurate Model for Language Identification of Codemixed Textcited by 11
  7. 2017LanideNN: Multilingual Language Identification on Character Windowcited by 10
  8. 2024MaskLID: Code-Switching Language Identification through Iterative Maskingcited by 10
  9. 2024Kallaama: A Transcribed Speech Dataset about Agriculture in the Three Most Widely Spoken Languages in Senegalcited by 7
  10. 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Datacited by 5
  11. 2023The Integer Linear Programming Inference Cookbookcited by 2
  12. 2025Multi-label Scandinavian Language Identification (SLIDE)cited by 2

Built on by

Not cited yet.