Start simple, check before giving up — result
- Plan: spec
- Hypothesis: H-004, revised
- Status: done
- Date: 2026-11-23
Result #
The same code ran in both worlds. Brackets are 95% confidence intervals for the median across 100 runs.
Taxi. Steps until the agent plays the paper's six probe starts in the fewest steps. A run that never does is counted as "never".
| Agent | Runs that learn | Steps to learn | Runs with a wrong "impossible" | Runs where a button ran out |
|---|---|---|---|---|
| The 001-06 agent | 96 | 846.5 [806 to 876] | 10 | 0 |
| Growing only | 1 | never | 100 | 0 |
| Checking only | 0 | never | 0 | 100 |
| Neither (the 001-04 agent) | 0 | never | 34 | 79 |
| Plain memoriser, same starts | 76 | 2,502.5 [2,377 to 2,678] | 0 | 0 |
DOORMAX is not in this table. 001-03 played and judged it differently, so its 432 steps do not compare with these; see "Added after the run" below. The "neither" row is over up to 1,000 episodes a run; over 001-05's 20 episodes it repeats 001-05's numbers exactly (78 ran out, 22 wrongly said "impossible").
- Growing fixed the first failure completely. No button ran out of guesses in any run. Every run ended with north and south combining 2 readings, east and west 3, and pick up 5, which is what 001-05 worked out they need. Drop off needs 4, and ended at 4 in 71 runs, 3 in 20, 2 in 6 and 1 in 3.
- Checking reduced the second failure; it did not remove it. Ten runs said
"impossible" when a delivery was possible. The check guarantees nothing here:
in every one of the 990 episodes that wrongly ended "impossible", the false
prediction had passed it. It helps by making the agent press more, and those
presses tend to meet the telling case: the move off one reading came on a
checking press for pick up in 80 runs, and for drop off in 76 of the 97 where
drop off grew.
- In 3 runs (2, 5 and 42) the agent is stuck for good. It believes drop off is decided by one reading, and says "impossible" in every episode with a certain destination: 234, 495 and 249 of 1,000 episodes.
- In 7 runs it gave up wrongly on pick up, 1 to 5 times in its first few episodes, then met the telling case and went on to learn.
- One run never said "impossible" and still did not learn. Run 30 delivered all 1,000 passengers but takes 16 steps on one probe where 14 is the fewest. It has a route it can predict, so it never looks for a shorter one.
- It was wrong 12 times in a typical run [11 to 12], range 9 to 13. Each wrong prediction ends the guesses of that size for that button, and they grow.
8-puzzle. The same 300 puzzles as 001-02 to 001-04.
| 001-04 agent | 001-06 agent | |
|---|---|---|
| Presses it could not predict | 40 in all 100 runs | 40 in all 100 runs |
| Wrong predictions | 0 | 0 |
| Presses made to check a belief | 0 | 1,561 [1,358 to 1,563], range 976 to 1,646 (see the review note) |
| Presses on its first impossible puzzle | 44 | 1,605 [1,359 to 1,611] |
| Presses on all later impossible puzzles | 0 | 0 |
| Total presses in a run | 3,338 | 4,834 |
| Stored: working entries | 36 | 36 |
| Stored: checking entries | 0 | 4,644 |
| Stored: presses in its log | 0 | 3,512 |
| Boards examined in its head, per run | 39.1 million | 39.3 million |
Every puzzle was solved or called correctly in every run, all 145,152,000 final predictions were right, and no button ever needed more than one reading. All the checking happened on the first impossible puzzle, in all 100 runs. For scale, the Elephant's first impossible puzzle costs 862,470 presses.
Checks. All passed.
- With both changes off, puzzle runs 0 to 9 equal 001-04's stored runs, and the first 20 Taxi episodes of all 100 runs equal 001-05's.
- Ten puzzle runs done the plain way under PyPy equal the main runs.
- Ten runs with every symbol renamed, and ten with the slots shown in a shuffled order, give identical numbers.
- 75 tests pass, 55 of them the core's own.
Time on a 10-core MacBook Air: puzzle 7 minutes on 8 processes; the plain reference 11 minutes; all 500 Taxi runs 10 seconds.
Conclusion #
By the plan's rule the hypothesis is revised. Both worlds are learned, and Taxi takes a third of the memoriser's steps. But 10 runs contain a wrong "impossible", and the limit was 5.
What we predicted, and what happened:
| Prediction | Outcome |
|---|---|
| Puzzle: 40 presses, never wrong, no growth | held |
| Puzzle: 500 to 3,000 checking presses, all on the first impossible puzzle | held: 1,561 |
| Taxi: every run learns | no: 96 |
| Taxi: 1,000 to 10,000 steps | no: 846.5, better than expected |
| Taxi: a wrong "impossible" in at most 5 runs | no: 10 |
| Taxi: fewer than 30 wrong predictions a run | held: 9 to 13 |
| Growing only: fewer than 20 runs learn | held: 1 |
| Checking only: a button runs out in at least 90 runs | held: 100 |
| Switched off: the same numbers as 001-04 and 001-05 | held |
- Each change needs the other. Growing alone learns in 1 run of 100, and checking alone in none.
- Checking one size up is not enough. Drop off needs four readings together. In the stuck runs the agent's belief used one, and every pair of readings had been seen with "nothing happens". The telling case needs the taxi's column, its row and "riding" to line up with the destination, and no check of pairs asks for that.
- The false belief was built on a question that means little in Taxi. In all three stuck runs it was "where the first 3 (or 4) on the board is decides drop off". That question was the key to the puzzle. Here it is noise that happened to fit.
- On the puzzle the checking buys nothing. Every belief there was already right. Its cost is set by how many pairs of readings the board has, which is why it is larger than all of Taxi's learning; it is the price of not trusting an unchecked belief.
Limits #
- The memoriser is a weak and unsteady baseline, and one we designed. It plays by our rule, which stops exploring once it has any route, so 24 of its runs never find the shortest, even given every step allowed. With the buttons in other orders it learns in anywhere from 4 to 100 runs of 100. Our agent's median was below the memoriser's in every order tried.
- "Learned" means the six probes, not the rules. At the moment a run counted as learned, 7.7% of its predictions over all 400 boards and 6 buttons were "don't know" and 161 were wrong, summed over the 96 runs. No run had all 2,400 right. 26 of the runs counted as learned still held a drop-off belief smaller than the 4 readings it needs. An agent can also deliver every passenger and fail the probes, as run 30 does.
- 40 presses is still the design's floor, not a measurement. 001-04's review note applies unchanged.
- Try-outs came before the full run. Seen first: three Taxi runs of the 001-06 agent (one of them stuck, run 2), two each of the memoriser and the 001-04 agent, one small puzzle run both ways, and one tiny run of everything. The predictions were written before all of them and were not changed.
- The puzzle part ran twice. After the first run the plain search was made faster, with no change to what it returns, and every part was run again. The numbers above are from the second run. The summary numbers we looked at from the first run match them; its files were not kept.
- The agent's tests ran it on Taxi before the planned run, on seeds 0, 1, 3 and 7.
- The agent only asks "where is this symbol?" about symbols on the first board it sees. In Taxi that differs from run to run.
- The log grows with every new press and is never trimmed.
- Two worlds. Both are small and fully visible, and the same press always has the same result.
The core #
The core changed. Its effect on the last headline numbers:
- 001-04, the puzzle: still 40 presses it could not predict, and never wrong. New cost: 1,561 presses of checking, once, and much more stored: 4,644 checking entries and a log of 3,512 presses beside the 36 working entries.
- 001-05, Taxi: from no delivery in any run to learning in 96 of 100.
Also changed: the same question is no longer listed twice when a symbol repeats; the array search's three known faults are fixed; and the agent no longer re-proves "there is no route" after each check, when it has learned nothing that could change the answer.
Added after the run #
Not in the plan; prompted by the review. 001-03 ran DOORMAX with a player that tries everything it cannot predict before heading for the goal, and counted a probe as learned only if nothing reachable from it was unpredictable. Here are our agent and a memoriser measured that way too: same seeds, 100 runs each, the core unchanged, and only the order of the play rule swapped, in the harness.
| Agent | How it plays | How it is judged | Runs that learn | Mean steps, runs that learn | Median steps |
|---|---|---|---|---|---|
| The 001-06 agent | route first | its route (as above) | 96 | 846 | 846.5 |
| The 001-06 agent | route first | as in 001-03 | 0 | n/a | never |
| The 001-06 agent | explores first | as in 001-03 | 100 | 1,094 | 1,083 [1,055 to 1,116] |
| Memoriser | explores first | as in 001-03 | 100 | 3,247 | 3,274.5 [3,214 to 3,336] |
| DOORMAX, our build (001-03), told the objects | explores first | as in 001-03 | all | 432 | |
| DOORMAX, the paper | explores first | the paper's | all | 529 |
- Measured as DOORMAX was, our agent takes about 2.5 times its steps, 1,094 against 432, and every run learns. Our earlier "about twice" compared two different measures.
- Exploring first also helps reliability. All 100 runs learn, including the three that were stuck for good. 8 runs still say "impossible" wrongly along the way.
- The memoriser played this way learns in every run, in about 3,250 steps. The DOORMAX author's thesis gives 4,151 for plain R-max on a Taxi of 500 states, learning from reward; ours has 400 and is shown the target.
Review note, 2026-11-23 #
An independent reviewer read the code and the data and reran parts of both. All 500 Taxi runs and a sample of the puzzle runs reproduced exactly. It found no code bug and no way for the agent to see the rules. The plain and array searches agreed on about 16,000 random cases. The two shortcuts were sound: skipping the re-proof of "no route", and remembering checked predictions. Growth rebuilt correctly from the log at all 1,262 growth events. It found two false sentences and several things to say more carefully. No number above changes.
-
Two false sentences, now corrected. The core said a belief that survived by luck "is one that fails this test"; it may fail it, and will not if the telling case is two or more readings away. The plan said the Taxi measure was 001-03's; it is not, and the plan now carries a dated note saying so.
-
The verdict depends on the order of the buttons. The same code on the same seeds, with the buttons in 15 other orders:
- runs that learn: 95 to 100;
- runs with a wrong "impossible": 1 to 10;
- median steps: 778 to 916.
By the plan's rule 10 of those 15 orders give "supported" and 5 give "revised". Two sit exactly on the line for "refuted". The order used, the world's own, is tied for the most wrong "impossible"s. Showing the slots in 4 other orders gives 96 to 99 runs learning, 3 to 9 with a wrong "impossible", and medians of 844 to 1,066. Slot order matters in Taxi because a repeated symbol is found at its first slot. The plan's shuffled-slots check ran only on the puzzle, where it cannot matter. The median of about 850 is steady; the pass and fail lines are not.
-
The puzzle's checking cost depends on button order too. Medians run from 1,167 to 1,585 presses, and the order used gives the highest. The 40 presses is still the design's floor: 40, 41 or 42 by order, and never wrong.
-
The plan's list of what the agent is given did not fit Taxi. The plan now lists what replaces 001-04's two items that are false there. One more was tried: with "where is this symbol?" asked about all five symbols, 98 runs learn and 6 wrongly say "impossible". With no "where" questions at all, all 100 learn, none wrongly says "impossible", and the median is 778. This fits the conclusion that the "where" question is noise in Taxi, but it is one variation.
-
A comparison from the literature was missing. The thesis gives 1,676 steps for Factored R-max. It sees the state variables, as ours does. As usually set up it is also told which variables each one depends on; we have not checked the thesis's setup.
-
Smaller points. The report prints 001-04's numbers from a fixed string; they are right. For the checking-only and neither agents, "presses it could not predict" (about 1,025) counts one press per episode after a button ran out. The code's verdict also returns "refuted" on a failed check, which the plan's rule does not say; no check failed.