Souvenance GitHub

Small models, measured

What open models of 3 to 9 billion parameters do when they write a personal memory on a 16 GB laptop: alone, then inside a system whose code checks every claim. Each figure links to its source; none has been reproduced outside the lab.

Measured October to November 2026 · synthetic or private data · limits under each table

Alone: small models invent

Five real consolidation nights from the author’s own data (23 deposits), replayed with the production instructions. Reference: the 42 memories the production model wrote on those nights. A judge (Claude Sonnet) classified each memory as faithful, approximate or invented.

ModelMemoriesInventedReference recovered
Production model (reference)420%—
Qwen 3.5 4B268%56%
Qwen 3.5 9B195%33%
Ministral 3, 3B1520%47%
Gemma 4 E2B70%67% (three small nights only)

Limits: five nights and a private corpus, so a signal, not a result; one judge, from the same family as the reference. A first version of this table gave the production model 18% inventions; it was an export error, corrected and documented. Source.

Inside the system: the code holds, the answers do not

The same 4B model, Qwen 3.5 4B in 4-bit on a 16 GB Mac, now writing through the engine, whose code refuses any memory without a verified excerpt. First on the two-week development sample of the SOURCED benchmark:

Before the robustness fixAfter
Nights consolidated, out of 14814
Deposits left pending180
Questions answered correctly0.430.68 to 0.70
Wall time69 min43 to 59 min

The fix: tolerant parsing of the model’s output, a stricter re-ask, and splitting a failing batch down to one deposit, so a night is never lost. Limits: a development sample tuned on, a lexical scorer, one run per column. Source.

Then on a sealed synthetic life (seed 4, wordings written blind and never read), against the large model in the same system:

Qwen 3.5 4B, laptop (2 runs)Claude Sonnet 5.5 (3 runs)
Memories rated invented0.000.03
Memories pinned on the wrong person0.140.11
Facts recalled0.560.70
Questions answered correctly0.590.83
Invented answers0.150.00
Run time111 min12 min

Reading: what the code owns (invention, attribution) is close for both models; what the model owns (finding and stating the answer) is not. Limits: one sealed life from the lab’s own generator; invention, recall and attribution rest on an earlier version of the model judge, which is not validated; questions are scored in code; two and three runs. Source.

Small readers instead of rules

Deciding who a sentence is about (“Ivo’s aunt lives in…”) was first done with hand-written grammar rules. On the development data they were written on, they cut attribution errors from 37% to 3%. On sealed data they had never seen, the errors stayed at 26 to 27%. Two small open models replaced them, both on CPU: GLiNER2 (Apache-2.0) reads the people, roles and relation of a sentence, and mDeBERTa-v3 XNLI (MIT) checks whether an excerpt entails a paraphrase, never used for a number. Code only crosses their readings.

Same sealed life (seed 4), Claude Sonnet 5.5 writingHand-written rulesSmall readers
Memories pinned on the wrong person0.27 (one run)0.11 (mean of three)
Facts recalled0.710.70
Questions answered correctly0.830.83

Limits: one seed; the readers were never tuned on it, which is the point, but a second sealed life would make the gain firmer. Source, code.

Finding the proof again, on a laptop

Retrieval measured alone, with no model and no judge: on the LoCoMo conversations, does a search bring back the dialogue turns that carry the answer? Conversations 2 to 10 were never used for tuning (1,385 questions).

SearchEvidence in top 5Evidence in top 10Time per query
Vector only (before)0.580.677 ms
Hybrid, with the period the question names0.640.729 ms
+ reranker mMiniLMv2 (0.5 GB)0.670.73~0.2 s
+ reranker bge-reranker-v2-m3 (2.1 GB)0.750.80~3.9 s

CPU only, 16 GB Mac; the larger reranker adds about 1.6 GB of RAM. Limits: raw dialogue turns, not consolidated memories; English only; retrieval, not a system answering questions (LoCoMo has never been run end to end here); the reranker is off by default. Full table with confidence intervals, protocol.

What to take from it

Questions

Can a small local model write a reliable memory on its own?

Not in the lab's pilot: on five nights of private data, three 3–9B models wrote 5 to 20% of their memories with content a judge rated invented, and the larger production model none of 42. Inside a system that refuses any memory whose quoted excerpt is not in the source, a 4B model wrote almost no invented memory on a sealed synthetic life, but answered fewer questions (0.59 against 0.83).

What hardware was used?

A MacBook with an M-series chip and 16 GB of memory. The 4B model ran in 4-bit through MLX, peaking at 8.7 GB; the small readers and the rerankers ran on CPU. These are the author's machine and settings, an example rather than a requirement.

Nicolas Noguera · Souvenance · published 2026-11-24 · how we write