A stored memory works if we keep the right few positions of the model’s cache. So far we chose them by hand. This test let the model choose them itself, on real conversational text from a memory benchmark, and checked the answers it later gave.
Seahorse stores a fact as a slice: the model’s own attention memory (keys and values, K,V) for a few positions of the sentence, put back in a later chat. With hand-picked positions (subject, value, full stop) a 3-position slice almost matched the whole sentence (the Subject-Position Test).
A real system can’t hand-pick: nobody labels which word is the answer. So this test asks: given a user turn known to hold a fact, can the model itself choose which k positions to keep? Which turn to store is still given (that is a separate, later problem).
Benchmark: LongMemEval (Wu et al., ICLR 2025), the 64 usable “single-session-user” questions. A user mentions something in passing in an ordinary chat (“I’ve been listening to audiobooks during my daily commute, which takes 45 minutes each way.”), and is later asked about it (“How long is my daily commute to work?”). The turns are natural text, 20 to 98 tokens.
The model writes 3 questions it expects the user might ask later about this turn. Keep the positions those questions attend to most.
Keep the positions the turn’s own later words attend to most (like H2O / Memory3).
The model repeats the turn; keep the positions it reads to do so. A KVzip-style selector, but averaged over heads and layers with one shared set of positions, where KVzip selects per head.
Drop each position in turn and keep the ones whose loss hurts the model’s own answers to the dreamed questions most.
k random positions (3 seeds).
The answer’s own tokens and their neighbours. Shows what knowing the answer’s position buys.
“Gap closed” puts the answer’s probability on a scale from no memory (0) to the whole stored turn (1). With 4 positions, dreamed questions close about a quarter to a third of the gap, on every model. Random closes almost nothing. The expensive leave-one-out reference does better, and the label-cheating gold does best, so better choices exist.
Why so little? Look at what gets picked. Punctuation is about 9% of the tokens in these turns, but half or more of what S-dream and S-recon keep on the Qwen models. Sentence ends attract attention (they summarise the sentence), but they don’t carry the answer. Leave-one-out, which judges positions by their effect on behaviour rather than by attention, rarely picks punctuation and finds the answer’s position far more often.
Four examples (Qwen2.5-1.5B, k = 4). The answer is underlined; blue tokens are a selector’s picks. Scores are teacher-forced log P(answer): higher is better.
Each model generated answers (1 greedy + 4 samples per question), judged by LongMemEval’s own correctness prompt with three judges (agreement 0.93–0.96). The pre-registered rule: S-dream beats random in judged correctness at k = 4, on at least 2 of 3 models. It replicates (Qwen2.5-7B and Llama-3.2-3B yes, Qwen2.5-1.5B no). At k = 8, S-dream also beats plain attention on the 7B and Llama.
Pre-registered rule (addendum 1): S-dream − random in judged correctness at k = 4, item bootstrap, lower bound > 0. Qwen2.5-1.5B +0.034 [−0.019, 0.094]; Qwen2.5-7B +0.081 [0.009, 0.162]; Llama-3.2-3B +0.116 [0.034, 0.197]. Replicates (2 of 3).
Judges: the original Qwen3.5-9B (bf16), gpt-oss and Gemma-4, LongMemEval’s single-session-user prompt verbatim (repo commit d6dc8b5); label = majority. 5,320 answers per model, all labelled by all three judges. Sampling: T 1, top-p 0.95, top-k 20, presence penalty 1.5, max 64 new tokens.
Teacher-forced, keeping just the answer’s own tokens (gold) recovers most of the whole turn: the right answer becomes nearly as likely once the model is made to say it. In free generation the same memory is used far less, and on Qwen2.5-1.5B and Llama the model mostly refuses (“I don’t have specific information about…”), as if nothing had been stored.
This is the same split the Subject-Position Test found with hand-picked facts: some positions carry the content, others carry whatever lets the model commit to using it. Teacher forcing skips the decision to answer, so it hid the problem.
Generated answers (Qwen2.5-7B, greedy):
The commute answer shows the content/licence split in miniature: the model knows a commute was mentioned and that it is “each way”, but not the 45 minutes.
Automatic selection works a little: dreamed questions beat random on 3 of 3 models teacher-forced and 2 of 3 in judged answers. The pre-registered replication rule holds.
Attention is the wrong signal on its own. It favours sentence ends; it rarely finds the answer. Behaviour-based selection (leave-one-out) does much better with the same dreamed questions.
Content is not enough. Even the answer’s own tokens are mostly not used in free generation. Teacher-forced scores overstate a slice’s usefulness.
A good automatic slice has to keep two kinds of position: the value, and whatever licenses an answer (in templated facts, the subject). Selecting for the answer’s probability alone misses the second.
Directions this suggests (not yet run):
Limits. 64 questions; which turn to store was given by the label; turns are short (≤ 98 tokens); one dreamer prompt; the hybrid models (Qwen3.5) are not yet run. The “ctx” anchor (turn and question in one message) scored below the stored turn in generation (e.g. 0.68 vs 0.87 on the 7B): with both in one message the model often answers the turn’s own request instead.