Study probes how small vision-language models read code-switched text in images
A new arXiv paper examines whether vision-language models process code-switched text the same way when it arrives as plain text or as pixels, finding model-specific patterns.
In plain words
Code-switching means mixing two languages in one sentence, like Hindi and English together. The authors asked whether small vision-language models read such mixed-language text with the same internal components when it is typed as text versus shown as a picture. The answer differs by model: some keep the two routes separate, others blend them.
What was announced
The researchers tested four open vision-language models under three conditions: the same code-switched sentence given as plain text, as an image with a query, and as an image alone. The sentences were real Hindi-English and Spanish-English examples rendered into images. Using a gradient-based head-importance method called LAHIS, they report that two models kept text and image pathways separate, one nearly merged them for Hindi, and one showed no strong pattern. All four vision encoders could distinguish Latin from Devanagari script by their first layer, though accuracy ranged widely, from 0.63 to 0.99 peak balanced accuracy.
Which attention heads a model treats as language-important tracked the decoder lineage more than the vision encoder or language ability. Head overlap fell as lineage distance grew, from 18 of 20 shared heads for a same-lineage pair to zero for the most distant pair. Zero-ablating these heads shifted output script above a random-head control in every model, which the authors say shows a causal effect on output script. They also release the pipeline, the corpus, and per-head results.
What it does not show
- The authors state that with only four models, the findings are an observation rather than an independently replicated result.
- The evidence is the paper's abstract, so full method details and results are not available for verification.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.