cs.CLOct 12, 2026

MixLID: Token-Level Language Identification in Mixed-Language Text

Authors: Seongtae Hong, Youngjoon Jang, Seungyoon Lee, Jungseob Lee, Heuiseok Lim

Organizations: Department of Computer Science and Engineering, Korea University

Abstract

Processing multilingual text requires both identifying a broad range of languages and distinguishing the language of each token in inputs containing multiple languages. We introduce MixLID, a token-level language identification model supporting 111 language-script combinations. MixLID follows a two-stage training process: it first learns to distinguish individual languages using the language labels of monolingual examples, then continues training on mixed-language data. The second stage uses concatenated examples from existing code-switching data alongside augmented examples created through word substitution based on correspondences between English source words and loanwords. For monolingual identification, MixLID outperforms all baselines in both accuracy and macro F1 on four benchmarks within the language coverage shared with each baseline. For mixed-language identification, it outperforms the baselines in identifying the language of individual tokens on every evaluated language pair. MixLID achieves high performance across a broad range of languages in both monolingual and mixed-language settings. The model is publicly available at https://huggingface.co/nlpai-lab/MixLID.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. IndicTriMix: Developing Language Identification Datasets and Models for Tri-Language Code-Mixing

    Sep 10, 2026Pruthwik Mishra, Rudra Trivedi, Avi Patel +2Language Identification

  2. What Language is This? Ask Your Tokenizer

    Feb 19, 2026Clara Meister, Ahmetcan Yavuz, Pietro Lesci +1Language IdentificationText Classification

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

    Sep 4, 2026Joanna Radoła, Josep Maria Crego, François YvonLanguage Identification