AI research
Toward a General Theory of Intelligence
A controlled test of consequential distinctions in adaptive agents, including where the first prediction failed.
Elementary Intelligence · Controlled simulation study

In this article10 sections
The question
We can measure length, mass and time anywhere in the universe with the same units. We cannot yet measure intelligence that way. An IQ test works for people, a benchmark works for one kind of AI, and neither says anything about a slime mould or a system nobody has built yet.
This article describes a research programme that asks whether intelligence has general laws: rules that hold no matter what a mind is made of. It does not claim to have found them. It reports a first set of controlled experiments, what they confirmed, what they did not, and the route from here to a theory worth the name.
The guiding comparison is the metre. A metre is useful because it is defined precisely, measured the same way everywhere, and calibrated against a standard. A general theory of intelligence would need the same three things: precise quantities, laws that connect them, and a way to measure them in any system.
The idea in one sentence
A mind is intelligent partly to the extent that it keeps the differences that change what happens next, and lets go of the ones that don’t.
A cook notices whether milk smells sour, not whether the carton is blue or green. Both are real differences in the world. Only one changes the outcome of drinking it. We call a difference like the sour smell a consequential distinction.
To make this precise, take two situations a mind might be in, written h and h′ (each is a full history of what it has seen and done). They are equivalent if, whatever the mind does next, the futures they lead to look the same:
In words: Y is the future outcome that matters, g is the current goal, π is any course of action the mind could take, and D measures how different two predictions are. If no course of action can make the two situations turn out differently by more than a small tolerance ε, the difference between them is not worth keeping.
Two features of this definition matter. It depends on the goal, so the same two objects can be equivalent for one purpose and different for another. And it depends on the tolerance ε, so equivalence is a matter of resolution, not an absolute fact.
The idea then has three parts, each of which we test separately:
- Form distinctions that matter for consequences.
- Use them to anticipate what will happen.
- Reorganise them when their consequences change.
A world small enough to understand completely
To test the idea without anything hiding the answer, we built a tiny world, DistinctionWorld, in which we know the right answer exactly.
A creature is shown objects one at a time. Each object has four features, each either 0 or 1: colour c, shape s, texture t and a meaningless mark n. That gives 16 kinds of object. The creature either takes the object or skips it. Skipping scores 0. Taking scores +1 or −1 depending on two things the creature may or may not know:
- its goal g: looking for food or for shelter (always shown to it), and
- a season k, either 0 or 1, which in some games is hidden.
The rule for taking is:
The symbol ⊕ means “exclusive or”: the answer is 1 when exactly one of the two is 1. So when foraging, colour decides everything, but the season flips which colour is good. Texture and the mark never matter.
This makes the consequential distinctions known in advance. For any goal and season, the 16 objects fall into exactly two groups, “good to take” and “bad to take”. A change of goal moves the dividing line from colour to shape. A hidden season means a creature can only know which group an object is in by remembering how recent choices turned out. In some games the season flips partway through without warning.
Because the world is fully specified, we can compute the best possible behaviour exactly, using the same information each creature has. Every creature is scored by its regret: how much reward per object it loses compared with that perfect player.
Regret is 0 for a perfect player and about 0.5 per object for one that guesses.
The minds we tested
We built agents with progressively richer ways to learn, remember and predict. Some matched comparisons isolate a particular mechanism; others compare different packages of capabilities. The causal interventions below test the role of consequential distinctions more directly.
| Creature | What it has | Everyday comparison |
|---|---|---|
| A0 | Nothing: picks at random | A coin flip |
| A1 | A fixed rule it never changes | A thermostat |
| A2 | Learning, but no memory of what just happened | Someone who learns from experience but forgets each moment as it passes |
| A3 | A small notebook recording the last thing that happened | A to-do list with one line |
| A3-rnn | A memory it shapes itself: a small neural network | A habit of attention built up over time |
| A4 | A mental model: it guesses the hidden season and predicts outcomes | A weather forecaster |
| A5 | The same mental model, but forced to sort objects into very few categories | A forecaster allowed only a handful of words |
Each creature that learns had its settings tuned the same way, on separate practice worlds, before any test. None of them is told which features matter.
What we found
Before the main experiments we wrote down every prediction, how many repeats we would run, and how we would judge success, then locked that document with a digital fingerprint. The final runs used fresh worlds no creature had seen: 8,400 runs in the main study, with 50 independent repeats per condition. Four findings stand out.
1. Breaking a distinction that matters hurts; breaking one that doesn’t, doesn’t. This is the most direct test of the idea. We performed the equivalent of brain surgery on trained creatures, forcing them to treat two objects as one. When the two objects behaved the same, nothing changed. When they behaved differently, the mental-model creature lost 0.24 reward per object and the compressed creature lost 0.30. Hiding the feature that matters cost 0.39–0.43 per object. Hiding the meaningless mark cost nothing at all.
2. Forced to be economical, a mind discovers the categories that matter. Nobody told the compressed creature which features were important. With room for 8 categories, it settled on 2, “good” and “bad”, matching the ideal grouping 99.6% of the time. With room for exactly 2, it sometimes settled on the wrong 2, lumping good and bad objects together in 28% of comparisons, and paid for it. With room for 128, it did not simplify at all.
3. Memory helps when hidden context changes the best action. When the season was visible, every learning creature reached near-zero regret. When it was hidden, the memoryless creature did no better than guessing (regret 0.45–0.49), and every creature with memory did better, more so the more memory it had. The hidden-versus-visible advantage held in all 12 registered comparisons. This result is about this task: hidden information alone does not make memory useful if it never changes what an agent should do.
4. A learned memory nearly matches a mental model, except when goals change. The mental-model creature was best overall (regret 0.02–0.03 with a hidden season). But with a fixed goal, the self-shaping memory came within 0.009 per object of it, well under the 0.05 we had decided in advance was the smallest difference worth caring about. Only when the goal kept switching between food and shelter did the mental model pull clearly ahead, by 0.09 per object.
Two further results were exploratory, not predicted in advance:
- Focusing on what matters protects against being fooled. In training, we let the meaningless mark happen to predict good objects. Once that coincidence was removed, the compressed creature and the self-shaping memory lost almost nothing (extra regret 0.004 and 0.000). The others lost 0.07–0.10.
- Experience can help or hurt. After the season flipped, trained creatures adapted far faster than newcomers. When we secretly swapped what the features meant, every trained creature did worse than a newcomer: old habits got in the way.
Measuring what a mind knows, and what it uses
A general theory needs quantities that can be measured in any system. We use two, one for knowledge and one for use.
Knowledge: information in bits. The first asks how much a mind’s internal state Z tells you about a future outcome Y, once you already know its goal G:
H is uncertainty, measured in bits. The formula says: information is the uncertainty about the outcome that disappears once you can read the mind’s state. One bit is the most there is to know about a yes-or-no outcome. We estimate it by training a simple decoder to predict the outcome from the mind’s state and scoring it on data it has not seen, which gives a conservative estimate that works for any kind of internal state.
In pilot measurements with the season hidden, the memoryless creature’s state carried 0 bits about whether taking an object would pay off. The memory and mental-model creatures carried 0.6 to 0.97 bits out of a possible 1, less where surprise reversals make the season harder to track. Across 360 pilot runs with the season hidden, this one number almost completely tracked performance: the correlation between consequence information and regret was −0.99. Partly that is because knowing the consequence is what good decisions require, but it shows the measure captures what matters. The same tool measures how much a mind carries about the irrelevant features. The compressed creature at its tightest budget carried none at all.
One subtlety: a mind can hold traces too small ever to change a decision. We therefore measure at a stated resolution, the ε of the definition above, and report it with every number.
Use: the causal benefit of a distinction. Knowledge that can be decoded is not necessarily knowledge that is used. So we also measure what a distinction is worth by removing it:
J is performance, here reward per object. CDB, the Causal Distinction Benefit, is measured in the same units as J, and can be zero or negative. The surgery results above are CDB measurements: about 0.24 to 0.30 for a distinction that matters, about 0 for one that doesn’t.
Neither quantity is intelligence. They are candidate ingredients of a measurement standard, in the way that length and time are ingredients of speed.
The balance between stability and change
The next question we tested: how quickly should a mind forget? Forget too quickly and it is fooled by every unlucky outcome. Forget too slowly and it keeps acting on rules that stopped being true. There must be a best balance, and a general theory should be able to say where it lies before the experiment is run.
Suppose a mind keeps a running estimate of whether an object is good, giving old experience less weight over a memory span of τ encounters. Outcomes are noisy: each one is reversed with probability q. Every u encounters, the meaning of the object flips. The mind makes two kinds of mistake.
- Lag. After a flip, it takes about τ ln 2 encounters for the estimate to change sign, so a fraction of decisions of about τ ln 2 / u are wrong.
- Noise. Between flips, a short memory is easily fooled. The chance of a wrong decision shrinks quickly as the memory grows.
Writing μ = 1 − 2q for the strength of the signal and σ² = 1 − μ² for the noise, the expected error rate is:
Φ is the standard bell-curve probability. The first term grows steadily with memory; the second falls away exponentially. Balancing them gives the prediction:
In words: the best memory span grows with the logarithm of the time between changes, scaled by how noisy the world is. A world that changes ten times less often calls for only a little more memory, not ten times more. This is a sharp, risky prediction. The obvious alternative, which is what you would get if the aim were to estimate outcome rates precisely rather than to decide well, is a memory span growing with the square root of u.
The prediction failed. We wrote it down before collecting any data, then tested it on 960 runs across five kinds of mind, two noise levels and four rates of change. The best memory span did not grow with the time between changes at all. If anything it shrank: the fitted exponent was about −0.4, where the theory predicted a slow rise. The model also predicted short memories (1 to 9 encounters) when changes are frequent; the minds did best with long ones (15 to 300).
The failure points to two things the simple model leaves out, both instructive.
- You only learn about what you try. After a change, an object a mind had learned to skip may now be good, but the mind discovers this only on its occasional random tries. That delay depends on curiosity, not on memory, and no setting of memory span can fix it.
- A mind with a model can turn change into context. When the rules flipped back and forth often, the mental-model creatures did better, not worse, than when they flipped rarely. Instead of forgetting the old rule, they kept both rules and learned to infer which one was currently in force, treating the flip like a hidden season. For them, a long memory is an asset.
So the right law is not about forgetting alone. We rebuilt the model around two facts. A mind learns what an object is worth only when it takes it. And one unlucky outcome can make it start skipping a good object, after which only an occasional random try (made with probability ε) can rescue it. Decision researchers call this the hot stove effect: a cat that once sat on a hot stove avoids even cold ones.
The second model has no adjustable constants. For a single object with true value s (good or bad), the mind keeps an estimate Q and updates it only when it takes:
Regret is the strength of the signal times the chance of the wrong choice, μ · P(wrong). The model also distinguishes two kinds of change. In a one-off change, the world moves to a rule it has not been following. In a recurring change, it switches back and forth between the same two rules, so the same objects flip every time and the rest never do.
The second round of predictions largely held. We registered four predictions, and fingerprinted them, before running 3,648 new trials.
- It predicted the simple learner almost exactly. Across 240 combinations of memory and exploration, the predicted regret was off by 0.009 per object on average, and the ranking was right in all 12 conditions.
- It predicted how much to explore. After one-off changes, explore a lot (ε = 0.2). Under fast recurring change, explore little (0.02 to 0.05). Correct in 12 of 12 conditions.
- It predicted which kind of change is harder. One-off change costs more than recurring change, in 6 of 6 conditions, by roughly the predicted amount.
- One prediction only half held. We expected the mental-model creature to beat the model whenever rules recur, by keeping both rules in mind. It did so only when changes were fast and outcomes fairly clean (by 0.07 to 0.11 per object), not in noisier worlds. Unexpectedly, when every change was new, its habit of expecting old rules to return made it worse than the simple model in all 6 conditions.
The emerging law, then: how fast a mind should forget and how much it should explore are set jointly by how noisy the world is, how often it changes, and whether its changes repeat. Keeping past rules in mind is a double-edged tool. It pays when a few rules keep coming back, and costs when change is open-ended. These are pilot results, with 4 repeats per condition; the next step is to test them at full scale and in new kinds of mind.
What this does not show yet
These results are solid within their scope, and the scope is narrow on purpose.
- It is a tiny world. Sixteen objects, one hidden bit and two goals. This is a wind tunnel, not an aeroplane. Laws that hold here may change form, or fail, in richer worlds.
- Every mind ran on the same computer. Different programs are not different substances. Nothing here yet shows that a slime mould, a worm or a person follows the same rules.
- Decodable is not the same as used. Information measures show what could be read out of a mind; only interventions like the surgery tests show what the mind relies on. Both are needed.
- Intelligence may not have a single core. It may turn out to be several separate capacities, with no one quantity underneath. That would also be a real discovery.
- One correction was made after the lock. The software that labelled results checked only part of the agreed rule. Fixing it changed one minor verdict, and the change is recorded openly alongside the original plan.
The road to a general theory
A theory earns the word “general” only if it predicts, before the experiment, how minds it has never seen will behave in worlds it has never seen. The programme is built around that test: each phase ends in a gate, a prediction that could fail.
The next gates are tests in new worlds, new architecture families and, eventually, living systems. Each asks whether a law keeps its form outside the setting that suggested it.
If a gate fails, the plan does not stop. It records where the law breaks, and that boundary becomes part of the theory. A law that holds for artificial minds but not for living ones would itself be a major result.
The end point is a measurement standard: a small set of quantities with units, calibrated against reference minds and reference tasks, so that different laboratories measuring different systems get comparable numbers. It will most likely be a set of measurements rather than one number.
In short
In a world we control completely, the minds that performed best were those that learned which differences change outcomes and ignored the rest. Breaking a distinction that mattered cost them dearly; breaking one that didn’t cost nothing. Doing this well also made them harder to fool. A memory that shapes itself captured most of the benefit; an explicit model of the world earned its keep when goals changed.
That suggests a refined working definition, to be tested rather than assumed: intelligence is, in part, the ability to
distinctions according to their consequences. If that ability obeys the same laws in minds made of very different things, those laws would be the beginning of a general theory. Finding out is the work ahead.