Small model lab

Can a tiny model keep track of where it is?

To plan, you have to remember where you are, what you're holding and which doors are open. A plain 3.6M-parameter GPT has nowhere to keep that, so it works it out again from the whole plan at every word. What if it got 8 small memory slots that update as it reads?

The slots helped, most of all when the input got messy. Strip every period out of the problem and the plain model solved 0% of long plans. With slots updated at every word it solved 72%, or 64% with no teaching at all. Bookkeeping mistakes fell from 289 to 61–80.

Be the planner

This is one of the 100 test problems the models were scored on. Write a plan one sentence at a time and the world checks each sentence, just as it checked the models. The state table shows what the taught slots were trained to hold.

The problem

Your plan

    Four planners, five seeds each

    Each dot is one training seed (8,000 steps) planning the same 50 short and 50 long problems in each of the 4 skins it trained on. A plan counts only if it reaches the goal when run in the world. The messy tests remove every period from the problem, which never happened in training. The line shows the mean.

    Where the plans broke

    Failures across all seeds on the clean tests. Bookkeeping failures are the ones a state table should prevent: going where you already are, taking something that isn't there, opening a door that isn't closed, saying something false.

    Do the taught slots still hold the state?

    Teaching fades out between 50% and 80% of training. Afterwards, a readout checks the slots against the true state on gold plans. Farm and space are skins the model saw only as loose sentences, never as plans.

    The slots kept the state in the skins the model planned in, even after teaching stopped. In farm and space they read the place and the goal item at about chance. The table is tied to the words it learned on, not to the shape of the problem.

    One problem, four models

    The recorded plans from seed 0 on one long test problem (Long 1 in the bench above), re-checked here sentence by sentence. All four solve it clean. With the periods gone, all four fail at the first sentence: the plain model writes nonsense, and the slot models make a real but wrong choice. This one problem beat every model. Across all the messy long problems, the every-word slots solved 64–72%.

    What it says

    Next: a save game for a borrowed model

    If trained slots hold state, can they be saved and restored? A quick check on stock Qwen3.5 0.8B said a pretrained model's own recurrent state can't do it: told "the secret word is pineapple", it recalled the word 10 of 10 times with the text in the prompt and 0 of 10 with only its saved state. Register resume plans to train slots onto a real model and find out. It's a plan; nothing has run yet.

    Runs: Kaggle, 2× T4, free, 4.2 hours, 22–23 Oct 2026. The code, raw results and write-up