With and without memory

Without memory, a language model reads the whole history for every question; with memory, it only gets the matching entries.

How much does the model read for one answer?
Without memoryThe model reads the whole history for every question.
105,669.0tokens per question in the answer stepfull-context baseline
With ZenBrainThe model only gets the matching entries.
963.2tokens per question in the answer stepmeasured ZenBrain arm: a Python port, not the seven-layer system
one dot = about 100 tokens Illustration · layout invented, quantities measured

The measured ZenBrain arm reaches 91.3% of the accuracy of the full-context baseline (52.2%) with 1/109.7 of its input tokens in the answer step.

Source: ZenBrain, version 9 · arXiv:2604.23878v4 · DOI 10.5281/zenodo.23832288