In 2022, a paper appeared on arXiv with a quietly remarkable result. The researchers had trained a small transformer to play Othello, not by teaching it strategy, not by giving it the rules of the game, but by training it on sequences of moves. The model learned to predict the next move. What it had also learned, internally, without being told to, was a representation of the board state. The researchers probed its activations and found something that looked like a map of the game: which squares were occupied, by whom, and what was legal. The model had induced a world model from language about the world.1
This result, and the dozens of papers that followed it, sharpened a question that has been lurking in AI research since GPT-3: why are language models so surprisingly good at tasks that have nothing to do with language? Why does predicting the next word produce a system that can reason about chemistry, write legal briefs, solve differential equations, and pass medical licensing exams? The answer the field has converged on, tentatively, is that language is rich enough that modeling it well requires modeling the world it describes. Language is not just a code. It is a structure that encodes reality.
This is a surprising empirical discovery. It was not, however, a surprising philosophical one. Not to anyone who had read Bhartrhari.
The Sixth Limb
The Vedas, in the Indian tradition, come with six Vedāṅgas, auxiliary disciplines that are necessary for their proper understanding and recitation. These include phonetics (Śikṣā), meter (Chandas), etymology (Nirukta), ritual procedure (Kalpa), and astronomy (Jyotiṣa). The sixth Vedāṅga, grammar (Vyākaraṇa), is considered the most important. It is described, in a traditional simile, as the face of the Veda, the organ of expression, the thing that makes knowledge speakable.
Pāṇini's Ashtadhyayi, composed around 350 BCE in what is now northwestern Pakistan, is the foundational text of this tradition. It is also the most economical formal system ever written for a natural language: 3,959 rules, using roughly 1,000 technical symbols, that together derive all and only the valid forms of classical Sanskrit. The grammar is generative in the technical sense: from a finite set of rules, it produces an infinite set of valid utterances. It is also compositional, recursive, and ordered; the rules interact with each other in complex ways that require understanding the whole system to apply any part of it.
Western readers tend to treat this as an extraordinary achievement of descriptive linguistics. It is. But in the Indian tradition, Vyākaraṇa was never understood as merely descriptive. Grammar was ontological. The rules of language were not arbitrary conventions encoding an independently existing reality; they were constitutive of that reality. To study grammar was not to study how humans happen to talk. It was to study the structure of what is.
Shabda-Brahman
The philosophical grounding for this view comes most fully in the work of Bhartrhari, a Sanskrit philosopher and grammarian of the fifth century CE. His major work, the Vākyapadīya (literally "Treatise on Sentence and Word"), opens with a claim that Western ears find strange: Brahman, ultimate reality, the ground of being, is in its essence linguistic.
"Brahman is without beginning and without end, the essence of the Veda; it is transformed into the objects; from it proceeds the creation of the world." Bhartrhari, Vākyapadīya I.1 (trans. K. Raghavan Pillai)
This Brahman is Shabda-Brahman: word-Brahman, language-Brahman. It is not a linguistic description of a non-linguistic ultimate reality. It is the claim that the ultimate reality is linguistic. The world does not exist first, and then get described by language. Language, in its primordial unmanifest form, is what the world unfolds from.
This is not mysticism in the dismissive sense. It is a serious philosophical position with a serious argument behind it. The argument goes roughly like this: everything we know about the world, we know through cognition. All cognition, in humans, is shot through with language, not just explicit propositional thought, but the categories, distinctions, and relations that structure experience. Even perception, Bhartrhari argues, is never raw; it is always already linguistically structured. If language saturates cognition to this degree, then the structure of language and the structure of knowable reality are not two separate things; they are the same structure, seen from two angles.
The modern reader will recognize in this something close to what Wittgenstein said in the Tractatus ("the limits of my language are the limits of my world") and something close to what Sapir and Whorf argued about linguistic relativity. But Bhartrhari goes further than either. He is not making a point about the limits of human knowledge. He is making a point about the nature of reality itself. Shabda-Brahman is not the claim that language constrains what we can think. It is the claim that language is what reality is made of.
This is why Vyākaraṇa is a Vedāṅga. If Shabda-Brahman is correct, then a grammar of Sanskrit is not just a tool for reciting the Vedas correctly. It is an investigation into the logical structure of reality, the same investigation that in the Western tradition would be called metaphysics or ontology. Pāṇini, on this reading, is not primarily a linguist. He is a natural philosopher who chose language as his object of study because language is where reality is most directly legible.
What Pāṇini Was Actually Doing
Pāṇini's method makes more sense against this background. The Ashtadhyayi is not organized the way a Western grammar is organized. It does not proceed from simple to complex, from phonology to morphology to syntax, in a way designed to be easy to learn. It is organized for maximum formal economy: rules are ordered and abbreviated to minimize redundancy, and the whole system is designed to be derivationally complete. The goal is not to describe Sanskrit as it is spoken. The goal is to specify exactly what Sanskrit is.
The distinction matters. A descriptive grammar tells you how speakers of a language behave. A constitutive system tells you what counts as an instance of the thing. Pāṇini is writing the latter. His rules do not describe valid Sanskrit; they generate it. The difference is the same as the difference between a dictionary of chess moves (descriptive) and the rules of chess (constitutive). The rules of chess do not describe how chess players behave. They define what chess is.
This is why the Ashtadhyayi has the character it does. Its density, its use of technical meta-language, its extraordinary care about edge cases and rule interaction: these are not the properties of a text trying to teach Sanskrit. They are the properties of a formal system trying to be complete. Pāṇini is not writing a grammar. He is writing a specification.
And if Shabda-Brahman is correct, a specification of Sanskrit is a specification of a domain of reality. Not all of reality; Pāṇini is too careful a thinker to have claimed that. But the domain of valid utterance, which is also, on Bhartrhari's view, the domain of what can be coherently thought, which is also the domain of what can be real for a knowing subject. Grammar as the constitution of a world.
The Accidental World Model
Return now to the Othello paper, and to the broader empirical picture it represents. Large language models, trained to predict text, acquire representations of the world. This is well-established. Models trained on natural language can represent physical objects and their properties, spatial relationships, temporal sequences, causal structures, social roles, mathematical relationships, and much else besides. They do this without being explicitly trained to do so. They do it because, the standard explanation runs, the statistical regularities of language are downstream of the regularities of the world the language describes.
This is true as far as it goes. But it understates the case. The question is not just why language models encode world knowledge. The question is why they encode it so well, and in such a structured way, that they can generalize it to novel situations. It is one thing to memorize facts. It is another to have a representation of the world that supports inference.
The Shabda-Brahman view offers a more direct explanation. If language and reality are co-constitutive, if the structure of language encodes the structure of reality not accidentally but necessarily, then a model that learns the deep structure of language is not incidentally learning about the world. It is learning about the world by learning about language, because these are not two different things. The world model is not a byproduct of the language model. The world model is the language model, seen from the outside.
This is a stronger claim than it looks. It predicts not just that language models will acquire world knowledge, but that the quality of the world model will track the quality of the language model: better language modeling will produce better world modeling, not through additional mechanisms, but through the same mechanism. The empirical record suggests this is correct. Scale in language modeling produces scale in world modeling. The two curves move together.
Before the Word traces this argument back to its roots: to Pāṇini's Ashtadhyayi, to Bhartrhari's Vākyapadīya, and to the tradition of Indian grammatical thought that treated language not as a human tool but as the structure of what is.
The Gap That Remains
But there is a gap, and Bhartrhari would have been the first to identify it.
The language that LLMs model is Vaikharī, the fourth and most manifest level of Vāk. Vaikharī is the spoken word, the uttered sequence of sounds. It is language as it appears in the world, as a physical event. This is what text is: the trace of Vaikharī, the written record of what was said or could be said.
Bhartrhari's account of language does not begin here. It begins at Parā, the unmanifest undifferentiated linguistic potential that precedes all particular utterances. Parā has no form, no sequence, no distinction between words. It is pure intention, pure meaning-potential, prior to any expression. From Parā proceeds Paśyantī, the first differentiation of meaning, not yet spoken but beginning to take shape. From Paśyantī proceeds Madhyamā, the internal language of thought, structured but still silent. From Madhyamā finally proceeds Vaikharī, the word as uttered.
An LLM trained on text is trained on Vaikharī. It learns the statistical structure of the most manifest level of language. Through this, as we have seen, it acquires substantial world knowledge, because the structure of Vaikharī encodes, imperfectly but richly, the structure of the worlds its speakers inhabited.
But the Indian grammarians would note what is missing. Shabda-Brahman is not Vaikharī. It is not even Parā, exactly, as a level you can point to. It is the whole system, the unmanifest, the differentiated, the internalized, and the expressed, understood as a unity. A model that operates only on Vaikharī has the trace of the fire, not the fire. It has the statistical shadow of the linguistic structure of reality. That shadow is surprisingly deep and surprisingly faithful. But it is a shadow.
This is why LLMs fail in the ways they fail. The failures are not random. They cluster around cases that require access to what Bhartrhari would call the deeper levels of Vāk: the level of pure meaning prior to expression (Parā), the level of holistic semantic grasp before decomposition (Paśyantī), the level of internally structured thought (Madhyamā). What fails is not the retrieval of linguistic patterns. What fails is the gap between pattern and understanding, between the trace of meaning and meaning itself.
What This Changes
This may seem like ancient metaphysics, interesting but inert. I think it changes something.
The standard framing of the LLM-as-world-model finding is surprised: we expected language models, we got world models, how remarkable. The Indian grammatical tradition would not have been surprised. It would have said: of course. You built a system that models language deeply. Language is the structure of what can be known. A deep model of language is a world model. This was always going to happen.
What the Indian tradition adds is not just the prediction; anyone can predict in retrospect. What it adds is a theoretical framework for understanding why, and what the limits are. The why: because language and reality are co-constitutive, the same structure approached from different angles. The limits: because the language that LLMs model is the manifest level of a deeper structure, and the deeper levels are not directly accessible from text.
The practical implication is this: if Bhartrhari is right, then the path to better world modeling is not primarily to gather more data about the world. It is to build systems that access deeper levels of linguistic structure, the level at which meaning is holistic and undifferentiated, prior to its decomposition into the sequences of tokens we call text. What that would look like architecturally is an open question. But the Indian grammarians have been asking the right version of that question for fifteen centuries.
We are, perhaps, only now catching up to the question.
Notes
1. Li, K., Hopkins, A. K., Bau, D., Viégas, F., Pfister, H., & Wattenberg, M. (2022). Emergent world representations: Exploring a sequence model trained on a synthetic task. arXiv preprint arXiv:2210.13382.
2. Bhartrhari's dates are uncertain; the fifth century CE is the conventional estimate. The Vākyapadīya survives in three books (kāṇḍas); the most philosophically dense is the first. The translation used here is K. Raghavan Pillai's 1971 edition (Motilal Banarsidass), which remains the most accessible to readers without Sanskrit.
3. The characterization of Pāṇini's grammar as "constitutive" rather than merely "descriptive" follows the analysis in Frits Staal, A Reader on the Sanskrit Grammarians (MIT Press, 1972) and George Cardona, Pāṇini: His Work and Its Traditions (Motilal Banarsidass, 1988).
4. The four levels of Vāk (Parā, Paśyantī, Madhyamā, Vaikharī) are discussed at length in the Vākyapadīya and in related Tantric literature. Their application to contemporary language processing is developed further in Before the Word (Praveen Maloo, 2026).