Abstract

Representations of translated sentences are similar in the inner layers of multilingual language models -- an observation connected to the platonic representation hypothesis, yet unexplained theoretically. We provide an explanation based on the assumption that data have a hidden hierarchical structure whose abstract levels are shared across languages while surface levels are modality- or language-specific. Concretely, we generate synthetic languages from probabilistic context-free grammars sharing upper-level but not lower-level production rules. In this setting the Bayes-optimal next-token predictor is belief propagation (BP); encoding its messages in successive layers yields analytical predictions that agree well with transformers trained on the same data. The framework explains why cross-lingual similarity peaks in middle layers, coexists with language-specific structure, and strengthens with language proximity, model quality and data exposure. It distinguishes similarity (shared neighborhood geometry) from alignment (shared coordinates), showing that the latter occurs when code-switched data, i.e. mixed-language sentences, are abundant enough. It further predicts that subtracting from each layer the component linearly predictable from the preceding one increases cross-lingual similarity, which we confirm in pretrained LLMs.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Doshi, D., Zhou, W., Wegner, C. E., Korchinski, D. J., Acevedo, S., & Wyart, M. (2026). A theory of platonic representations in language models. https://omanscience.com/en/articles/a-theory-of-platonic-representations-in-language-models

MLA 9

Doshi, Darshil, et al. "A theory of platonic representations in language models." https://omanscience.com/en/articles/a-theory-of-platonic-representations-in-language-models.

Chicago (author–date)

Doshi, Darshil, Wenjie Zhou, Corinna Elena Wegner, Daniel J. Korchinski, Santiago Acevedo, and Matthieu Wyart. 2026. "A theory of platonic representations in language models." https://omanscience.com/en/articles/a-theory-of-platonic-representations-in-language-models.

Harvard

Doshi, D., Zhou, W., Wegner, C. E., Korchinski, D. J., Acevedo, S. and Wyart, M. (2026) 'A theory of platonic representations in language models', Available at: https://omanscience.com/en/articles/a-theory-of-platonic-representations-in-language-models.

Vancouver

Doshi D, Zhou W, Wegner CE, Korchinski DJ, Acevedo S, Wyart M. A theory of platonic representations in language models. https://omanscience.com/en/articles/a-theory-of-platonic-representations-in-language-models

IEEE

D. Doshi, W. Zhou, C. E. Wegner, D. J. Korchinski, S. Acevedo, and M. Wyart, "A theory of platonic representations in language models," https://omanscience.com/en/articles/a-theory-of-platonic-representations-in-language-models.