跳到正文
arXiv (AI + Vision + Imaging)· Junsoo Oh, Jihun Yun, Junhyuck Kim, Hanbaek Lyu·· 1 天前AI 评分45

Integral DeltaNet:自适应记忆整合改进线性注意力

Integral DeltaNet: Improved Linear Attention with Adaptive Memory Integration

AI 导读

Integral DeltaNet 通过维护两个互补的循环状态来缓解线性注意力的记忆碰撞问题:快速更新的 delta 状态捕捉当前键值关联,积分状态保留 delta 状态的加权历史,读出时自适应组合两者以访问不同时间尺度信息。

正文 · 原文

arXiv:2611.32063v1 Announce Type: new Abstract: Linear attention replaces softmax attention with a linear formulation, enabling linear-time computation with a fixed-size recurrent state instead of a growing key-value cache. These computational and memory advantages have attracted growing interest in linear attention for long-context language modeling. However, compressing past information into a fixed-size state causes memory collisions that hinder long-context understanding. Although DeltaNet mitigates memory collisions through delta-rule updates and Gated DeltaNet extends this approach with gating, these mechanisms may also discard information relevant to future predictions. To address this limitation, we introduce Integral DeltaNet, which maintains two complementary recurrent states: a fast-updating delta state that captures current key-value associations and an integral state that preserves a weighted history of the delta state. At readout, the model adaptively combines these states to access information across different timescales. We further derive a chunkwise parallel formulation that enables hardware-efficient training. We evaluate Integral DeltaNet using 340M and 1.3B parameter models trained from scratch on 15B and 100B FineWeb-Edu tokens, respectively. Comparisons with strong recurrent baselines show improved overall performance in language modeling, commonsense reasoning, real-world and synthetic retrieval, long-context understanding, and length extrapolation. We also compare training throughput and activation memory, as well as decoding latency and memory.

来源:arXiv (AI + Vision + Imaging) · arxiv.org