What Nyāya Can Teach a Language Model

Classical Indian testimony theory and the standing of machine answers

The Nyāya school treated testimony as knowledge from the word of a reliable person, and so asked about the speaker rather than the hearer. That is the right question to ask of a model's answer, and its answer points where my own argument does.

The Nyāya-sūtra lists four means of knowledge, four pramāṇas: perception, inference, comparison and śabda, the word, usually translated as testimony. The list is not a ranking. Testimony is not a poor relation of perception, admitted when perception is unavailable; it is a source of knowledge in its own right, with its own conditions of success.

Its definition is a single compound: śabda is āptopadeśa, the instruction of an āpta, a reliable person. In Vātsyāyana’s commentary, an āpta is someone who has direct knowledge of the matter and who speaks moved by the wish to convey the thing as it was known. He adds that the definition holds alike for sages, for Āryas and for foreigners. Reliability is a matter of standing in the right relation to what one says, not of birth or rank.

I want to set this theory beside a language model’s answer, because I think it asks the right question of it, and that its answer points where my own argument does.

Asking about the speaker

Much modern Western epistemology of testimony asks about the hearer. Reductionists, in the line that runs from Hume, ask whether the hearer can infer from what she knows about people that what she was told is probably true. Anti-reductionists answer that she is entitled to accept what she is told, absent reasons for doubt, as she is entitled to trust her eyes. Both ask what licenses the hearer’s belief.

The Nyāya definition asks first about the speaker. Its question is whether the one who spoke is an āpta, someone whose speaking is explained by her knowing the thing she speaks of, rather than whether the hearer is entitled to believe. When that holds, the hearer’s understanding of the words yields knowledge. When it does not, the hearer may believe, and may even be right, but she has not come to know through the word.

That is close to the condition I have argued the leading Western accounts share beneath their disagreements, which I call the Tracking Minimum: a source can pass on knowledge only if the truth of what it says, or the evidence for it, figures in why it says it, through its own operation rather than through a proxy. The āpta meets this in the most direct way, since she speaks of the thing because she knows the thing.

Is a model an āpta?

Put the Nyāya question to a model’s answer: whether it comes from a source that speaks of the thing because it knows the thing.

It is tempting to settle this by saying that a model has no wish to communicate anything, and so cannot be an āpta. I would rather not rest the verdict there. Arguments that turn on what a machine wants or intends invite the reply that the anthropocentric assumption is doing the work, and they lapse as soon as machines become describable in those terms. The better reason lies in the other half of the definition. On the best current evidence, what explains a model’s open-domain answer is the likelihood of the words given the text it learned from, not the thing it speaks of. The thing reaches the answer only through a proxy, the fact that what is so tends to be what gets written down, and a source whose speaking is explained in that way does not stand to the matter as an āpta does, whatever we say about its wishes.

The Nyāya verdict, reached by this route, is therefore that a model’s answer is not śabda. It is not testimony, and it cannot give knowledge as testimony gives it.

What it is instead: inference from a sign

The tradition has another category ready. Where knowledge does not come from the word of a reliable speaker, it may still come by anumāna, inference. The classical example infers fire on the hill from smoke on the hill, and it can do so only because the reasoner knows the pervasion, the invariable connection between smoke and fire. Without knowledge of the pervasion, smoke is just smoke.

A model’s answer can be treated in the same way. I see the answer; I know, if I do, that answers of this kind, from this system, on questions like mine, are reliably correct; I infer that this one probably is. The answer becomes a sign, and the knowledge, if I get it, is knowledge by inference. Some classical schools, the Vaiśeṣika and the Buddhist logicians among them, held that all testimony is really inference of this kind. Nyāya resisted that reduction for the words of reliable people, and its resistance is what helps here, since it tells us what is lost when the speaker is not an āpta, and what the hearer must supply in its place.

What she must supply is the pervasion, and so the epistemic work moves from the speaker to the reader. When a person who knows tells me something, she is the source of my knowledge and I receive it. When I reason from a model’s answer, I am the source, and the quality of my knowledge depends on how well I know the connection between such answers and the truth, in conditions like mine. That is, in Nyāya terms, the structure I describe as reading an instrument: the warrant is generated by the user’s own reasoning, not transmitted to her.

Chains of āptas

One more feature of the tradition bears on the present. Most of what any of us is told does not come from someone who saw the thing herself; it comes through others. The tradition allows that knowledge can travel along a chain of reliable speakers, back to someone who knew the thing directly. The chain carries knowledge because each link stands to the link before as an āpta, speaking of what it received as it received it.

A model placed in such a chain does not occupy a link of this kind. It does not convey anyone’s word as received but generates new words from the pattern of many. The chain is broken at that point because the model does not relay, and not because it is unreliable. What follows downstream depends on whether someone does the inferential work that restores a connection to the thing, as I argue in They Preserve Text.

Why look here at all

It would be possible to make all of these points in the vocabulary of Burge, Lackey and Goldberg, and I have done so. The reason to look at Nyāya is that it put the speaker’s standing at the centre from the start, and treated the absence of that standing not as a defect in the hearer’s belief but as a change in its kind. That is the distinction we most need when sources speak fluently and often truly, but not because they know.