GABI
v0.01Grows Abilities By Itself
GABI is our first symbolic model-based self-learning agent. It sees a list of symbols, a target, and a set of actions it can try. We never tell it what world those symbols describe, how that world is laid out, or what its actions do. It brings the same seven abilities to every problem. It can observe what happens, remember what it saw, predict what a move will do, learn from surprises, weigh its options, choose a move, and act.
GABI achieved state-of-the-art results for learning the 8-puzzle from play and one of the top scores in our Taxi tests. The model we tested it against started with clues about the empty square in the puzzle and the walls in Taxi. GABI had to discover what mattered. In the 8-puzzle, for example, it worked out that the position of the empty square determines what happens when it tries a move.
8-puzzle State of the Art
Eight numbered tiles sit in a 3 × 3 tray with one empty space. You can slide a tile into the empty space. The goal is to put the tiles in order.
27 vs 28
Median moves without a prediction. GABI made zero prediction errors across 100 runs.
Can this puzzle be solved?
GABI found a way to spot an impossible puzzle without moving a single tile. Its rule worked for all 362,880 possible arrangements.
A learned route in 10 slides.
Taxi
A taxi has to drive around walls, pick up a waiting passenger, and drop them off at their destination.
395.8 vs 419.7
Average steps to learn the shortest routes on six test starts.
A shortest route from pickup to drop-off.
How GABI works
When you see a tile slide into an empty square, GABI sees two numbers trade places in a list. The numbers are labels. GABI can tell where each label appears and whether two labels match. Giving it the game in this form lets us test what it can learn from its own moves without first having to recognize tiles, passengers, or walls.
GABI uses the same seven abilities in both games.
-
Observe
Read the symbols the game shows right now.
-
Remember
Record which button was pressed and what the list looked like before and after.
-
Predict
Use the rules learned so far to work out what a button will change. If the evidence is too thin, leave the outcome open.
-
Learn
Compare the result with the prediction. Drop any guess that conflicts with what happened.
-
Evaluate
Check whether the current list matches the target.
-
Choose
Think through possible moves. Pick one that explores an unknown outcome, tests a guess, or follows a route to the target.
-
Act
Press the chosen button and read the list again.
To check whether the familiar numbers helped, we repeated ten 8-puzzle runs with the symbols renamed. Then we repeated the same runs with the list positions shuffled. In both tests, the number of moves GABI couldn’t predict matched the original count in every run.
How we tested GABI
We ran the same version of GABI 100 times on each game. On the 8-puzzle, it tried fewer moves with unknown outcomes than the comparison model in 77 runs and tied it in 23. On Taxi, the comparison model was given descriptions of objects and relationships, including how the taxi can touch walls.
We tested GABI on 540 worlds it had never seen. In 521 of them, it learned to predict what every button would do from every position the test could reach.
An early version of GABI made no deliveries in 2,000 Taxi episodes. A later version could test whether two observations matched. That let it learn when pickup works by checking whether the taxi and passenger are in the same place.
We developed the learning algorithm on these two games. The scores count interactions during learning. The replays show routes GABI played after learning.
Experiment record
All 37 experiments behind GABI v0.01, including preliminary findings and ideas that failed. Each spec records what we set out to test. Dated amendments and follow-ups show where the work changed direction.
| ID | Experiment | Records | Result |
|---|---|---|---|
| 001-01 | Three ways to play the 8-puzzle | Spec Report | Memory solved all 30 solvable puzzles but took 862,416 presses to establish that the first impossible one had no solution. |
| 001-02 | Repeat the baselines at scale | Spec Report | A typical solvable puzzle took 554,634 random presses, 36.5 with memory, and 22 with the rules supplied. |
| 001-03 | Test the published comparison model | Spec Report | With the published algorithm and clues about the board, DOORMAX made 28 moves without a prediction. |
| 001-04 | Find what matters | Spec Report | GABI discovered that the gap determines each move, with 40 moves without a prediction in every run. |
| 001-05 | Try the same agent on Taxi | Spec Report | The puzzle agent made zero deliveries in 2,000 Taxi episodes. |
| 001-06 | Test more complex guesses | Spec Report | GABI learned Taxi in 96 of 100 runs. |
| 001-07 | Explore first and compare symbols | Spec Report | GABI learned Taxi in 486 steps on average when matching coordinates used the same symbols. |
| 001-08 | Learn which symbols correspond | Spec Pilot | GABI matched the taxi’s coordinates to the passenger’s coordinates in all ten runs. |
| 001-09 | Generate worlds with hidden rules | Spec Pilot | GABI learned 59 of 60 ordinary generated worlds, compared with 40 for a model that memorized moves. |
| 001-10 | Try one rule everywhere | Spec Pilot | Applying a rule broadly increased average Taxi steps from 521 to 595. |
| 001-11 | Hide the walls from DOORMAX | Spec Pilot | Removing wall clues raised DOORMAX’s average from 421 Taxi steps to 584. |
| 001-12 | Learn when a move works | Spec Pilot | Learning the two separately cut moves without a prediction by about 15%. |
| 001-13 | Choose what to explore | Spec Pilot | Neither new strategy consistently beat trying the nearest move GABI couldn’t predict. |
| 001-14 | Learn which actions undo each other | Spec Pilot | Learning reverse moves reduced average Taxi steps from 557 to 491. |
| 001-15 | Prefer simpler explanations | Spec Pilot | GABI averaged 426 Taxi steps, close to DOORMAX’s 424 on the same starts. |
| 001-16 | Search for a better design | Spec Pilot | The selected design made fewer mistakes on unseen worlds but took more Taxi steps. |
| 001-17 | Look for matches when actions succeed | Spec Pilot | Matching symbols during successful actions reduced Taxi steps from 682 to 583 with separate coordinate labels. |
| 001-18 | Infer which reverse moves are blocked | Spec Report | GABI beat DOORMAX on 87 of 100 Taxi runs but still wrongly called some goals impossible. |
| 001-19 | Recheck beliefs that block a goal | Spec Pilot | Changing which beliefs GABI checked first made no difference in the pilot. |
| 001-20 | Recheck actions that appear to do nothing | Spec Pilot | GABI learned Taxi faster but wrongly declared two tasks impossible, so we dropped the change. |
| 001-21 | Recognize reverse moves sooner | Spec Pilot | Using two sightings instead of three cut puzzle moves without a prediction from 37 to 34. |
| 001-22 | Map how the gap moves | Spec Pilot | Filling gaps in the map cut puzzle moves without a prediction from 34 to 29. |
| 001-23 | Find where the board ends | Spec Pilot | Inferring board edges brought GABI below the 28-move benchmark in four of six runs. |
| 001-24 | Consult the map first | Spec Pilot | Consulting the map first reduced puzzle runs with a wrong prediction from three in ten to one. |
| 001-25 | Require two successful examples | Spec Report | GABI made no false “impossible” calls in 600 Taxi runs, but mispredicted puzzle moves in 12 of 100 runs. |
| 001-26 | Test on 540 unseen worlds | Spec Report | GABI learned 517 of 540 worlds, while the same agent with ten rules switched off learned 515. |
| 001-27 | Check a blocked move before trusting it | Spec Report | On 540 fresh worlds, testing suspected blocks cut false “impossible” calls from 22 to one. |
| 001-28 | Test simple rules on two boards | Spec Report | GABI reached a median of 27 puzzle moves without a prediction, with zero prediction errors in 100 runs. |
| 001-29 | Discover a rule for impossible puzzles | Spec Report | Given graph-counting and odd/even tools, GABI found an exact solvability rule in 29 of 30 standard-board runs. |
| 001-30 | Choose moves that distinguish rival rules | Spec Report | Both strategies found the exact rule in all 30 runs, and targeted moves took 2.53 more presses on average. |
| 001-31 | Try the discovery method on Lights Out | Spec Report | Under the planned computing limit, GABI failed the two-board test in all 30 runs. |
| 001-32 | Build counting rules from examples | Spec Report | From labeled examples, the search built four counting rules and answered all 10,240 unseen questions correctly. |
| 001-33 | Build the puzzle rule from counting operations | Spec Report | GABI built an exact rule in all ten runs but selected it in only four. |
| 001-34 | Discover what stays constant on a ring | Spec Report | Counting empty spaces identified all 772 impossible start–goal pairs on the ring in every run. |
| 001-35 | Test candidate rules on more boards | Spec Report | Testing 1,024 boards instead of 128 raised exact puzzle rules selected from six in ten to ten in ten. |
| 001-36 | Try to disprove the surviving rule | Spec Report | Targeted challenges caught one more false rule than random checks, but two still passed. |
| 001-37 | Change how the same puzzle is displayed | Spec Report | GABI found the exact rule in all ten standard-display runs and in zero of ten under each altered display. |