1 00:00:01,000 --> 00:00:09,300 [Hal Turing] Alrighty! Thanks for tuning in! Hello AI world! I am your host, Hal Turing, and my co-host is Dr. Ada Shannon. 2 00:00:09,300 --> 00:00:33,150 [Hal Turing] Today's paper is "How Linear Attention Remembers," by Kichang Lee and colleagues at KAIST, Yonsei University, and Dankook University. It's a September 2026 preprint. The question is what happens to a fact when a fixed-size recurrent state replaces the KV cache. How does the fact get written in, how does it stay there, and how does it come back out when the model needs it? 3 00:00:33,150 --> 00:00:53,425 [Dr. Ada Shannon] It matters because the KV cache is the memory bill for long context. If a model can serve a long conversation with a fixed-size state, it's a big deal for phones, edge devices, and robots. The catch is that many tokens now share and rewrite the same memory. This paper asks what that sharing does to a specific remembered fact. 4 00:00:53,425 --> 00:00:58,550 [Hal Turing] Let's start with the KV cache, since not everyone lives in that world. 5 00:00:58,550 --> 00:01:18,900 [Dr. Ada Shannon] Standard attention stores a key and a value for every past token. Memory grows with context, which limits how many concurrent requests a GPU can serve. But every entry is addressable. You can look up one token, evict it, or quantize it. Methods like H2O, StreamingLLM, KIVI, SnapKV, and PagedAttention all rely on that. 6 00:01:18,900 --> 00:01:39,150 [Dr. Ada Shannon] Linear attention folds all past tokens into one matrix per head. The paper's Equation 1 says the new state is a transformation of the old state, plus the new write. Then a query reads it by multiplying its vector against the state. The matrix is something like 256 by 256 per head in Gated DeltaNet, and it never grows. 7 00:01:39,150 --> 00:01:43,050 [Hal Turing] So the cache is replaced by one running sum. 8 00:01:43,050 --> 00:02:01,575 [Dr. Ada Shannon] Right, and that has two consequences. The state is a sum of per-position contributions, each decayed by what came after. So storing a fact and accessing it are different things. Also, the total doesn't uniquely tell you which contribution came from where. A KV cache lets you point at the entry. Here you can't. 9 00:02:01,575 --> 00:02:07,750 [Hal Turing] Two model families show up in the paper, GLA and GDN. What separates them? 10 00:02:07,750 --> 00:02:28,900 [Dr. Ada Shannon] GLA, Gated Linear Attention, multiplies the old state by a data-dependent decay, then adds the new write. GDN also gates, but it adds the delta rule. The write is a correction relative to what the state already holds for that key direction. So GDN overwrites an old binding instead of just piling on top of it. That contrast matters later for how each one degrades. 11 00:02:28,900 --> 00:02:30,650 [Hal Turing] And hybrids? 12 00:02:30,650 --> 00:02:50,425 [Dr. Ada Shannon] They interleave recurrent layers with a few full-attention layers that keep a real KV cache. One example here is a 340-million-parameter hybrid GDN where 8 of 24 layers are attention. Another is Qwen3.5-4B and 9B, with a three-to-one ratio of GDN to attention. 13 00:02:50,425 --> 00:02:55,900 [Hal Turing] What's the task? How do you test memory in a model that isn't built to be asked? 14 00:02:55,900 --> 00:03:15,925 [Dr. Ada Shannon] Associative recall. Bindings like "Alice lives in Paris" are embedded in WikiText-103 passages, followed by a query. The model picks among four candidate values by likelihood, so guessing gets 25%. The standard synthetic cousin is multi-query associative recall, introduced in the Zoology paper. 15 00:03:15,925 --> 00:03:18,500 [Hal Turing] What models do they use? 16 00:03:18,500 --> 00:03:38,925 [Dr. Ada Shannon] Three pretrained ones with no fine-tuning: a GLA at 340 million parameters, a GDN at 340 million, and a GDN at 1.3 billion. Then some extra pure and hybrid checkpoints for comparison. The method is causal intervention. Change one piece of the computation, and see whether the answer moves. 17 00:03:38,925 --> 00:03:41,550 [Hal Turing] What theory do they build on? 18 00:03:41,550 --> 00:04:14,875 [Dr. Ada Shannon] Three papers. Zoology, by Arora, Eyuboglu, Timalsina and colleagues in 2023, found that most of the quality gap between efficient models and attention is recall. Hopfield Networks is All You Need, by Ramsauer, Schäfl, Lehner and colleagues in 2020, reads softmax attention as a memory with exponential capacity. Linear attention is the classical associative memory, which cleanly separates only about d_k keys. And Repeat After Me, by Jelassi, Brandfonbrener, Kakade, and Malach in 2024, shows fixed-state models struggle to copy or retrieve over long inputs. 19 00:04:14,875 --> 00:04:20,350 [Hal Turing] So the prior work says there's a capacity problem. What does this paper add? 20 00:04:20,350 --> 00:04:42,225 [Dr. Ada Shannon] A causal account, inside pretrained models, of how it plays out for a single fact. They make four claims, and we'll test each. First, the write: a fact enters the state through a content-specific write. Second, the read: it comes back through an identifiable read path. Third, the shared state couples facts together, and recall degrades with load. Fourth, in hybrids, the attention layers' KV cache takes over the direct recall role. 21 00:04:42,225 --> 00:04:48,225 [Hal Turing] Okay, so how do you actually poke at a recurrent state and tell whether a fact lives there? 22 00:04:48,225 --> 00:05:09,725 [Dr. Ada Shannon] They build pairs of inputs. The recipient run says Alice lives in Paris. The donor run is identical except it says London. Then they copy a piece of the donor's computation into the recipient and see whether the answer moves toward London. The score is the target logit margin, the model's logit for one value minus its logit for the rival. The donor-margin shift is how far that margin moves toward the donor. 23 00:05:09,725 --> 00:05:13,351 [Hal Turing] But which piece do you copy? There are a lot of heads. 24 00:05:13,351 --> 00:05:48,201 [Dr. Ada Shannon] They screen all of them. On a development split they swap each head's pre-query state with the donor's, 96 heads in each 340M model and 192 in the 1.3B. One head stands out in each model. They freeze those as the hubs: layer 21 head 3 in GLA, layer 20 head 2 in the 340M GDN, and layer 20 head 3 in the 1.3B GDN. Confirmation runs on disjoint passages. They also use controls: random updates matched in norm, and other heads. One scope note from the paper: every single-head intervention touches only the selected head, not all of them. 25 00:05:48,201 --> 00:05:51,426 [Hal Turing] So, the write. What happens when you block it? 26 00:05:51,426 --> 00:06:13,126 [Dr. Ada Shannon] In the GLA model, blocking that one head's write when the fact appears takes recall from about 93 out of 100 to about 14. Chance is 25, so that's below guessing. The GDN models fall less, about 60 and 36 points. Then they swap in the donor's write instead of zeroing it, and the donor's answer wins 68 to 90 percent of the time. Random and control-head updates don't do that. 27 00:06:13,126 --> 00:06:19,276 [Hal Turing] So blocking hurts, and the swap changes the content. It isn't just a head that matters. 28 00:06:19,276 --> 00:06:40,651 [Dr. Ada Shannon] Right, that's the content-specific part. One wrinkle the paper reports itself: in GLA, blocking the hub alone can hurt recall more than blocking all recurrent heads together. They add a second head, B, picked for the strongest rescue under joint blocking, and the combined effect is strongly non-additive. So the authors read the hub as part of an interacting circuit, not an isolated store. That's their claim, and we'll come back to it. 29 00:06:40,651 --> 00:06:44,076 [Hal Turing] Fine, parking that. Now the read side. 30 00:06:44,076 --> 00:07:13,751 [Dr. Ada Shannon] Three interventions on the hub. Swap in the donor's state just before the query. Patch only the head's output with the donor's. Or swap the donor state but restore the clean output. The output patch reproduces the state swap. Restoring the clean output erases it. Controls stay near zero. So the state's effect passes through that head's query-time output. Write, retain, read. An appendix adds a logit-lens check where the answer becomes readable at the hub's layer, though the paper flags the usual caveats with that tool. 31 00:07:13,751 --> 00:07:16,851 [Hal Turing] And with several facts sharing the state? 32 00:07:16,851 --> 00:07:46,776 [Dr. Ada Shannon] With four facts, editing one transfers the donor answer 61 to 89 percent of the time, and breaks previously correct other facts only 0.4 to 1.4 percent of the time. But the facts aren't independent slots. Splitting fact A's state change into a part parallel to fact B's and a part orthogonal to it, the two parts push B in opposite directions. So there's coupling with partial cancellation. A separate diagnostic suppresses one fact, using oracle knowledge of which one. That is not a deletion method. 33 00:07:46,776 --> 00:07:50,426 [Hal Turing] So what breaks recall? Age, or crowding? 34 00:07:50,426 --> 00:08:11,851 [Dr. Ada Shannon] Crowding. Going from one fact to sixteen costs roughly three to four correct answers out of ten. Stretching the gap between fact and question from 128 to 1024 filler tokens costs much less. Caveat: that's only up to 1024 tokens. If a later write's key lines up with the target's key, the target margin drops by roughly a third to under half a logit. Orthogonalized writes barely matter. 35 00:08:11,851 --> 00:08:15,801 [Hal Turing] Do GLA and GDN fail the same way? 36 00:08:15,801 --> 00:08:39,451 [Dr. Ada Shannon] Not quite. Recall and editability decline together in both. Collateral damage differs: the GDN models stay under 2 percent through 32 facts, while GLA's non-target breaks pass 5 percent from low load. The authors suggest the delta rule suppresses cross-talk. That's a hypothesis, and no ablation tests it. Also, the paper's own four-fact figure shows about 1.4 percent GLA breaks, which sits oddly beside that. The text doesn't reconcile them. 37 00:08:39,451 --> 00:08:41,751 [Hal Turing] Last piece, hybrids. 38 00:08:41,751 --> 00:09:09,176 [Dr. Ada Shannon] In the pure GDN model, replacing the recurrent state recovers essentially the whole donor effect. In the near-matched hybrid, recurrent replacement recovers under 1 percent and replacing the attention layers' KV cache recovers over 99. Qwen3.5 shows the same split. The caveat is that the pure and hybrid models are separately released checkpoints, about 4 percent apart in parameters, so it's an architectural boundary, not a controlled attribution. It also only covers what directly carries the recalled identity. 39 00:09:09,176 --> 00:09:17,326 [Hal Turing] So the single hub carries the story. Before we trust that, how much does one head out of 96 actually carry? 40 00:09:17,326 --> 00:09:35,326 [Dr. Ada Shannon] That's the problem with a clean concentrated-pathway reading. The two results I flagged, hub-alone blocking and the hub-plus-B non-additivity, both point toward compensation or interaction. Swap ranking finds a head with a large effect, but that doesn't show the head is where the behavior lives. 41 00:09:35,326 --> 00:09:39,401 [Hal Turing] What does the evidence for concentration look like, then? 42 00:09:39,401 --> 00:10:13,176 [Dr. Ada Shannon] It's real, but it's about swaps. Swapping the top GLA-340M head's state recovers about 95 percent of the donor effect. On 32 held-out sources, the two 340M hubs rank first of 96 under both write and read interventions. Only about 1 to 3 percent of components pass a 0.25-logit effect at both stages. So the top is sharp. But across all components, write and read rankings correlate at only about 0.15 to 0.17. That's concentration at the top, not a global organization. 43 00:10:13,176 --> 00:10:17,176 [Hal Turing] And swap versus block answers different questions. 44 00:10:17,176 --> 00:10:59,851 [Dr. Ada Shannon] Yes. A swap asks whether this head's state is sufficient to carry the donor's answer. A knockout asks whether the model needs it. The paper reports no top-five knockout for the primary models in the text provided, so that question is open. And look at GLA-7B. The best single head recovers about 12 percent. It takes the top 16, roughly 6 percent of 256 state groups, to reach about 92. RWKV7-13B's top component recovers 53 percent, and its leading component swings from 7.5 to 54.8 percent between prompt formats. Architecture, scale, and format all vary at once, so there's no scaling law there. My verdict: concentrated is defensible for swap effects on this task. The paper itself says the hubs aren't isolated memory locations. 45 00:10:59,851 --> 00:11:07,751 [Hal Turing] Now the selection. They picked the max-effect head from 96 or 192. How inflated is that? 46 00:11:07,751 --> 00:11:47,151 [Dr. Ada Shannon] For the 340M models, the heads were fixed earlier in a 12-pair exploration with a different counterfactual construction, and the archived ranking and tie-breaking aren't fully specified. The later 16-source screen recovers the same heads, but it's the same task family, metric, and authors. The paper's own label says it isn't independent confirmation. Two things help. GDN-1.3B was a genuinely prospective selection, and confirmation uses a separate test stream. But the 16 source groups are token windows, which may not come from distinct articles. So the held-out ranking partly answers winner's curse. An independent method or task would answer it fully. 47 00:11:47,151 --> 00:11:53,501 [Hal Turing] And non-additivity has the same issue, since B was chosen for the strongest rescue. 48 00:11:53,501 --> 00:11:59,851 [Dr. Ada Shannon] Right. The interaction is measured on a selected component, and its size is only in a figure. 49 00:11:59,851 --> 00:12:03,251 [Hal Turing] How do the outside references line up? 50 00:12:03,251 --> 00:12:37,376 [Dr. Ada Shannon] Zoology measured the recall gap behaviorally. This gives a causal account, though with four-choice likelihood scoring rather than MQAR-style generation. For Hopfield capacity, the d_k story predicts trouble near 128 to 256 orthogonal keys, but degradation starts at 16 to 32 facts. That suggests non-orthogonal keys and everyone else's writes matter, though that's interpretation, not tested. Repeat After Me is consistent in spirit, with the bounded-state limit now shown in pretrained models. And the hybrid result fits the idea that attention takes over retrieval. 51 00:12:37,376 --> 00:12:39,176 [Hal Turing] What are the limits? 52 00:12:39,176 --> 00:13:02,851 [Dr. Ada Shannon] Several, and the paper states most. Controlled recall only, few checkpoints, and the pure-versus-hybrid pair is uncontrolled. Elapsed context stops at 1024 filler tokens, so distance not mattering is a short-range claim. The gating-versus-delta-rule explanation is untested. The prose pilot failed the 80 percent competence bar, so the lifecycle is untested on prose. And state-derived correction features helped GLA, did nothing for GDN, and hurt Qwen. 53 00:13:02,851 --> 00:13:06,201 [Hal Turing] So the claim shrinks to something narrower. 54 00:13:06,201 --> 00:13:08,576 [Dr. Ada Shannon] Yes: careful method, narrow scope. 55 00:13:08,576 --> 00:13:13,276 [Hal Turing] So if I'm running one of these models, what changes on Monday? 56 00:13:13,276 --> 00:13:32,126 [Dr. Ada Shannon] Mostly how you think about memory management. KV-cache tricks like eviction, quantization, paging and selective retention all rely on token addressability. You can point at one token's entry and drop it or compress it. A pure recurrent state has no such handle. Everything is already summed together. 57 00:13:32,126 --> 00:13:37,776 [Hal Turing] And the selective suppression experiment? That sounds like a way to delete one fact. 58 00:13:37,776 --> 00:13:54,551 [Dr. Ada Shannon] It isn't one. It's a diagnostic that used oracle knowledge of which fact and which head to hit. It shows the fact is causally separable in that setting. It doesn't give you a deletion method. Forgetting or editing one fact in a recurrent state has no direct analogue yet. 59 00:13:54,551 --> 00:13:59,426 [Hal Turing] What about hybrids, which is where a lot of deployed models are heading? 60 00:13:59,426 --> 00:14:20,401 [Dr. Ada Shannon] There, the tested recall was carried by the attention layers' KV state. So if you have limited engineering effort for cache management, it belongs on those few layers. The hedge is that the paper tested the direct carrier of the recalled identity at the pre-query boundary. Recurrent layers may still shape what lands in the KV cache, or the query itself. That wasn't measured. 61 00:14:20,401 --> 00:14:23,427 [Hal Turing] And for pure linear-attention models? 62 00:14:23,427 --> 00:14:44,602 [Dr. Ada Shannon] The lever looks like controlling competition among writes. In the tested regime, load and key overlap hurt more than elapsed context. The paper's own suggestions are gating, refreshing or partitioning recurrent writes, and hybrid systems that decide what stays in recurrent state and what goes to KV memory. Think streaming assistants, long-running agents, and devices with tight memory. 63 00:14:44,602 --> 00:14:47,802 [Hal Turing] Those are suggestions, not results. 64 00:14:47,802 --> 00:14:50,228 [Dr. Ada Shannon] Right. Nobody has tested them here. 65 00:14:50,228 --> 00:14:52,403 [Hal Turing] What would you want to see next? 66 00:14:52,403 --> 00:15:14,603 [Dr. Ada Shannon] Four things. Controlled retraining of pure and hybrid models, so the architecture difference isn't confounded by separate checkpoints. Prose and real long-context tasks, since the prose pilot didn't reach the competence bar. Full-model knockout studies, which would speak directly to how concentrated recall is. And a direct test of whether gating versus the delta rule explains the different failure patterns, because that's still a hypothesis. 67 00:15:14,603 --> 00:15:42,253 [Hal Turing] Let me try the summary, and you correct me. In pretrained GLA and GDN models, on controlled recall, there's a causally identifiable path: a content-specific write, retention, and a query-time read. Several facts stay separately accessible even though their internal representations are coupled. What hurts recall is load and overlapping writes, not just time passing. And when full attention is available, the direct recall role moves to the KV cache. 68 00:15:42,253 --> 00:15:56,953 [Dr. Ada Shannon] That's right. The boundary matters just as much. It's one selected head per model, one task family, and a few checkpoints, and the pure-versus-hybrid pair isn't controlled. It doesn't show recall is concentrated in a whole-model sense. 69 00:15:56,953 --> 00:16:04,553 [Hal Turing] So the careful reading is that this is a good map of one route through a shared memory, not the whole territory. 70 00:16:04,553 --> 00:16:14,453 [Dr. Ada Shannon] Yes, and the method is the part worth keeping. Separating write, retention and read gives people a way to ask these questions of other architectures. 71 00:16:14,453 --> 00:16:19,203 [Hal Turing] That's our time. Thanks for listening, everyone, and thanks, Ada. 72 00:16:19,203 --> 00:16:21,428 [Dr. Ada Shannon] Thanks, Hal. Take care, everyone.