[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-684328-105":59,"doc-detail-684328-en":122,"doc-similar-684328":154},{"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":115,"head_meta":117,"extra_data":119,"updated_unix":121},105,"en","titans-learning-to-memorize-at-test-time-neurips-2025-paper","Titans: Learning to Memorize at Test Time - NeurIPS 2025 Paper","","Over more than a decade, research has explored how recurrent models and attention can be used effectively for sequence modeling. Recurrent networks compress history into a fixed-size hidden state, while attention uses the full context window to capture direct token dependencies, but at quadratic cost that limits context length. The work introduces a neural long-term memory module to memorize historical context and enable attention over current context with long-past information. It also proposes Titans architectures and evaluates them on language modeling, common-sense reasoning, and time series tasks, showing strong results and good scaling on needle-in-haystack settings.",{"@graph":69,"@context":114},[70,84,105],{"@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/titans-learning-to-memorize-at-test-time-neurips-2025-paper/684328/",{"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/titans-learning-to-memorize-at-test-time-neurips-2025-paper/684328.png","ImageObject",300,407,{"name":92,"@type":93},"Angel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108],{"name":109,"@type":110,"acceptedAnswer":111},"What tasks are used to evaluate Titans?","Question",{"text":112,"@type":113},"The paper evaluates Titans on language modeling, common-sense reasoning, and time series tasks, and reports effectiveness compared with baselines and scaling in needle-in-haystack settings.","Answer","https://schema.org",{"og:url":83,"og:type":116,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":118,"canonical":83},"index,follow",{"doc_id":120,"site_id":62},684328,1794004489,{"code":4,"msg":5,"data":123},{"doc_id":120,"user_id":124,"nickname":92,"user_avatar":125,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":126,"file_id":127,"file_url":128,"file_type":129,"file_size":130,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":131,"language":132,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":133,"faqs":134,"seo_title":135,"seo_description":67,"update_tm":121,"read_time":136,"preview_page_count":19,"preview_urls":137},687207412472,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Titans: Learning to Memorize at Test Time  \nAli Behrouz  \nGoogle Research USA  \n[alibehrouz@google.com](alibehrouz@google.com)  \nPeilin Zhong  \nGoogle Research USA  \n[peilinz@google.com](peilinz@google.com)  \nVahab Mirrokni  \nGoogle Research USA  \n[mirrokni@google.com](mirrokni@google.com)  \nAbstract  \nOver more than a decade there has been an extensive research effort on how to effectively utilize recurrent models and attention. While recurrent models aim to compress the data into a fixed-size memory (called hidden state), attention allows attending to the entire context window, capturing the direct dependencies of all tokens. This more accurate modeling of dependencies, however, comes with a quadratic cost, limiting the model to a fixed-length context. We present a neural long-term memory module that learns to memorize historical context and helps attention to attend to the current context while utilizing long-past information. We show that this neural memory has the advantage of fast parallelizable training. From a memory perspective, we argue that attention due to its limited context but accurate dependency modeling performs as a short-term memory, while neural memory due to its ability to memorize the data, acts as a long-term, more persistent, memory.  \nBased on these two modules, we introduce a new family of architectures, called Titans, and present three variants to address how one can effectively incorporate memory into this architecture. Our experimental results on language modeling, common-sense reasoning, and time series tasks show that Titans are effective compared to baselines, while they can effectively scale to larger context window in needle-in-haystack tasks.  \n1 Introduction  \nTransformers [1], have been firmly established as state-of-the-art models in sequence modeling, mainly due to their in-context learning and ability to learn at scale [2] . The primary building blocks of Transformers–attention modules—function as associative memory blocks [3], where they learn to store key-value associations and retrieve them by computing pairwise similarity between queries (i.e., search signals) and keys (i.e., contexts) . Accordingly, by design, the output of a Transformer is exclusively conditioned on the direct dependencies of tokens in the current context window. This accurate modeling of dependencies, however, comes with quadratic time and memory complexity in terms of the context length. In complex real-world tasks (e.g., language modeling [4], video understanding [5], long-term time series forecasting [6]), the context window can become extremely large, making the applicability of Transformers challenging in these downstream tasks.  \nTo overcome the scalability issue of Transformers, recent studies aim to design different variants of linear Transformers [7–9], where softmax is replaced by a kernel function in the attention (see §A.1 for details), resulting in a significant drop in memory consumption. Despite efficiency and the ability to scale to longer context, linear Transformers do not show competitive performance compared to Transformers as the kernel trick makes the model a linear recurrent network, in which the data is compressed into a matrix-valued states [7] . This, however, brings a contradictory fact about linear recurrent (or linear Transformers) models: On one hand, we use these linear models to enhance scalability and efficiency (linear vs. quadratic complexity), whose advantages is appeared  \n39th Conference on Neural Information Processing Systems (NeurIPS 2025) .  \nfor very long context; On the other hand, a very long context cannot be properly compressed in a small vector-valued or matrix-valued states [10] .  \nFurthermore, beyond efficiency, most existing architectures–ranging from Hopfield Networks [11] to LSTMs [12] and Transformers [1]–face challenges when dealing with generalization, length extrapolation, and/or reasoning [13, 14], all of which are inseparable parts of many hard real-world","cbCailVUY6sOTXbP","https://ap.wps.com/l/cbCailVUY6sOTXbP","pdf",3486606,38,"English","# Abstract\n# 1 Introduction\n## Transformers as associative memory\n## Scalability limits and linear attention\n## Memory perspective and learning components","[{\"question\":\"What tasks are used to evaluate Titans?\",\"answer\":\"The paper evaluates Titans on language modeling, common-sense reasoning, and time series tasks, and reports effectiveness compared with baselines and scaling in needle-in-haystack settings.\"}]","Titans: Learning to Memorize at Test Time - NeurIPS 2025 Paper | PDF",96,[138,142,146,150],{"page_no":8,"url":139,"width":140,"height":141},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/0887ecbeb78cd0336ea3c09d01bb74dc.webp",983,1272,{"page_no":14,"url":143,"width":144,"height":145},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f6b851a42c0c27e5b0ae439f5d6b41b5.webp",982,1270,{"page_no":81,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/752f4dcba28fbbc303ed907443a68fff.webp",981,1269,{"page_no":19,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/0a987e59091ff9a9e465808e90acdbdc.webp",980,1268,{"list":155,"token":66},[156,163,169,175,182,188,195,202,208,215],{"doc_id":157,"doc_title":158,"file_type":129,"home_preview_img_url":159,"slug":160,"view_count":161,"category_name":40,"create_tm":162},83108,"DepthWeave-KV Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808824463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=Lfcrjh22wm4889%2Fz20tfRXGl%2FQg%3D","depthweave-kv-token-adaptive-cross-layer-residual-factorization-for-long-context-kv-cache-compression",28,1784185331,{"doc_id":164,"doc_title":165,"file_type":129,"home_preview_img_url":166,"slug":167,"view_count":46,"category_name":40,"create_tm":168},83979,"ResonatorLM Causal Resonant Field Mixing for Efficient Long-Context Language Modeling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809120892/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=6nbwMjAmKVX%2Fn9bvxaRbdwYJx8o%3D","resonatorlm-causal-resonant-field-mixing-for-efficient-long-context-language-modeling",1784191820,{"doc_id":170,"doc_title":171,"file_type":129,"home_preview_img_url":172,"slug":173,"view_count":46,"category_name":40,"create_tm":174},273436,"SEER - Long-Context Reasoning via Selective Visual-Text Compression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899937320/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=Li3%2F9UosJjB6TQzHpOYsBObts9I%3D","seer-long-context-reasoning-via-selective-visual-text-compression",1789471427,{"doc_id":176,"doc_title":177,"file_type":129,"home_preview_img_url":178,"slug":179,"view_count":180,"category_name":40,"create_tm":181},328056,"ResonatorLM - Causal Resonant Field Mixing for Efficient Long-Context Language Modeling - Abstract and Related Work","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909361157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=njuKqWkseUJCciBN3kntbUQc6mU%3D","resonatorlm-causal-resonant-field-mixing-for-efficient-long-context-language-modeling-abstract-and-related-work",12,1789978580,{"doc_id":183,"doc_title":184,"file_type":129,"home_preview_img_url":185,"slug":186,"view_count":14,"category_name":40,"create_tm":187},684322,"End-to-End Test-Time Training for Long Context","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000059215/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=GAOeFGVzYDneU9Fxt1qJOYxoWsE%3D","end-to-end-test-time-training-for-long-context",1794004474,{"doc_id":189,"doc_title":190,"file_type":129,"home_preview_img_url":191,"slug":192,"view_count":193,"category_name":40,"create_tm":194},82957,"Design-CP: Context Parallelism for Design of Protein Nanoparticles","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808809512/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=6mxNRsOp2dwSfVgE1Yxp6BuOzFU%3D","design-cp-context-parallelism-for-design-of-protein-nanoparticles",25,1784184323,{"doc_id":196,"doc_title":197,"file_type":129,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":40,"create_tm":201},82182,"Subtoken Vision Transformer for Fine-grained Recognition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808719008/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=NbOpDJTUNnmmHayrbJqjoEGhtUg%3D","subtoken-vision-transformer-for-fine-grained-recognition",24,1784178649,{"doc_id":203,"doc_title":204,"file_type":129,"home_preview_img_url":205,"slug":206,"view_count":52,"category_name":40,"create_tm":207},328135,"STAGformer - A Spatio-temporal Agent Graph Transformer for Micro Mobility Demand Forecasting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909365548/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=RkqgYA5HZKQO3zSQ27ZA04JOXok%3D","stagformer-a-spatio-temporal-agent-graph-transformer-for-micro-mobility-demand-forecasting",1789978723,{"doc_id":209,"doc_title":210,"file_type":129,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":40,"create_tm":214},327455,"A HIPPOCAMPUS FOR LINEAR ATTENTION - An Exact Memory for What the Recurrent State Forgets - arXiv 2607.02303","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909324242/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=hh2e0DUDYreT2sNMx9giUZylWRo%3D","a-hippocampus-for-linear-attention-an-exact-memory-for-what-the-recurrent-state-forgets-arxiv-260702303",18,1789977236,{"doc_id":216,"doc_title":217,"file_type":129,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},327470,"Self-Gating Attention for Efficient Time Series Forecasting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909324828/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=puWrttEyQaCsV6sSN77r35dJPLo%3D","self-gating-attention-for-efficient-time-series-forecasting",14,1789977270]