Do Llamas Work in English? On the Latent Language of Multilingual Transformers
Subject: Translation and Multilingual Computing
Author or source: Chris Wendler, Veniamin Veselovsky, Giovanni Monea, Robert West
Updated:
We cast these results into a conceptual model where the three phases operate in ”input space”, ”concept space”, and ”output space”, respectively.
Chris Wendler, Veniamin Veselovsky, Giovanni Monea, Robert West. 2024. Do Llamas Work in English? On the Latent Language of Multilingual Transformers. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics. DOI 10.18653/v1/2024.acl-long.820. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.
Publication sources
Authors’ abstract
Source page 1–29
We ask whether multilingual language models trained on unbalanced, English-dominated corpora use English as an internal pivot language—-a question of key importance for understanding how language models function and the origins of linguistic bias. Focusing on the Llama-2 family of transformer models, our study is based on carefully constructed non-English prompts with a unique correct single-token continuation. From layer to layer, transformers gradually map an input embedding of the final prompt token to an output embedding from which next-token probabilities are computed. Tracking intermediate embeddings through their high-dimensional space reveals three distinct phases, whereby intermediate embeddings (1) start far away from output token embeddings; (2) already in middle layers allow for decoding a semantically correct next token, but giving higher probability to its version in English than in the input language; (3) move into an input-language-specific region of the embedding space. We cast these results into a conceptual model where the three phases operate in ”input space”, ”concept space”, and ”output space”, respectively. Crucially, our evidence suggests that the abstract ”concept space” lies closer to English than to other input languages, which may have important consequences regarding the biases embodied by multilingual language models.
Reading guide for translation and multilingual computing
Source page 1–29
List the languages and directions in the evaluation. Compare scores within a language pair before drawing conclusions across languages or domains.