[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-327455-105":59,"doc-detail-327455-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","a-hippocampus-for-linear-attention-an-exact-memory-for-what-the-recurrent-state-forgets-arxiv-260702303","A HIPPOCAMPUS FOR LINEAR ATTENTION - An Exact Memory for What the Recurrent State Forgets - arXiv 2607.02303","","Linear-attention and state-space language models summarize the prefix into a fixed recurrent state, achieving O(1) memory while introducing lossy exact recall: competing key–value facts overwrite earlier ones and needle retrieval degrades. HOLA (Hippocampal Linear Attention) adds a hippocampal complement by keeping the delta-rule state as compressive memory while storing a bounded exact KV cache. The cache updates via write magnitude and reads through decoupled RMSNorm-γ retrieval. At 340M parameters trained on 15B SlimPajama tokens, HOLA reduces Wikitext perplexity and improves LAMBADA, with stronger long-context needle recall up to 32k tokens.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/a-hippocampus-for-linear-attention-an-exact-memory-for-what-the-recurrent-state-forgets-arxiv-260702303/327455/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/a-hippocampus-for-linear-attention-an-exact-memory-for-what-the-recurrent-state-forgets-arxiv-260702303/327455.png","ImageObject",300,407,{"name":92,"@type":93},"Ivy","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-04","2026-09-21",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",17,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why do linear-attention and state-space language models lose exact memory?","Question",{"text":113,"@type":114},"They compress the whole prefix into a fixed-size recurrent state. When many key–value associations compete, new writes overwrite older facts along shared key directions, so earlier information is not retained precisely.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What is HOLA and how does it improve memory?",{"text":118,"@type":114},"HOLA adds a hippocampal complement to linear attention. It keeps the recurrent state as compressive memory and uses a bounded exact KV cache for associations that should not be forced through the state.",{"name":120,"@type":111,"acceptedAnswer":121},"How does HOLA decide which tokens to store in its exact cache?",{"text":122,"@type":114},"It uses a write-magnitude eviction score: tokens retained are those whose updates most strongly committed the correction to the state, rather than those that are merely most recent.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},327455,1790305572,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":41,"preview_page_count":14,"preview_urls":146},549758252649,"https://ap-avatar.wpscdn.com/avatar/8000253669c5317157?_k=1778319167496531819","arXiv :2607 .02303v 1 [ cs .AI] 2 Jul 2026  \nA HIPPOCAMPUS FOR LINEAR ATTENTION  \nAN EXACT MEMORY FOR WHAT THE RECURRENT STATE FORGETS  \nWanyun Cui  \nShanghai University of Finance and Economics  \nABSTRACT  \nLinear-attention and state-space language models compress the prefix into a fixedsize recurrent state, yielding O(1) memory at the cost of a lossy exact memory: when many key–value associations compete, earlier facts are overwritten and needle recall degrades. Inspired by Complementary Learning Systems, we give linear attention a hippocampal complement. HOLA (Hippocampal Linear Attention) keeps the usual delta-rule state as a compressive memory and adds a bounded exact KV cache, forming a semiparametric test-time memory: the state models linearly compressible structure, while the cache stores associations that should not be forced through that state. The cache writes without a learned eviction module, keeping tokens with large β ·∥e∥, the prediction residual actually committed to the state; a decoupled RMSNorm-γ cache read then turns these exact KV pairs into sharp retrieval rather than soft averaging. At 340M parameters trained on 15B SlimPajama tokens, HOLA lowers Wikitext perplexity from 27.32 to 22.92 (−16 . 1%), below a full-attention Transformer++ (26 .88), and improves LAMBADA perplexity from 30.95 to 30.26. It also achieves the best linear in-context retrieval and remains much more robust than GDN or a matched HOLA+recency cache on RULER needle-in-a-haystack recall out to 32k tokens (16 × its training length) .  \nppl  \n30  \n28  \n26  \n24  \n22  \n20  \n(a) Wikitext perplexity ↓  \n\n| | 27.3\u003Cbr>| 26.9\u003Cbr>|  |  |\n| --- | --- | --- | --- | --- |\n|  |  |  |  |  |\n|  |  |  | 26.2 |  |\n|  |  |  | | |\n\nDN  GLA   \nGSA GDN   \nT++  KDA HOLA   \nrecall  \nlinear baselines  full attn (T++)  HOLA (ours)  \n(b) S-NIAH-1 recall vs. context  \ncontext length (trained at 2k)  Transformer++  GDN (no cache)  HOLA+recency  HOLA  \nFigure 1: HOLA lowers perplexity and improves length-robust needle recall. (a) At 340M, HOLA reduces Wikitext perplexity from 27 .3 to 22.9 (−16 . 1%), below full-attention Transformer++(26 .9) . (b) On RULER S-NIAH-1, HOLA remains stronger than GDN and HOLA+recency as context grows to 32k tokens.  \n1 INTRODUCTION  \nThe human brain does not rely on a single memory. A hippocampus-centered system can record a specific, novel event in one shot and later recall it precisely (Tse et al., 2007), while a neocortexcentered system slowly distills generalizable structure across many experiences (Frankland & Bontempi, 2005); Complementary Learning Systems (CLS) theory (McClelland et al., 1995 ; Kumaran  \net al., 2016) argues that the two must be separate—a system built for slow, compressive generalization would suffer catastrophic interference if forced to write single facts quickly, and so cannot also serve fast, exact, one-shot memory. Efficient language models are missing exactly this complementarity.  \nLinear attention is precisely such a “neocortex”: a superb compressor, but a leaky exact memory. DeltaNet, Gated DeltaNet (GDN), and related linear-attention / state-space models (Katharopoulos et al., 2020 ; Gu & Dao, 2023 ; Yang et al., 2024a ;c) replace softmax attention’s growing key–value cache with a fixed-size recurrent state S, summarizing all history in O(1) memory and processing a sequence in sub-quadratic time. The state is updated online—the delta rule writes the residual between each new value and the state’s current prediction—making it an efficient running summary. But a fixed-size state is a lossy memory: it holds only a bounded number of distinct key→ value associations before new writes overwrite old ones along shared key directions. This shows up exactly where it hurts: multi-item associative recall (Arora et al., 2023), passkey / needle-in-a-haystack retrieval (Mohtashami & Jaggi, 2023), and copying a specific distant token verbatim (Jelassi et al., 2024) . There, full softmax attention—which keeps every to","cbCaiva0VqCHYgQM","https://ap.wps.com/l/cbCaiva0VqCHYgQM","pdf",353792,12,"English","# ABSTRACT\n# INTRODUCTION","[{\"question\":\"Why do linear-attention and state-space language models lose exact memory?\",\"answer\":\"They compress the whole prefix into a fixed-size recurrent state. When many key–value associations compete, new writes overwrite older facts along shared key directions, so earlier information is not retained precisely.\"},{\"question\":\"What is HOLA and how does it improve memory?\",\"answer\":\"HOLA adds a hippocampal complement to linear attention. It keeps the recurrent state as compressive memory and uses a bounded exact KV cache for associations that should not be forced through the state.\"},{\"question\":\"How does HOLA decide which tokens to store in its exact cache?\",\"answer\":\"It uses a write-magnitude eviction score: tokens retained are those whose updates most strongly committed the correction to the state, rather than those that are merely most recent.\"}]","A HIPPOCAMPUS FOR LINEAR ATTENTION - An Exact Memory for What the Recurrent State Forgets - arXiv 2607.02303 | PDF",1789977236,[147,151],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/97eeea5e953708fb1bba88e9a3529ef0.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/51067453c0ead057a165c5e29c966ba3.webp",982,1270]