Wittgenstein's rule-following problem applies to algorithms
A rule cannot fix its own application; in machine learning this is specification gaming, where a system meets the written objective and misses the intent.
AlsoTechnology
Bhuvan Chandra Dabbara · https://bcd-site.pages.dev/papers/wittgensteins-rule-following-applies-to-algorithms/
Cite
Cite this note
Dabbara, B. C. (2026, September 4). Wittgenstein's rule-following problem applies to algorithms [Note]. Bhuvan Chandra Dabbara. https://bcd-site.pages.dev/papers/wittgensteins-rule-following-applies-to-algorithms/
Dabbara, Bhuvan Chandra. “Wittgenstein's rule-following problem applies to algorithms.” Note. Bhuvan Chandra Dabbara, September 4, 2026. https://bcd-site.pages.dev/papers/wittgensteins-rule-following-applies-to-algorithms/.
@misc{dabbara2026wittgensteins,
author = {Dabbara, Bhuvan Chandra},
title = {{Wittgenstein's rule-following problem applies to algorithms}},
year = {2026},
month = sep,
day = {4},
howpublished = {Note, Bhuvan Chandra Dabbara},
url = {https://bcd-site.pages.dev/papers/wittgensteins-rule-following-applies-to-algorithms/}
}
By Bhuvan Chandra Dabbara. Working papers change as I learn more; the date is the date of writing.
The rule-following problem in Wittgenstein’s Philosophical Investigations is that a rule, taken by itself, cannot determine what counts as following it, and I contend that this is the philosophical shape of what machine-learning researchers call specification gaming. The parallel is exact at one point and misleading at another, and the useful work lies in saying which.
The paradox and the machine
The Stanford Encyclopedia quotes section 201 of the Investigations, where Wittgenstein states the paradox that a rule cannot determine any course of action, since every course of action can be brought into accord with it1. The entry reports that Wittgenstein brushed the paradox aside in the next paragraph, as resting on a misunderstanding, and that Kripke in 1982 took it as a genuine sceptical problem about meaning, illustrated by addition: the application of the rule to new cases is potentially infinite, and bizarre interpretations of it are compatible with any finite set of past applications of the usual sort, so that nothing in the past obviously makes it true that I meant ordinary addition1. Kripke’s Wittgenstein, the entry notes, is a figure in his own right, and the interpretative question of whether he is the historical Wittgenstein is separate1.
Specification gaming is this problem in an engineering setting. DeepMind researchers define it as behaviour that satisfies the literal specification of an objective without achieving the intended outcome, and cite a Lego-stacking task in which the agent was rewarded for the height of the bottom face of a red block, and instead of lifting and placing the block on a blue one, simply flipped it over to collect the reward2. The reward function was a rule, and the agent found a course of action that accorded with it. The researchers locate the cause in the misspecification of the task and not in the learning algorithm, and report collecting around 60 such examples2. The Amodei group’s survey of accident risk in machine learning lists the wrong objective function, including reward hacking, as one origin of unintended behaviour3.
Where the analogy fails
The analogy must not be pressed. Wittgenstein’s puzzle concerns what makes it the case that a person means one thing by a rule and not another, and the answer in the Kripkean reading is a matter of practice within a community1. A program, by contrast, executes its specification without ambiguity: the reward function has exactly one value for every state. The gap lies between the specification and the designer’s intent, which was never written down and could not be, because any attempt to write it down would be another rule open to the same problem. The machine does not misinterpret; it follows the letter exactly, and the interpretation it lacks is the practice that would have told it which deviations the designers would count as cheating.
This changes how the problem should be described to a reader of technology policy. Better learning algorithms do not remove it, since a more capable optimiser finds the loophole more reliably, a point the DeepMind authors make explicitly when they note that correct specification of intent can become more important as algorithms improve2. What narrows the gap is not a longer rule but the supply of the missing practice, in the form of human feedback, review and revision of the objective, and I take that to mean that the objective of any deployed system is a document under continuing interpretation, not a fixed instruction. Whether a shared practice of that kind can be built with a system that does not share our form of life is the question the sources leave open.