paper-with-me

홈 › Papers

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

2026-02-09 · Djohan Bonnet, Jamie Lohoff, Jan Finkbeiner, Elidona Shiqerukaj, Emre Neftci arxiv

In-Context Learning (ICL) in transformers acts as an online associative memory and is believed to underpin their high performance on complex sequence processing tasks. However, in gated linear attention models, this memory has a fixed capacity and is prone to interference, especially for long sequences. We propose Palimpsa, a self-attention model that views ICL as a continual learning problem that must address a stability-plasticity dilemma. Palimpsa uses Bayesian metaplasticity, where the plasticity of each attention state is tied to an importance state grounded by a prior distribution that captures accumulated knowledge. We demonstrate that various gated linear attention models emerge as specific architecture choices and posterior approximations, and that Mamba2 is a special case of Palimpsa where forgetting dominates. This theoretical link enables the transformation of any non-metaplastic model into a metaplastic one, significantly expanding its memory capacity. Our experiments show that Palimpsa consistently outperforms baselines on the Multi-Query Associative Recall (MQAR) benchmark and on Commonsense Reasoning tasks.

📄 PDF Abstract BibTeX arXiv:2602.09075

Code (0)

등록된 구현이 없습니다.

Tasks

Continual Learning

Similar Papers 제목 키워드 기반

Forgetting in order to Remember Better

2018-12-12

In human memory, forgetting occur rapidly after the remembering and the rate of forgetting slowed down as time went. This is so-called the Ebbinghaus forgetting curve. There are many explanations of how this curve occur …

ResRep: Lossless CNN Pruning via Decoupling Remembering and Forgetting

2020-07-07 · ICCV 2021 10 · Xiaohan Ding, Tianxiang Hao, Jianchao Tan, Ji Liu 외

We propose ResRep, a novel method for lossless channel pruning (a.k.a. filter pruning), which slims down a CNN by reducing the width (number of output channels) of convolutional layers. Inspired by the neurobiology resea…

Understanding Catastrophic Forgetting and Remembering in Continual Learning with Optimal Relevance Mapping

2021-02-22 · Prakhar Kaushik, Alex Gain, Adam Kortylewski, Alan Yuille

Catastrophic forgetting in neural networks is a significant problem for continual learning. A majority of the current methods replay previous data during training, which violates the constraints of an ideal continual lea…

Continual Learning

Remembering for the Right Reasons: Explanations Reduce Catastrophic Forgetting

2020-10-04 · ICLR 2021 1 · Sayna Ebrahimi, Suzanne Petryk, Akash Gokul, William Gan 외

The goal of continual learning (CL) is to learn a sequence of tasks without suffering from the phenomenon of catastrophic forgetting. Previous work has shown that leveraging memory in the form of a replay buffer can redu…

Continual Learning

Non-parametric Memory for Spatio-Temporal Segmentation of Construction Zones for Self-Driving

2021-01-18 · Min Bai, Shenlong Wang, Kelvin Wong, Ersin Yumer 외

In this paper, we introduce a non-parametric memory representation for spatio-temporal segmentation that captures the local space and time around an autonomous vehicle (AV). Our representation has three important propert…