Fast Weight Attention for Continual Learning

Yifan Zhang, Steve Ta, Jasper Zhang, Jichen Feng, Shuzhen Li, Yongxin Zhang, Yifeng Liu, Huizhuo Yuan, Mengdi Wang, Quanquan Gu, Andrew Chi-Chih Yao

arXiv:2608.27763 · 2026-08-31 공개 · arXiv · PDF

continual-learning state-space-models recurrent-models falcon-1 falcon-2 falcon-3 length-extrapolation variable-digit-addition

Abstract

Recurrent fast-weight memories and selective state-space models compress an expanding context into a fixed-size recurrent state, making the state transition an online learning rule. We study this rule under read-after-write autoregressive semantics. For the prefix-prediction objective considered here, the local fast-memory example revealed at step $t$ is the prefix-aligned pair $(\mathbf{x}_t,\mathbf{y}_t)=(\phi(\mathbf{k}_{t-1}),\mathbf{v}_t)$. The common same-step association $(\phi(\mathbf{k}_t),\mathbf{v}_t)$ remains causal, but optimizes a different internal objective. We derive normalized first-order updates for squared-error regression and negative inner-product objectives. The regression family comprises Falcon-1 (a scalar NLMS update), Falcon-2 (its per-column extension), and Falcon-3 (a sliding-window mini-batch update); Falcon-1A/Falcon-2A/Falcon-3A are the corresponding inner-product variants. We provide recurrent, masked-parallel, and chunk-parallel forms, together with numerically stable positive-decay renormalization. Representative variants remain competitive in language modeling and improve length extrapolation on variable-digit addition. This framework separates temporal alignment, plasticity, forgetting, and bounded rehearsal in recurrent sequence models.

한국어 요약

한 줄 요약

Fast Weight Attention을 활용한 연속 학습 방법론을 제안하고, 언어 모델링 및 수치 연산에서 성능을 검증한다.

핵심 기여도

핵심 아이디어

기존의 순환 신경망은 고정 크기의 상태를 유지하면서 새로운 정보를 학습해야 하는 한계가 있다. 본 연구는 Fast Weight Attention을 통해 이 문제를 해결한다. 핵심 아이디어는 각 시간 단계 $t$에서 $(\mathbf{x}_t,\mathbf{y}_t)=(\phi(\mathbf{k}_{t-1}),\mathbf{v}_t)$ 형태의 예측-업데이트 쌍을 사용하는 것이다. 이는 전통적인 순차적 연관과는 다른 내부 목적을 최적화하며, 시간에 따른 정렬을 유지하면서도 학습의 유연성을 확보한다. 특히, Falcon-3A는 슬라이딩 윈도우 기반의 미니배치 업데이트를 통해 긴 시퀀스 처리를 개선한다.

기술적 접근법

주요 결과

의의 및 한계

실용적 활용

이 연구는 언어 모델링, 긴 시퀀스 예측, 실시간 데이터 처리 등에서 활용 가능하며, 특히 긴 입력을 다루는 산업 분야(예: 음성 인식, 금융 시계열 분석)에 유용할 수 있다.