arXiv

Learning to Remember, Learn, and Forget in Attention-Based Models

Title: Mastering Retention, Acquisition, and Erasure in Attention-Driven Architectures

Abstract: Transformers utilize In-Context Learning (ICL) as an online associative memory mechanism, a capability widely credited for their superior performance in handling intricate sequence processing tasks. Nevertheless, gated linear attention models suffer from inherent limitations: their memory capacity is rigid, and they are highly susceptible to interference, particularly when processing lengthy sequences. To address these issues, we introduce Palimpsa, a self-attention framework that reinterprets ICL through the lens of continual learning, specifically targeting the stability-plasticity dilemma. Palimpsa employs Bayesian metaplasticity, linking the plasticity of each attention state to an importance metric derived from a prior distribution that encodes accumulated knowledge. We demonstrate that several existing gated linear attention models can be viewed as specific architectural configurations and posterior approximations within this framework. Notably, Mamba2 emerges as a distinct case of Palimpsa characterized by dominant forgetting mechanisms. This theoretical connection allows for the conversion of any non-metaplastic model into a metaplastic one, thereby substantially increasing its memory capacity. Empirical results indicate that Palimpsa consistently surpasses baseline methods on the Multi-Query Associative Recall (MQAR) benchmark and in Commonsense Reasoning tasks.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Advantech's Tsai on Nvidia Collaboration, AI Strategy
Bloomberg

Advantech's Tsai on Nvidia Collaboration, AI Strategy

Advantech's Tsai discusses the Nvidia partnership and AI strategy.

SK Hynix to Double Wafer Capacity to Ease Memory Chip Crunch
Bloomberg

SK Hynix to Double Wafer Capacity to Ease Memory Chip Crunch

SK Hynix plans to double its wafer capacity to alleviate the ongoing global memory chip shortage. This expansion aims to...

AI Productivity Boost Is Overhyped | 3-Minute MLIV
Bloomberg

AI Productivity Boost Is Overhyped | 3-Minute MLIV

The video argues that AI’s productivity boost is overhyped, challenging the assumption that it will significantly enhanc...

Intel's Lip-Bu Tan on Agentic AI & Partner Networks
Bloomberg

Intel's Lip-Bu Tan on Agentic AI & Partner Networks

Intel’s Lip-Bu Tan discusses Agentic AI and the vital role of partner networks in driving innovation.

Haas Says Arm May Hit $15 Billion AI Chip Revenue Goal Early
Bloomberg

Haas Says Arm May Hit $15 Billion AI Chip Revenue Goal Early

Haas suggests Arm may achieve its $15 billion AI chip revenue target sooner than expected. This indicates strong market ...

Arm May Hit $15 Billion AI Chip Revenue Goal Early, CEO Says
Bloomberg

Arm May Hit $15 Billion AI Chip Revenue Goal Early, CEO Says

Arm’s CEO predicts the company could hit its $15 billion AI chip revenue target ahead of schedule. This optimistic outlo...