Neither Here Nor There: Cross-Lingual Representation Dynamics of Code-Mixed Text in Multilingual Encoders
Not on the map. Why?
Abstract (arXiv)
Multilingual encoder-based language models are widely used for code-mixed analysis, yet their internal representations of code-mixed inputs -- and their relationship to the constituent languages -- remain poorly understood. Using Hindi-English as a case study, we construct a unified trilingual corpus of parallel English, Hindi (Devanagari), and Romanized code-mixed sentences. We then probe cross-lingual representation alignment in standard multilingual encoders and their code-mix-adapted variants using CKA, token-level saliency, and entropy-based uncertainty analysis. We find that while standard models align English and Hindi well, code-mixed inputs remain loosely connected to either language -- and that continued pre-training on code-mixed data improves English-code-mixed alignment at the cost of English-Hindi alignment. Interpretability analyses further reveal a clear asymmetry: models process code-mixed text through an English-dominant semantic subspace, while native-script Hindi provides complementary signals that reduce representational uncertainty. Motivated by these findings, we introduce a trilingual post-training alignment objective that brings code-mixed representations closer to both constituent languages simultaneously, yielding more balanced cross-lingual alignment and downstream gains on sentiment analysis and hate speech detection -- showing that grounding code-mixed representations in their constituent languages meaningfully helps cross-lingual understanding. Code is available at: https://github.com/debajyotimaz/tri_align_EMNLP_2026.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 34 of its 58 references that are in the map. First posted on arXiv 20 Mar 2026.
Builds on
34 of 58 references.
References · 34
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2019Similarity of Neural Network Representations Revisitedcited by 1,755
- 2019Cross-lingual Language Model Pretrainingcited by 1,090
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2020Language-agnostic BERT Sentence Embeddingcited by 627
- 2018Insights on representational similarity in neural networks with canonical correlationcited by 324
- 2019Emerging Cross-lingual Structure in Pretrained Language Modelscited by 181
- 2023IndicTrans2: Towards High-Quality and Accessible Machine Translation Models for all 22 Scheduled Indian Languagescited by 152
- 2020LinCE: A Centralized Benchmark for Linguistic Code-switching Evaluationcited by 93
22 more
- 2023Multilingual Large Language Models Are Not (Yet) Code-Switcherscited by 65
- 2020SemEval-2020 Task 9: Overview of Sentiment Analysis of Code-Mixed Tweetscited by 62
- 2021Are Multilingual Models Effective in Code-Switching?cited by 56
- 2020Similarity Analysis of Contextual Word Representation Modelscited by 54
- 2020PHINC: A Parallel Hinglish Social Media Code-Mixed Corpus for Machine Translationcited by 38
- 2022L3Cube-HingCorpus and HingBERT: A Code Mixed Hindi-English Dataset and BERT Language Modelscited by 34
- 2024Understanding Cross-Lingual Alignment -- A Surveycited by 34
- 2025Middle-Layer Representation Alignment for Cross-Lingual Transfer in Fine-Tuned LLMscited by 29
- 2024Code-Switching Curriculum Learning for Multilingual Transfer in LLMscited by 27
- 2024MEXA: Multilingual Evaluation of English-Centric LLMs via Cross-Lingual Alignmentcited by 25
- 2020Cross-lingual Alignment Methods for Multilingual BERT: A Comparative Studycited by 24
- 2025Language Mixing in Reasoning Language Models: Patterns, Impact, and Internal Causescited by 21
- 2024Cross-lingual Transfer of Reward Models in Multilingual Alignmentcited by 17
- 2023Multilingual self-supervised speech representations improve the speech recognition of low-resource African languages with codeswitchingcited by 11
- 2022CALCS 2021 Shared Task: Machine Translation for Code-Switched Datacited by 9
- 2021CodemixedNLP: An Extensible and Open NLP Toolkit for Code-Mixingcited by 8
- 2020Towards Code-switched Classification Exploiting Constituent Language Resourcescited by 6
- 2025Attributional Safety Failures in Large Language Models under Code-Mixed Perturbationscited by 6
- 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalitiescited by 5
- 2022A Comprehensive Understanding of Code-mixed Language Semantics using Hierarchical Transformercited by 2
- 2024Improving code-mixed hate detection by native sample mixing: A case study for Hindi-English code-mixed scenariocited by 2
- 2024Revealing the impact of synthetic native samples and multi-tasking strategies in Hindi-English code-mixed humour and sarcasm detectioncited by 2
Built on by
Not cited yet.