Lab notebook · AKD1500

An AKD1500 learned Mario World 1-1 from its own deaths at 60 Hz, kept its original clear, and finished 3 of 4 unseen start delays

2026-11-30 · AKD1500on-chip learningretention

Limits first: a search on our CPU model of the chip chose every lesson and the slot it went in, the 60 Hz pacing holds within each episode (lessons are sent between episodes), and this is one level and one start seed, with the start delay as the only change. Within that, the chip stored eight lessons on the chip, each in its own free slot, the 90 original screens never changed, the clean start still cleared, and 3 of 4 start delays never used in the design reached the flag after the lessons, against 0 of 4 before.

The previous Mario entry cleared World 1-1 from 90 stored screens with no learning, from one standard start. Starting a few frames late broke it: Mario died at the same two goombas, at x=1818 of 3,161. Here the chip keeps those 90 screens locked and learns from the deaths, one stored screen per lesson.

Numbers

StartBefore lessonsAfter lessons
Clean startflag, 1,078 ticksflag, 1,078 ticks
7 frames latedied at x=18183 lessons: stalled at x=2179 (2,400-tick cap); 1 lesson: died at x=2475; 2 lessons: died at x=2761; 1 lesson: flag, 1,313 ticks
17 frames latedied at x=18181 lesson: flag, 1,313 ticks
31 frames latenot run on the chipflag, 1,313 ticks, with no lesson of its own
Held out: 3, 11, 23 and 41 frames late0 of 4 flags (all died at x=1818)3 of 4 flags (11, 23, 41); 3 frames late still dies at x=1818

What the host did and what the chip did

The host runs the emulator and turns each decision frame into 1,024 bits from a coarse view of the whole screen and a close-up of the ground ahead. The chip scores those bits against everything it has stored and returns 256 scores. The host takes the move from the best matches and applies it. Between episodes the host sends each lesson: one screen and the move that would have saved Mario, aimed at the next free slot for that move. The lessons were chosen in advance by a search on our CPU model of the chip, which looked for the decision that would have avoided each death and checked by replay that the clean start still cleared. The chip computes every score and makes every memory change.

Limits

  • The host chose every lesson and its slot. The chip did not decide what to learn or when.
  • Real time within each episode only. Resets, lessons and frame saves happen between episodes, and the timing is measured by the host's own clock, with no external witness. The first run of this design waited for each decision, because the encoder then took about 22 ms per frame; an exact faster encoder (same codes bit for bit) made 60 Hz possible, and the 60 Hz run reproduced every score and memory change.
  • One level, one start seed, start delays only.
  • The encoder and teacher were developed on the clean start and the 7, 17 and 31 frame delays. The four held-out delays were set aside, never used to design anything, and run once, after the design was frozen. Transfer is 3 of 4, as preregistered; the 3 frame delay is a miss.
  • 2 of the 8 lessons sit on screens the clean run also shows. The clean clear after the lessons is shown by the run, not guaranteed by construction.
  • Each pass is defined as the chip reproducing the exact CPU forecast. A pass shows the chip doing what the learning rule predicts, not a skill beyond it.
  • One card. No speed or energy claim.
  • Correction, 2026-11-30: an earlier version of this entry said the encoder also used how the ground moved over the last 4 frames. That input was computed against a reused frame buffer, so it was zero on every decision and carried no motion. The design, the forecast and the chip run all used it that way, so every number above stands.

Check it yourself