How Poucet remembers
Poucet is a 30M-parameter language model with a memory of pebbles: short, exact pieces of what it read. By day it lays pebbles and reads them back through a pointer. Each read is metered: how much did this pebble help? By night, the pebbles that earned their keep were meant to be folded into the weights, as a habit. This page walks through each step.
Numbers marked toy are chosen for illustration and are not measurements. Numbers marked real are copied from the project's documents, with a link. The formulas are those of docs/SPEC.md §2.3 and of the paper's Figure 3.
1. The day: a sentence becomes a pebble
The day cuts text into events at newlines and sentence ends. Each event is read; an event that surprises the model more than a running percentile is kept as a pebble. Here you choose the fact to keep.
2. Reading through the pointer, and who earns credit
A question arrives: "What colour is the flag of Tavomir?" At the answer token green, the model mixes its own closed-book guess (weight α0, the sentinel) with copying tokens from the pebbles it reads (weights αi). The weights come from one softmax, so they sum to 1; the sliders below are renormalised. toy
Leave-one-out: remove pebble i from the softmax, renormalise the others (their scores stay fixed), and read again. Relief ui = log(po / po−i), in nats. Credit counts only when |u| > ε = 0.2082 nats, the clean-null threshold of prereg/gates.rederived-47.yaml real.
| Removed | po−i(green) | Relief (nats) | Verdict |
|---|
3. The ledger, event by event
Each pebble keeps a ledger: E, the signed sum of relief earned (nats); r, its distinct returns; h, its harms. Relief above ε adds to E, and counts as a return only if the event is not a near copy of the pebble. Relief below −ε subtracts from E and counts as a harm. A pebble with h − r ≥ 2 is erased (or retired, if it had earned). Step through a short scripted day. toy
| Pebble | E | r | h | Status |
|---|
4. The night: what gets folded, and at what scale
At night, chosen pebbles are distilled into the weights: the open-book model (pebble forced open) teaches the closed-book one, on pool views of each pebble (template renderings of its fact), not on the pebble's stored text. The arms of the pilot differ only in how they choose. Here the night folds M = 3 pebbles of eight. toy
| Pebble | E | r | h | recur | Eligible | Dose |
|---|
The commit: a line search over the scale
The candidate change is committed at the largest scale a ∈ {1, ½, ¼} that passes the canon check (canon exact match within 3 points of its value before the night) and lowers the held-out need of the folded pebbles; if none passes, the night is rejected. The night itself runs on a GPU whose kernels are not bitwise deterministic, so the measured canon change can move a little from run to run. toy
| Scale a | Canon change (points) | Check (≥ −3) | Committed |
|---|
This is what docs/PILOT.md reports for pilot v2 against v3: the same night 1 of arm A kept a = 1 in one run and ½ in the other. The line search is a threshold, so a tiny numeric difference can tip it to another scale, and from there to another lineage. Its most plausible cause is GPU nondeterminism; it was not verified by rerunning a night.
5. What was found real
- Reading works. Gate G0 passes: open-book exact match on held-out question frames is 84.4% with a store of 2,048 pebbles (bound ≥ 70%).
- Folding at night fails as pre-registered. Gate G1: one night folds facts (up to 84.0% closed-book exact match on 256 new facts), but each of the 24 configurations loses 8.5 to 70.5 points of canon (bound 3).
- Canon erodes over nights. One night at a = ½ with canon replay holds (55.1% closed-book exact match for −1.5 points of canon, the best of 7 exploratory configurations, picked on its own readings; 54.3–60.9% on fresh facts, 2 seeds); over five nights canon falls from 97.0% to 90.5% (−6.5 points), and every arm of the issue #42 pilot spends 4.5 to 15.0 points by night 8.
- Pilot v3 is not separated. At a canon cost of 6 points, earned relief (A) against recurrence (B′): +4.1 [+1.5, +8.5] and −0.8 [−2.6, +6.2] points of closed-book exact match on the two seeds.
- A hint only. At 6 points, A-u (earned selection, uniform dose) is ahead of B′ (+3.9 and +5.8) and of random C (+5.6 and +7.0); every other pair is not separated. Two seeds, one base, and on seed 0 A-u had 4 of its 8 nights rejected. The reruns of pilot v2's arms did not reproduce: the night is not bitwise reproducible on the GPU (suspected, not verified).
Read more: the final report docs/REPORT.md, the pilots docs/PILOT.md, the paper (PDF), DOI 10.5281/zenodo.24843308.