Diogenes is a 55M-parameter byte-level language model trained from scratch jointly with a content memory and its reader: one run, no pretrained init, no tokenizer. This repo is an early checkpoint, step 267,000 of a planned 380,000-step run; the final checkpoint is planned as Counfield/Diogenes-0.2-55M.
The design point: the LM itself does not memorize facts. A small reader (858k params) maintains and reads a rolling content memory through 4 hop channels and 10 passage anchors. On held-out single-fact recall, accuracy is 100% with the reader on and 0% with it off — the facts live in the memory path, not in the weights.
The model follows the Recurrent Loop Transformer (RLT) design: the base core runs feedback-off within a bounded attention window, the recurrent path is carried by a persistent content memory and its reader, and the core's direct feedback path is reserved for a later phase of the training program.
Diogenes follows the Recurrent Loop Transformer (RLT) design. In this checkpoint the core runs feedback-off: the recurrence is instantiated through the memory path — the store is written during training and re-injected at read time, alongside the base LM's own distribution, so information older than the base's fixed window remains reachable at every scored position. The core's own recurrent feedback connection is enabled in a later phase of the program.
The bytes are the tokens. The vocabulary is the 256 raw UTF-8 byte values — no tokenizer, no BPE, no subwords. Documents are separated by the literal marker \n\n<|doc|>\n\n.
The base model holds a fixed window. The 55M base is a feedback-off transformer ("HoldCore") with banded attention and a bounded memory limit: attention cost stays linear in length, not quadratic. Per 8,192-byte row it scores the last 1,024 positions and attends over the last ~2,048 bytes; anything older is invisible to it — by design.
The content memory carries everything older. During training, every 3rd step the model also trains memory rows (4 × 8,192 bytes) that write into a rolling content store which persists inside the checkpoint. At inference the store is what gives the model reach beyond its window.
The reader is candidate-first, not token-first. The 858k-param reader (width 128) does not decode tokens itself. It collects byte candidates from the context — direct context repeats, follow-the-key chains resolved through 4 hop channels, and values held by 10 passage anchors — plus a NULL slot that means "no answer exists". Each candidate is scored against a summary of the base's hidden states, and a learned softmax gate decides, byte by byte, whether the next byte comes from the base LM's own distribution or from a candidate channel. In probes, the gate routes by task: direct lookups through the context channel, chain questions through the hop channels, absent entities through the NULL channel (the "unknown." policy).
Joint from step 0. Language rows (32 × 512 bytes) and memory rows (4 × 8,192 bytes) train together from scratch in a single run — there is no fact-memorization phase for the LM weights to fall back on.
| Base params | 55,078,145 |
| Reader params | 858,436 |
| Vocabulary | 256 (raw UTF-8 bytes) |
| Base width / heads | 1536 / 8 |
| Reader width | 128 |
| Hop channels / passage anchors | 4 / 10 |
| Document separator | `\n\n< |
| Memory rows | batch 4, every 3rd step |
| LM rows | batch 32 × length 512 |
| Row layout | 8,192 bytes, scored tail 1,024 |
| Optimizer | lr 6e-4 (base) / 1e-3 (reader), warmup 500, AMP |
| Seed | 401 |
| Trained here | 267,000 / 380,000 steps |
| benchmark | score |
|---|---|
| language modeling, bits/byte | 1.141 |
| single-fact recall, held-out | 1.00 |
| chain recall, 2 hops | 1.00 |
| chain recall, 3 hops | 0.875 |
| chain recall, 4 hops | 0.9688 |
| chain recall, 5 hops | 1.00 |
| broken-chain detection | 1.00 |
| absent-entity rejection | 1.00 |
| cross recall, forward | 1.00 |
| cross recall, backward | 0.9375 |
| cross recall, natural | 0.9688 |
| cross recall, absent | 1.00 |
| BLiMP, 67 tasks | 0.630 |
latest.pt (step 267,000) + config.json, custom mline format; not Transformers-compatible. Both files are in this repo.