Research direction III · experiments running · results updated 17 November 2026
An agent should be able to forget the context without forgetting the facts.
MnemoRoute is a research project on long-term memory for chat assistants and agents. Real conversations jump between topics — a work project, a trip, a course — and come back to old threads days later, often changing something said earlier (“actually, move the deadline to Friday”). The model can't keep the whole history in its context window forever, so facts have to be stored somewhere outside it and looked up again later. That store has to notice when a fact has changed, or the assistant will confidently answer with the old value.
The long-term design (described further down the page) gives each topic a small running memory, keeps a complete, never-edited log of every message, and builds an index of facts that records every version of each fact. But the first paper asks a more basic question. When a memory system answers with an outdated value, which of three steps went wrong?
Did it notice the fact?
Turning a message into a fact: “move the deadline to Friday” becomes deadline = Friday. This fails if the fact is missed or misread, for example if a decision is read as just an idea.
Did it find the right record?
Working out which stored record the new fact is about: this project's deadline, not another project's, and not a different date. If it picks the wrong record, the old value is never touched.
Did it change the record correctly?
Deciding what to do with the record it found: replace the old value, keep both, store the new value as a one-off exception, or ignore a repeat.
Findings so far · development data · 12–17 November 2026
Conversational memory fails before the update decision
A single accuracy score can't tell you why a memory system gave an old value. It might have missed the new fact, filed it under the wrong record, or found the right record and then failed to change it. To tell these apart, we test on conversations generated from a script. Because the script decided every event, we know the correct output of every step. We call that the answer key (papers call it “gold” labels, and a step fed from it an “oracle”). We then run the system with one step at a time replaced by its answer-key output, as if that step were perfect. However much accuracy goes up is what that step was costing.
A script decides every event
The Topic-Interleaving Set (TIS) is a test set we built. A program samples events across 2–40 interleaved topics: facts get corrected, repeated, limited to one case (“only for the final run”), suggested but not decided, or mentioned as past history. Because the program wrote them, it also records the answer key: every version of every fact, which record it belongs to, and what should happen to that record.
Written by a model from a third family
A Ministral model rewrites each scripted event as a natural chat message. It comes from a different model family from the ones that answer (Qwen, Gemma), so no answering model reads text written by its own family. Each rewritten message is then parsed back into facts to confirm it still says what the script meant.
Matched to real chat before any results
The questions share about as many words with the messages that answer them as questions in LongMemEval, a public benchmark built from realistic chats (median word overlap 0.33 vs 0.38), so they can't be solved by keyword matching alone. The generation rules were frozen before any system was tested.
1 · Corrections fail because the right record isn't found, not because of the update rules
- Where it fails depends on the kind of fact. For corrections (“it changed to X”), the problem is finding the record. Given the right record, 76% of correction decisions are right; when the system has to find the record itself, 18% are, because a correction can only replace a value it has found. Repeated facts, one-off exceptions and refinements fail earlier, at extraction: the fact is missed, wrongly read as “not decided yet”, or loses its “only for …” condition, and that mistake carries into later decisions. The update logic itself causes about 1% of wrong decisions.
- An LLM controller sorts messages into topics well; deciding whether two phrasings mean the same property is the hard part. A 9B LLM puts messages in the right topic 86% of the time, against 62% for hand-written rules. What it still gets wrong is whether, say, “set for” and “date” refer to the same property. Changing the prompt only swapped one error for the other: treating two different properties as one, or one property as two. So both error types are reported separately, because a single accuracy number hides the swap. One rule helped without causing either error: when a user says “changed from X to Y”, put Y in whichever record currently holds X.
- The update step does matter when the update rules are generic. Given the same facts and the correct record, a general-purpose approach where an LLM picks add / update / delete / do nothing (as in the Mem0 memory library [19]) gets 50% of corrections right. Rules written for each kind of change get 75%. The generic approach mostly leaves the old value marked as current (43% of the time vs 19%), and a larger 35B model does not fix that.
- Two ideas from the original proposal didn't help. Only updating a record when the system is confident tied the plain rules exactly (0.752 vs 0.752). Requiring confidence about which record to change blocked as many real corrections as wrong overwrites. Neither is claimed as a contribution (see RQ8 below).
- The same pattern on data we didn't write. STALE [16] is an outside benchmark of 400 cases where a later message quietly makes an old fact untrue. Our fact extractor was built for TIS and misses 68% of STALE's free-form statements, which is a real limitation. But in the 128 cases where it does extract both statements, giving it the right record lets simple update rules retire the old fact 73–82% of the time; when it has to find the record itself, it manages only 2–19%.
2 · Small models miss corrections nobody announces, and a short label fixes it
Here the whole (short) conversation is in the model's context, so no memory system is involved, and 640 questions ask for the current value of something that was corrected. Each correction was written one of three ways, chosen at random: explicit (“changed from A to B”), cued (“update: B”), or silent (the new value is just stated, as people usually do). Because the style is random, the three groups are comparable on average, though they are not the same corrections. Gap is accuracy on explicit corrections minus accuracy on the cued and silent ones together, with a 95% confidence interval from resampling whole conversations. The GPT-6 rows are partial: 414 questions were answered before the API credits ran out.
| Answering model | Explicit: “changed from A to B” | Cued: “update: B” | Silent: just “B” | Gap [95% CI] |
|---|---|---|---|---|
| Qwen3.5-9B | 0.93 | 0.75 | 0.62 | +0.21 [0.15, 0.26] |
| Gemma 4 12B | 0.96 | 0.90 | 0.83 | +0.07 [0.02, 0.12] |
| GPT-6 Luna (partial) | 0.97 | 0.91 | 0.79 | +0.07 [0.02, 0.13] |
| GPT-6.1 Terra (partial) | 0.98 | 0.91 | 0.90 | +0.03, not significant |
| GPT-6.1 Sol (partial) | 0.98 | 0.96 | 0.93 | +0.01, not significant |
| GPT-6 Astra (partial) | 0.98 | 0.96 | 0.94 | +0.01, not significant |
| Qwen3.5-9B + “changed from” labels from the answer key | 0.94 | 0.92 | 0.91 | −0.01 · 96% of the gap closed [81%, 112%] |
To be clear about what this shows: when the whole short conversation is in view, the top commercial models do not miss silent corrections. The problem belongs to small and mid-size models (Qwen3.5-35B has the same gap as the 9B), and it is already known in the literature. What this test adds is the random assignment of styles and the label experiment. Adding a “[changed from X to Y]” note to every message that changes a value, with the labels taken from the answer key, makes the 9B model's weakness disappear. That is a best case, though: a real system has to work out those labels itself, and they are only as good as its ability to match each new value to the old one.
3 · Better memory would pay off; our learned pipelines don't deliver it yet
Every system here gets the same answering model (Qwen3.5-9B) and may put at most 4,000 tokens of memory into its prompt. The baseline everything is compared against is B2t: hybrid search over the past messages (keyword plus embedding search), with its settings tuned on this data. The perfect-memory reference (“MR-oracle”) gets facts straight from the answer key, read out the same way, so it shows how much better memory could possibly help.
Why there is almost no gap between the search baseline and the learned pipelines: most of these first conversations are short (a median of about 1,000 tokens at 2 topics and 7,700 at 15), so they nearly fit inside the 4,000-token budget, and search ends up showing the model almost everything. Padding each conversation to 32K tokens with unrelated real chats didn't create pressure either. That is why the next round uses conversations that are genuinely longer, with 30 and 40 interleaved topics (252 development questions, about two GPU-days to generate and run). One more result: giving the model the right facts helped a lot, but laying the same facts out as a tidy timeline added nothing. That bears on the question raised in [21] of whether memory systems gain from what they retrieve or just from how they present it.
4 · MR-LB: decide late, and spell out every change
Two findings above suggested a method. Most errors happen when a new message is filed into a record the moment it arrives, before the system knows what will be asked; and small models handle explicit corrections far better than silent ones. So late binding (the “LB” in MR-LB) keeps every message and only decides which property a value belongs to at question time, when the question itself names the property. Then the answering model is shown a dated timeline in which the system writes the “changed from X to Y” labels, so the model doesn't have to work out the order of values itself. Before building it, we checked with answer-key data that both ideas had room to help, and both did: the labels close 96% of the gap, and perfect memory adds 18.5 points on the 32K-padded conversations. It took three versions:
one yes/no LLM call per candidate message
About twenty calls per question took 3–5 minutes and confused similar properties. Dropped during development.
both the topic and the property decided at question time · no gain
0.737 vs 0.742 for the untuned search baseline on the padded conversations. Topics that look alike broke it: asked for “the date”, it picked up another trip's date, the system labelled it “changed from X, latest”, and the answering model trusted the wrong label. Spelling out changes cuts both ways: a wrong label is trusted as much as a right one.
MR-LB3 · topic decided as messages arrive, property decided at question time · frozen
The LLM controller files each message under a topic as it arrives. At question time, one LLM call looks at that topic's messages and picks the ones that state the asked property. Score: 0.766, which is +3.2 points over untuned search and +1.9 over the tuned baseline B2t (not statistically significant). That recovers only about 11–17% of the distance to perfect memory, depending on which baseline you start from. The gain does not grow steadily with the number of topics.
Where is the rest of the gap? The chart below uses the same answer-key trick on MR-LB3 itself: it replaces one stage at a time with its perfect version and measures what each stage costs.
What is claimed, and what is not
TIS, a benchmark where the number of topics is controlled and every event has a known answer, with seven labelled kinds of change. A controlled breakdown of why corrections fail (extraction, finding the record, or updating it) and how that shifts as each part gets stronger, repeated on the outside STALE benchmark. A measurement of how much perfect memory would help, and of facts versus presentation. The explicit-versus-silent correction gap across model sizes. MR-LB3, reported together with the version that didn't work and its stage-by-stage breakdown.
We don't claim to be first at splitting memory into stages, generating benchmarks from a script, benchmarking updates or interleaved topics, showing that silent corrections are hard, resolving facts at question time, or using timelines. These overlap with StateMem, MoM / P-Mem and earlier work on diagnosing memory stages [17, 18, 20]. No overall win over hybrid search. No evidence that top commercial models miss silent corrections in short conversations. No benefit from confidence-based updating.
It counts as a method contribution only if, with small answering models, it beats two recent systems, the StateMem wrapper [17] and the read-time pruning in MoM / P-Mem [18], at the same token and compute cost, on the held-out test set and on STALE. Any trained part must also pass rules that stop it from just learning our own generator's quirks: chat written by a second model family, real LoCoMo messages hand-labelled with topics, and an end-to-end check on data outside TIS.
Next on the queue
A conversation is not one sequence of facts
People switch between work, research, learning, travel and personal goals, then come back to an old thread with an incomplete reference — “let's continue the QUANTA experiment”, or “what was the original learning rate?”. To answer, an agent has to identify the intended topic, recover the right history, respect corrections and timestamps, and keep everything irrelevant out of the current context. Fixed context windows are expensive, and repeated abstractive summaries can quietly drop exact values or the order in which they changed.
The opposite fix has its own failure. An append-only history preserves the evidence, but it also leaves outdated and duplicate facts in the context the model sees: “favorite color: red” and “favorite color: black” both look current, simply because both messages happened.
Three different jobs are easy to lump together as “memory”. MnemoRoute gives each its own component instead of expecting one hidden state or one summary to do all three:
Help the model keep reasoning
A compact picture of what is going on in the current topic, cheap to carry from one message to the next. A recurrent state (a fixed-size memory updated every step, as in linear-attention models) is a plausible fit, but it is lossy, so it can't be the record of what was actually said.
Stay checkable
Exact numbers, dates, names and every correction, with when it was said and which message said it. This has to survive word for word, so it lives in a store that is only ever appended to, never edited.
Decide what to find, change, fetch or shrink
Which topic and which stored record a message is about, whether a new statement should change that record, whether to look something up, and whether it is safe to summarise old context now. Each is a small multiple-choice decision, so it can be a separate, swappable component.
Architecture
A controller, two kinds of memory, a fact index, update rules, and a prompt builder
Every message is appended to the log. What else happens depends on one decision from the controller, so most messages touch only part of the system. Embedding search is not assumed to be the main way to find things: exact key lookup, scanning the current topic, keyword search, following time links and embedding search all compete as ways to find the right record. Neural Engram is optional, not part of the core proposal.
Topic routing
The system sees the new message plus a short window of recent context. To find which topics and records the message could be about, it tries the most precise signals first when they exist (a topic or entity it names, an attribute, an explicit reference, a linked task, a date); then looks within the current topic or searches by keyword; follows links between facts for questions about relationships or history; and only falls back to embedding search when the message is phrased indirectly. The controller then picks one or more topics and an action, and is allowed to say uncertain. No single search method is assumed best for every kind of message.
Recurrent working memory
Each active topic may carry a Gated DeltaNet-style state (Gated DeltaNet deep-dive · Atlas node), the fixed-size memory used in linear-attention models: a gate lets it forget old content, and the delta rule lets it overwrite one stored association without disturbing the rest. A separate state per topic could stop topics bleeding into each other, but it costs storage and bookkeeping. When a topic goes quiet, its state can be saved or rebuilt later from the log; which is better is tested, not assumed. And a fixed-size state is not a database: a number, its earlier value and the message that changed it all compete for the same limited capacity.
Episodic evidence and the fact index
Every message (an episode in the log) is stored with its original text and metadata. In the background, facts are pulled out into an index that links each fact to its topic, the message it came from, the entity and attribute it describes, its timestamp and its version. The index can be searched by exact key, within one topic, by keyword, by following time links, or by embeddings, and these are compared against each other rather than all switched on by default. A change never erases the old value: it adds a new version that points back to the one it supersedes (replaces). A question about the original value looks at older versions; a question about the current value takes the newest one that hasn't been replaced. Every result carries the message it came from and the reason it was picked.
Context reconstruction
Before the model answers, the system builds a small prompt from the topic's running state, the relevant past messages, fact records and any unfinished tasks. When an exact value matters, the original message wins over any paraphrase. If the evidence is incomplete or contradicts itself, the agent says so or looks further; it does not make up a precise answer.
Exact recall and version history
Monday 0.0003, Wednesday 0.00015, Friday: “what was the original?”
A recurrent state may keep the gist of a conversation, but nothing guarantees it keeps both exact values and the order they came in. A log that is only ever appended to keeps the original messages, and the fact index can hold both versions.
The fact record, as the proposal sketches it
| Field | Example value |
|---|---|
topic_id | experiment_042 |
subject / entity_id | quanta_run |
predicate_id | learning_rate |
value_raw · value_normalized | “0.0003” · 3e-4 |
scope | general (not a per-experiment exception) |
valid_from → valid_to | Mon 10:00 → Wed 15:20 (illustrative) |
observed_at · confidence | Mon 10:00 · extraction confidence |
source_episode_id | episode_018 |
status · supersedes_id | superseded (v2 points back here) · none |
A design sketch from the proposal's Appendix B, not a final schema. When a fact was true
(valid_from → valid_to) is stored separately from when the system heard
about it (observed_at). The exact wording (value_raw) is kept for exact
recall, and a normalised form is kept for lookups. A change happens all at once or not at all: add
the new version, mark the old one as no longer current, link the new one to the old, update the
indexes, then refresh what the model sees as “current”.
Which part keeps the exact value? The message log does. DeepSeek's Engram module (a lookup table of learned n-gram embeddings inside the model) can help with patterns learned in training, but it can't be expected to remember a new number a user mentioned once, because nothing writes that number into it. The example cuts both ways: picking the right topic can't recover a value that was never stored, and storing everything perfectly still fails if the search returns the wrong version.
Finding the right record (“addressing”) · RQ7
Find the record before you change it, without assuming embedding search is the answer
The first question is not “which stored sentence is most similar?” but “which stored record, if any, is this message about?”. A fact's identity is set by who or what it is about, which property it describes, whether it is general or limited to one case, and when it holds, not by how similar the old and new sentences sound. “My favorite color is black” is almost the same sentence as “my favorite color is red”, and the changed value is exactly why the old record has to be found.
Build a key from who it's about, which property, and whether it's general, e.g. (user, favorite_color, general), and look it up. Fast and precise when the fact was extracted correctly; brittle when a property is missed or named differently.
Pick the topic first, then read through its handful of current facts and recent messages. No need to search all of memory when it's clear which topic the message belongs to.
Classic text search over words, exact phrases, alternative names, and numbers and dates written in a standard form. Good for names, codes and literal values; weak when the same thing is said in different words.
Start from a topic or entity and follow links to its properties, the messages they came from, when each was true, and which version replaced which. Suits questions about relationships, and “current vs original” or “as of Tuesday” questions.
Pick a topic or memory file, then read a small part of it or a named entry. A natural baseline for systems where the model edits its own memory files, but editing a file still needs safeguards and a way to tell entries apart.
A fallback, and a baseline to compare against, for rephrasings, indirect hints, or when the methods above find too little. Not assumed to be the main method.
Updating a record · RQ8
Read, compare, check, then write: Gated DeltaNet's logic, applied to records
Inside the model, Gated DeltaNet looks up what its memory currently holds for a key, measures how far that is from the new value, and lets a gate decide how much to overwrite [3]. MnemoRoute borrows the idea, not the equation. A memory manager outside the model first finds the right record, then compares old and new by what kind of fact they are (the gap between two sentence embeddings doesn't tell you whether one contradicts the other). Only the “current” view is rewritten; the original message is never touched.
find
Find the record the message is about, using its topic, entity, property, scope and time. “Not sure” is an allowed answer.
read
Fetch the current value, the message it came from, when it applies, whether it is general or limited, and how confident the system was.
compare
Decide how the new statement relates to the stored one: a repeat, a correction, an extra fact that doesn't conflict, a more precise version, a one-off exception, a statement about the past, or unclear. Numbers and dates are compared directly; free text uses a classifier plus the original messages.
check
Only write if the system is confident it found the right record and read the relation right, taking into account explicit correction wording, how reliable the source is, whether scope and dates fit, and how costly a wrong overwrite would be. Low confidence means looking further or waiting, never an irreversible edit.
act
One of six operations: do nothing (or note the repeat), merge, replace with a new version, add a limited-scope version, add a separate fact, or wait / ask the user.
// the update steps as pseudo-code (an analogy, not the actual Gated DeltaNet equation) // x = the new message, M = the memory, t = the current step at = Resolve(xt, Mt) // which record is this about? ẑt = Read(Mt, at) // what does that record hold now? rt = TypedCompare(xt, ẑt) // repeat, correction, exception…? not an embedding difference gt = Gate(address conf, relation conf, source reliability, scope/time fit) actiont = Policy(rt, gt) // one of the six operations above
What's current versus what was said
The split is deliberate: the raw conversation is a record that is only ever added to, while the short “what's current” view can be edited. The system should not keep “favorite color: red” and “favorite color: black” as equally current just because both messages occurred. The fact index marks black as current, keeps red as an older version with its message and timestamp, and lets a question about the past ask for either. That keeps outdated values out of the prompt without throwing away the evidence, and without making “the newest value always wins” a blanket rule: “I also like black” adds a second preference, and “use black for this project” is an exception for one project, not a replacement.
The confidence check is inspired by the gated update but is not learned yet. Testing starts with fixed rules for each kind of change plus a classifier, and only then asks whether a learned policy actually makes better decisions. (Update, November 2026: in the first results the confidence check added nothing; see the findings above.)
Related work
“Engram” names two different ideas — the paper keeps them apart
DeepSeek-style neural Engram
A module inside the language model that looks up learned embeddings for n-grams (short word sequences), adding capacity cheaply. Its authors report gains on language modelling and long-context tests [4].
It is learned in training and is not updated with each new thing a user says. In MnemoRoute it is the optional B7 experiment, run only if we can adapt a model to use it.
RQ4 · B7 vs B6 · Stage 5Episodic Engram
An unrelated agent-memory system with the same name. It stores every message in full, links facts over time, and searches with embeddings, keywords, links, and how recent or important something is [5]. Its LongMemEval_S score is reported by its author and hasn't been independently reproduced.
MnemoRoute's message log belongs to this family, and a system like it is the strong B2 baseline the whole proposal has to beat.
RQ2 · B2 baseline · Stage 1Context LMs and SelfCompact
Context Language Models treat the context as a file the model edits [1]; SelfCompact decides when an agent should summarise its history, based on whether a subtask is finished rather than on a token count [2]. MnemoRoute is complementary: it asks whether those decisions should depend on the topic, and how a running state should work alongside a searchable log of the original messages.
LongMemEval, LoCoMo-Plus, LOCOMO-CONV
LongMemEval tests pulling out facts, reasoning across sessions, updated facts, dates, and knowing when to say “I don't know” [7]. LoCoMo-Plus tests remembering preferences and constraints when the later message doesn't mention them directly [8]. LOCOMO-CONV argues that direct quiz questions miss memory failures that show up in natural conversation [9]. So the evaluation uses both direct questions and natural returns to an old topic.
MemGPT, A-MEM, Zep / Graphiti, LightMem
MemGPT moves context between a small fast tier and a large slow one, the way an operating system pages memory [11]. A-MEM keeps small linked notes that are revised as new notes arrive [12]. Zep / Graphiti keeps a graph of facts that change over time, with where each came from and when it held [13]. LightMem separates memory work done during the chat from tidying done afterwards [14]. So editable memory, or a graph of facts over time, is not what's new in MnemoRoute.
Qwen Sparse Attention's indexer
The Qwen3.8-Next report groups attention keys into small blocks and uses a cheap indexer to choose which blocks to attend to [15]. It isn't a conversation-memory system, but it suggests the same move for memory: narrow down cheaply first, then look closely, instead of scanning or embedding every record for every message.
Controller
Eight possible actions per message, and Jev as one option, not a single point of failure
For every incoming message the controller picks one of these actions. Most messages need only one part of the system.
| Action | Trigger / evidence | System operation |
|---|---|---|
| CONTINUE | Strong match to the active topic | Update the topic's running state; add the message to the log; store any new facts. |
| CREATE | No adequate topic match | Create a new topic with a fresh running state. |
| REVISIT | Strong match to a topic that has gone quiet | Fetch its relevant past messages and reload or rebuild its state. |
| CROSS-LINK | The turn meaningfully relates to several topics | Link the topics, or split the facts and tasks between them; never force one label. |
| RETRIEVE | A question asks for an earlier detail, or the state is unsure | Search the log and fact index, and put the original messages in the prompt. |
| UPDATE / SUPERSEDE | A confident correction to a record that was found, with matching subject and scope | Change what counts as current: add a new version linked to the old one; keep both original messages. |
| COMPACT | The prompt or storage is getting large, and summarising won't lose work in progress | Summarise the running context; keep the original messages and unfinished tasks. |
| DEFER / ASK | Low confidence or conflicting evidence | Change nothing irreversible; look further or ask the user. |
Switching topics is not a reason to summarise
Moving to another topic can be one signal to save a topic's state or mark it as quiet, but on its own it shouldn't trigger a summary that can't be undone. Whether to summarise (“compact”) depends on how full the prompt is, whether a subtask is finished, whether reasoning is half-way through, how much exact facts matter, how likely the topic is to come back, and whether the original messages can still be fetched.
Jev as an experimental policy
Update, November 2026: Jev is parked and will not be used in Paper 1. A hosted commercial API is a reproducibility problem, and it would read as promotional. The controllers actually tested are hand-written rules, a prompted Qwen3.5-9B that picks from fixed options, and the commercial GPT-6.1 Sol, with small trained open models next.
Jev is presented by TypeSafe as a decision-focused model/API that returns a choice from a fixed list, a score or a yes/no probability rather than free text [6]. That fits narrow questions like “which of these topics does this message belong to?”, “is this a correction to a stored fact?” or “is it safe to summarise now?”, each asked separately rather than as one broad judgment. Its confidence scores still have to be checked against our data, and as a hosted product it brings dependency, cost, privacy, speed and reproducibility concerns. So it was to be compared against rules, embedding similarity and an open classifier on topic accuracy, how well its confidence matches reality, topics wrongly created, returns to old topics missed, and cost and latency, with versions pinned and every decision logged.
Research questions
Eight questions, eight hypotheses stated so they can lose
The programme's eight questions as proposed, each tagged with where it stands on 17 November 2026. Paper 1 regroups them into six narrower questions: extraction, finding the record, updating it, explicit versus silent corrections, how much perfect memory would help, and what happens as topics multiply.
Topic isolation
Does giving each topic its own running state stop topics bleeding into each other, compared with one shared state? H1: it improves accuracy when returning to a topic and in mixed-topic stretches, at a measurable cost in storage and bookkeeping.
Paper 2 · not started: the recurrent state comes after Paper 1Exact recall
Does keeping every message help with exact values and with what changed when? H2: answering from the original messages is much better for numbers, dates, names and correction history than a running state alone.
In progress · the versioned store is built; perfect memory adds +17.6 pts over tuned searchDecision controller
Does Jev pick topics and decide when to summarise better than simpler methods? H3: it may cut some topic errors or cost, but the advantage has to hold up in fair comparisons and its confidence scores have to be checked.
Jev on hold · an LLM topic controller (86% topic accuracy) beat rules (62%)Neural Engram
Does the in-model Engram module add anything once the message log exists? H4: any gain shows up in patterns learned in training or in model efficiency, not in remembering new personal facts.
On hold · future work (no Engram weights are public)Topic-complexity scaling
How much does each part of memory add as the number of topics grows? H5: separate topic states may help more as topics multiply, or level off, or be cancelled out by storage and routing costs. This is tested, not assumed to rise steadily.
In progress · a test of whether gains grow with topic count was fixed in advance, to run on 30/40 topics and the test set; so far gains don't rise steadilySystem trade-off
Can the whole method use fewer prompt tokens without hurting answers? H6: better accuracy for the same token budget, or fewer tokens and less latency for the same accuracy, against strong memory baselines.
Dev: MR-LB3 +1.9 pts over tuned search at ≤ 4K tokens, not significant; putting the whole history in the prompt scores 0.81 on a small trial setMemory addressing
Which way of finding the right existing record works best, and cheapest, across named properties, rephrasings, returns to old topics and date questions? H7: no single method wins everywhere; trying cheap precise methods first (key lookup, topic scan, keyword search, time links) and embeddings last may beat embedding-only or fixed hybrid search on accuracy for the cost.
Dev: finding the record is the largest cause of lost corrections (0.34 → 0.16 with stronger controllers); telling whether two phrasings mean the same property is what's leftError-driven updates
Can update rules that check confidence before writing remove duplicate and outdated facts from the prompt, without losing history or overwriting facts that were still true? H8: recognising the kind of change, plus a confidence check, means fewer duplicates and fewer wrong overwrites than keeping everything, “newest always wins”, or unchecked rules.
Dev: rules per kind of change beat a generic LLM approach (0.75 vs 0.50), but the confidence check adds nothingRQ5 · more topics
Do separate topic states matter more at 10 topics than at 2?
Comparable conversations with 2, 3, 5, 10 and, where feasible, 15 interleaved topics, varying how often the user switches, how long before a topic comes back, and how similar the topics are. In one series the conversation length is fixed, so more topics means less per topic; in the other each topic gets about the same amount, so the total grows and storage and compute costs show. Results are reported for each topic count with confidence intervals, and we test directly whether a system's advantage changes with topic count, never judging scaling from one topic count alone.
Core comparisons
B0–B10: every component has to earn its place
B0 to B10 are the systems in the proposal, from a plain fixed context window (B0) to the full design. Each pair of systems differs in one component, so a difference in score can be put down to that component.
Keeping comparisons fair
same answering model
The same model and generation settings answer for every memory system wherever possible; any unavoidable difference is reported.
matched budgets, both ways
Compare accuracy at the same token budget, and cost at the same accuracy. Log tokens retrieved, prompted and generated, wall-clock time, controller calls and bytes stored.
same questions, several seeds
Every system answers the same questions, and runs are repeated with different seeds where anything is random. Report confidence intervals and paired tests, never just one average.
exact and temporal scoring
Exact values are scored both as written and in a standard form. Date questions distinguish the original, the current, and the value as of a given date, and are checked against the original messages.
check for leaks and judge bias
Check that no test answers leak into training or tuning, that no system sees the answer key by accident, and that the grading model, truncation and prompts don't favour one system. Use official scoring scripts where possible and keep every raw answer.
results by number of topics
RQ5 results reported for each topic count and switching pattern, in both series (fixed total length, fixed length per topic), with the change across topic counts tested.
Comparing ways to find and update records (B9, B10)
Everything stays the same (message log, extracted facts, answering model, questions) except the method for finding the record: (a) exact key lookup, (b) scanning the current topic, (c) keyword search with alternative names and standardised values, (d) following links over time, (e) embedding search alone, (f) cheap methods first, then more. Token budgets are matched where possible, and small memories are included, where simply reading everything may beat keeping indexes. Questions are grouped by type:
Search is scored twice: on what it returns (Recall@k, MRR, whether it returns the right version, how often outdated facts slip in, wrong results, latency, index-building cost, bytes read, controller calls), and on the final answer. Then search is held fixed and the update approaches are compared (keep everything, “newest always wins”, a relation classifier, and rules per kind of change with a confidence check), scored against the answer key's label for how each new statement relates to the stored one.
Datasets
LongMemEval
Pulling out facts, reasoning across sessions and dates, updated facts, and saying “I don't know”. Official split and scoring script first [7].
LoCoMo · LoCoMo-Plus
Memory over long dialogues, and remembering preferences when a later message doesn't mention them directly [8, 10].
LOCOMO-CONV
Memory used naturally in conversation, not only in response to direct quiz questions [9].
Topic-interleaving set (TIS) · built
Our own benchmark, generated from a script so every step has a known right answer: topics that return after long gaps, look-alike values, corrections, one-off exceptions, references across topics, unclear statements. v1 covers 2–15 topics (372 development questions); v1L covers 30 and 40 (252). Plus a 640-question correction test and a sealed check set.
STALE · added
400 cases where a later message quietly makes an old fact untrue [16]. An outside check, on data we didn't write.
Metrics
What gets measured, and why
| Metric group | Measures | Why it matters |
|---|---|---|
| Answer quality | Accuracy or LLM-judge score; exact match for values; saying “I don't know” when it should | Saving memory mustn't cost reliable answers. |
| Exact recall | Numbers, dates and names recalled; getting original vs latest right; answers backed by the right message | Tests exactly the facts a running state may lose. |
| Topic control | F1 for putting messages in the right topic; returns to old topics caught; topics wrongly created; facts leaking between topics | Tests the controller and whether topics stay separate. |
| Retrieval | Recall@k / MRR of search results; picking the right version; citing the right message; wrong results; index and query cost | Separates finding the right record from reasoning about it, and shows what each search method costs. |
| Efficiency | Prompt tokens; total latency; controller cost; memory read/write cost | Shows real savings, and costs that were only moved elsewhere. |
| Storage | Log size; fact-index size; number and size of active and quiet topic states | A fixed-size state per topic still means storage grows with the number of topics. |
| Update quality | Duplicate current facts; corrections handled right; facts wrongly overwritten; non-conflicting facts kept; current and original values recalled; prompt tokens saved | Whether memory gets cleaner without losing what's true, its scope, its timing or its source. |
| Robustness | Ambiguous references, corrections, topic overlap, long gaps, missing evidence | The realistic failure modes. |
| Complexity scaling | Results by topic count; separate vs shared state; whether a system's advantage changes with topic count; cost per topic and in total | Whether separate topic states pay off at 10+ topics, with the storage and control costs shown. |
Failure modes
Eleven ways it could go wrong, and the safeguard for each
The running state is never the only copy of a past fact. The original messages can always be fetched when exactness matters.
Shortlist candidate topics before choosing, allow a message to belong to several, hold back unsure decisions, and measure how much perfect topic labels would help.
Unfinished tasks and the original log are kept, so any summary can be undone by fetching the original messages.
When a fact was true and when it was said are stored separately where known; replaced facts are kept and linked, not overwritten.
DeepSeek's learned n-gram module and the agent-memory project with the same name are kept apart throughout.
One controller option among several open ones; data handling, API changes, outages, cost and reproducibility all weighed.
Natural follow-ups in conversation, controlled mixed-topic scenarios, and more than one public benchmark.
Total storage and how quiet topics are handled are measured: a fixed-size state per topic still adds up as topics multiply.
A similar-sounding but wrong record gets picked. Check the subject, property and scope; keep track of why each candidate was found; allow “wait”; and report how much perfect search would help.
A real correction is missed, or an unsure statement replaces a reliable fact. Thresholds checked against data, messages never edited, scope and timing kept separate; both wrong overwrites and outdated “current” facts are counted.
Embedding search ranks a similar but outdated fact first. Embedding similarity is used only to suggest candidates, never to decide an update or what's true.
Staged plan
Harness and baselines first, the full architecture last
Each stage has a condition that must be met before moving on. As of 17 November 2026, Stages 0 and 1 are done on development data, Stage 2 is running, and everything from Stage 3 on waits for Paper 1.
Evaluation harness and simple baselines
Build the mixed-topic dataset, labelling rules, scoring and logging before any memory component; implement the fixed-window and summary baselines; check that every metric reacts sensibly to deliberately broken systems.
to move on: baselines reproduce · metrics pass sanity checks · data splits and main metrics frozenBuilt: TIS v1 (2–15 topics) matched to real chat and frozen, 30/40-topic conversations generated, the B0 / B1 / B2 / tuned B2t / whole-history baselines, Codex running the experiments, and a draft of the analysis plan registered in advance.
Episodic evidence store
The message log, where each fact came from, exact versions of facts, links over time, and answers tied to sources. Key lookup, topic scan, keyword, time-link and embedding search, all swappable behind one interface.
to move on: exact-value and date questions scored end to end · search scored on its own · answers checked against the original messagesA versioned fact store with four rule-based ways to find records (key, topic scan, keyword, embedding) and a cheap-first combination of them (MR1). Perfect memory from the answer key shows +17.6 pts of room to improve.
Topic controller and update policy
Compare controllers (rules, embeddings, an open classifier, Jev); label how each new statement relates to the stored one (repeat, correction, refinement, extra fact, one-off exception, past statement, unclear); compare update approaches (keep everything, newest wins, classifier, confidence-checked rules).
to move on: topic and search accuracy, a confusion matrix of update decisions, confidence calibration, wrong-overwrite rate and controller cost on validation dataRules, a 9B LLM controller (MR2) and a top commercial controller compared. Jev was dropped for reproducibility. Five update approaches were tested, including a generic Mem0-style one. MR-LB, which decides the property at question time, is frozen; trained models for topic filing and property matching are next.
The running state, and an early perfect-labels test
A Gated DeltaNet-style running state: one shared state versus one per topic, as the number of topics rises. A run with perfect topic labels from the answer key comes early, to separate what the design can do from the controller's mistakes.
to move on: how much the running state adds over search alone, by topic count, and how much is lost to topic mistakesAdaptive compaction
Decide when to summarise using how full the prompt is, whether tasks are done, uncertainty, the chance a topic returns, and the risk of losing exact facts; unfinished tasks and original messages are kept.
to move on: smaller prompts with no rise in exact-recall errors or dropped workNeural Engram ablation
Only if we can adapt a model to use it; kept separate from the message log and compared under the same settings.
to move on: a measured benefit, or a written-up negative result with its compute costFinal study
All benchmarks, all topic counts, several seeds, error analysis, cost and storage checks, and checks that others can reproduce the results.
to finish: a claim that holds across benchmarks, topic counts and two answering modelsWhat would make the paper convincing
A running memory per topic, a complete log of the original messages, and explicit rules for finding and updating records may reduce mix-ups between topics and shrink the prompt, while still recalling exact facts over the long term. This only counts if controlled comparisons of search and update methods show gains over strong baselines.
- The full method beats strong search over past messages, or matches it with clearly fewer tokens, not just a fixed context window.
- Experiments that remove one part at a time measure the value of separate topics, the running state, the controller, summarising and the optional Engram.
- Finding the right record and deciding what to write are scored separately, and runs with perfect records or perfect topics (from the answer key) separate what the design can do from the controller's mistakes.
- Exact facts and corrections are checked against the original messages, not judged from generated summaries.
- Evaluation covers both direct questions and natural conversation, and can be reproduced from logged prompts, settings and per-question results.
- Negative results are reported alongside gains. If the running state doesn't help, the simpler topics-plus-message-log system is still a useful finding, just a different paper.
Jev and Engram stay out of the title on purpose: they are replaceable parts. The research is about sorting memory by topic, and about making a compressed running state work together with an exact log of what was actually said.
Limitations and open questions
MnemoRoute may add complexity with no benefit over strong search over past messages. Key lookup fails when a fact was extracted wrongly or an entity was misidentified; link graphs cost something to build and maintain; keyword search misses rephrasings; embedding search can return outdated but similar facts; and a learned controller can add latency or quietly overwrite information. Topic labels can be a matter of opinion, messages that mix topics are hard to file, and outside decision APIs make running and reproducing the system depend on someone else. The right mix of key lookup, topic scans, keyword search, time links, embedding search and running state is an open question, as is how to manage the running states over time, and one state per topic means storage grows with every topic. An update check inspired by Gated DeltaNet may not beat simple rules (so far it hasn't). Exact recall depends on every step working: storing, finding, versioning, searching and reading.
The decisive experiments come in order. First, compare ways of finding and updating records on a fixed message log: current versus past values, repeats, rephrasings, changes of scope and unclear statements. Next, a strong search-based memory against the same system plus a Gated DeltaNet-style running state per topic, as the number of topics grows. If the more complex search or update method doesn't beat the simpler one on accuracy for the cost, the simpler result stands and the paper claims less.
How it relates to the other directions. Direction I asks whether a recurrent state can replace attention inside a model; QUANTA uses Gated DeltaNet-2 as a mixer in a ternary-weight lesion study. MnemoRoute uses the same kind of state one level up, as an agent's working memory across messages, and pairs it with the complete record that a fixed-size state can't keep. No hypotheses or results are shared between the three.
References and resources
- Shao, R. et al. (2026). Context Language Models. arXiv:2609.37725, preprint. arxiv.org/abs/2609.37725
- Li, T. et al. (2026). Self-Compacting Language Model Agents. arXiv:2606.23525, preprint. arxiv.org/abs/2606.23525
- Yang, S., Kautz, J. & Hatamizadeh, A. (2025). Gated Delta Networks: Improving Mamba2 with Delta Rule. ICLR 2025. arxiv.org/abs/2412.06464
- Cheng, X. et al. (2026). Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models. arxiv.org/abs/2601.07372
- Wang, L. (2026). Less Context, More Accuracy: A Bi-Temporal Memory Engine for LLM Agents Where a Lean Retrieved Context Beats the Full History. arXiv:2606.09900; results are author claims. arxiv.org/abs/2606.09900
- TypeSafe AI. Jev / System One decision API documentation. Product documentation, accessed 12 October 2026; not a peer-reviewed paper. jevtypesafeai.com/jev/api
- Wu, D. et al. (2025). LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory. ICLR 2025. arxiv.org/abs/2410.10813
- Li, Y. et al. (2026). LoCoMo-Plus: Beyond-Factual Cognitive Memory Evaluation Framework for LLM Agents. ACL 2026. aclanthology.org/2026.acl-long.1150
- Chang, W.-Y. & Chen, Y.-N. (2026). When Users Don't Ask: Benchmarking Context-Driven Memory Retrieval in Conversational Agents. arxiv.org/abs/2609.03467
- Maharana, A. et al. (2024). Evaluating Very Long-Term Conversational Memory of LLM Agents (LoCoMo). ACL 2024. github.com/snap-research/locomo
- Packer, C. et al. (2023). MemGPT: Towards LLMs as Operating Systems. arXiv:2310.08560. arxiv.org/abs/2310.08560
- Xu, W. et al. (2025). A-MEM: Agentic Memory for LLM Agents. NeurIPS 2025; arXiv:2502.12110. arxiv.org/abs/2502.12110
- Rasmussen, P. et al. (2025). Zep: A Temporal Knowledge Graph Architecture for Agent Memory. arXiv:2501.13956. arxiv.org/abs/2501.13956
- Fang, J. et al. (2025). LightMem: Lightweight and Efficient Memory-Augmented Generation. arXiv:2510.18866. arxiv.org/abs/2510.18866
- Qiu, Z. et al. (2026). On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability. arXiv:2608.30320. arxiv.org/abs/2608.30320
- Chao et al. (2026). STALE. arXiv:2605.06527; data on Hugging Face (CC BY 4.0). arxiv.org/abs/2605.06527
- Fan et al. (2026). Can Agent Memory Systems Track Evolving State? (StateMemBench and the StateMem wrapper). arXiv:2608.19652. arxiv.org/abs/2608.19652
- Qin, B. & Lu, Y. (2026). MoM: Memory of Memory (system P-Mem). arXiv:2609.25054. arxiv.org/abs/2609.25054
- Chhikara, P. et al. (2025). Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory. arXiv:2504.19413. arxiv.org/abs/2504.19413
- Yuan et al. (2026). Diagnosing Retrieval vs. Utilization Bottlenecks in LLM Agent Memory. ICLR 2026 Workshop on Memory for Agents; arXiv:2603.02473. arxiv.org/abs/2603.02473
- Jiang et al. (2026). Presentation, Not Mechanism. arXiv:2607.16019. arxiv.org/abs/2607.16019