The Latin Substrate: How Language Models Represent and Mediate Script Choice
cs.CL
Submitted: 2026-05-29
Updated: 2026-09-08
Comments: Accepted to BlackboxNLP 2026
License: http://creativecommons.org/licenses/by/4.0/
The gist: Many languages are written in multiple scripts, requiring large language models (LLMs) to generate equivalent linguistic content in distinct orthographic forms.
Terminology
Abstract
Many languages are written in multiple scripts, requiring large language models (LLMs) to generate equivalent linguistic content in distinct orthographic forms. While prior work suggests that LLMs route information through shared latent representations, how they internally mediate script variation remains poorly understood. We study this question by first examining per-layer output distributions with the logit lens, which reveals consistent latent romanization during transliteration, and then through representational and mechanistic analyses of script generation. At the representational level, we show that scripts of the same language become increasingly separable across layers and that a simple linear steering direction can flip a model's output script while largely preserving semantic content. The vector generalizes to writing systems unseen during construction: it flips non-Latin output to Latin, but maps Latin output into varied non-Latin scripts. At the mechanistic level, we localize a small set of late-layer attention heads that causally mediate script choice. These heads transfer across unrelated languages and writing systems, suggesting that script routing is implemented by language-agnostic components. Across both analyses, we observe a consistent directional asymmetry: non-Latin output is produced by a compact, identifiable gate, while Latin-script output emerges from diffuse contributions across the model. Overall, our findings hint that LLMs organize script variation around shared latent representations while exhibiting a privileged substrate toward Latin script.
Sources
- Aya Expanse: Combining Research Breakthroughs for a New Multilingual Frontier
- The Llama 3 Herd of Models
- Scripts Through Time: A Survey of the Evolving Role of Transliteration in NLP
- Locating and Editing Factual Associations in GPT
- The Linear Representation Hypothesis and the Geometry of Large Language Models
- Linear Script Representations in Speech Foundation Models Enable Zero-Shot Transliteration
- Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Models
- No Language Left Behind: Scaling Human-Centered Machine Translation
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Bias
- Qwen3 Technical Report
- LLaMA Beyond English: An Empirical Study on Language Capability Transfer
- Beyond English-Centric LLMs: What Language Do Multilingual Language Models Think in?
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering