Four-stage diagram: a question, the embedder returning ten candidates with a value-swapped near-duplicate first, a listwise rerank prompt to qwen3:0.6b, and the measured outcome per arm. Labels carry only values measured in this article.

Listwise Reranking on a 0.6B Local Model: 1 Top-1 Gain out of 8 Queries, and 4 Answers That Would Not Parse

A vector store returns ten candidates. The sentence that answers the question is in there, at position three, behind a near-duplicate that states the same fact with the wrong number. Nothing errors. The agent answers confidently from the wrong value. The standard fix in every guide is a cross-encoder reranker, which on a CPU-only box is a model you do not have. But a chat model is already loaded and resident. So the practical question is narrow enough to measure: if the top ten candidates go to a 0.6B local model with the instruction to return them best-first, does the correct answer reach position one, does the model reorder by relevance or by where the candidate sits in the prompt, and what does one query cost on a box that generates in the low teens of tokens per second? ...

November 21, 2026 · 14 min · baeseokjae
Bar chart of six memory-write arms measured on eight authored turns: answerability@1, acknowledgement rows as a fraction of stored rows, and characters in a five-row top-5 prompt (365 for raw turns, 230 for qwen3:0.6b with the JSON-array prompt).

Agent Memory Fact Extraction on a 0.6B Local Model: What It Drops, What It Stores as Noise, and What Raw Turns Cost Instead (2026)

Week two of a local agent memory store is where the design questions actually arrive. The store was built the obvious way: every conversation turn goes through the embedding endpoint, one vector per turn, top-k comes back. Then two things happen at once, and neither raises an error. The first is that retrieved rows are chat fragments. In the authored 8-turn fixture behind this article, four of the eight stored turns were acknowledgements — “Noted. I will run black and isort with the black profile rather than reformatting by hand”, “Got it. Deploy window is Tuesday 02:00-04:00 UTC”, “Running the tests now.”, “Sounds good.” Those rows are short, they are dense in the vocabulary of the question being asked, and they rank. A retriever asked about the deploy window returns the sentence that says the window exists without saying what it is. ...

November 21, 2026 · 15 min · baeseokjae