Are Language Models Script-Aware?

arXiv:2610.08037 · cs.CL · Submitted 2026-10-06 · Read on arXiv

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

Related papers