Are Language Models Script-Aware?
cs.CL
Submitted: 2026-10-06
Updated: 2026-10-06
Comments: Accepted to AACL-IJCNLP 2026
Code: https://github.com/IDSIA-NLP/llm_script_awareness
Project page: https://juditacs.github.io/2019/02/19
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: Language models frequently generate outputs in unintended languages or scripts, a phenomenon known as off-target generation.
Abstract
Language models frequently generate outputs in unintended languages or scripts, a phenomenon known as off-target generation. While existing research has focused on language selection, the dimension of script knowledge remains understudied: before any linguistic understanding can occur, users must recognize the graphic symbols in a model's response. We investigate whether Small and Large Language Models (SLMs and LLMs) possess script knowledge by testing them on multi-scriptic languages. Through two complementary experiments, we evaluate whether models (1) adapt their output script to match the input, and (2) follow explicit instructions to generate text in a specified script. The models we tested demonstrate substantial script knowledge: they all achieve a near-perfect Latin script fidelity (more than 98%) and follow script instructions with high frequency. Nevertheless, we notice differences between LLMs and SLMs, with higher scores for LLMs including for non-standard script combinations.
Sources
- Qwen Technical Report
- Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities
- ACT-MNMT Auto-Constriction Turning for Multilingual Neural Machine Translation
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- DeepSeek-V3 Technical Report
- The State of Large Language Models for African Languages: Progress and Challenges
- Mistral 7B
- Mixtral of Experts
- Script Choice in LLMs: Evidence for Late-Layer Commitment
- BPE Stays on SCRIPT: Structured Encoding for Robust Multilingual Pretokenization
- GPT-4o System Card
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- HuggingFace's Transformers: State-of-the-art Natural Language Processing
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