r/sanskrit • u/Responsible_Tune6243 • 17h ago
Bhartrhari predicted LLMs. Kind of?
There's a paper from 2022 where researchers trained a small model on Othello move sequences and found it had spontaneously built an internal map of the board. Nobody taught it to. It just did, as a side effect of learning to predict moves.
The AI community was genuinely surprised by this.
I kept thinking: Bhartrhari wasn't. At least, that's how it felt to me when I read about it.
His whole argument in the Vakyapadiya is that language and reality aren't two separate things where one describes the other. In his view, the structure of language is the structure of what can be known. So if you build something that really understands language, you've also built something that understands the world. Not as a bonus feature. As the same thing. I find this genuinely hard to dismiss, even now.
This is also why Panini's Ashtadhyayi feels strange to Western readers, I think. It's not organized to be easy to learn. It's organized to be complete. In my mind he's not describing Sanskrit, he's specifying it. There's a difference. A dictionary of chess moves describes how players play. The rules of chess define what chess is. Panini is writing the rules, and I think that's the more interesting thing to notice about the Ashtadhyayi than its size or its age.
I ended up going pretty deep on this and wrote something longer: beforetheword.com/blog/grammar-of-reality/
curious what people here think about where the analogy breaks. The four levels of Vak seem relevant to me : LLMs are trained on Vaikhari (text, the most manifest level) and I feel like a lot of their failure modes make more sense when you think about what they're missing from Para and Pasyanti. But I'm a CS person who came to Sanskrit late, so I'd love pushback from people who actually know this stuff better than I do.