跳到正文
arXiv (AI + Vision + Imaging)· Kaicheng Xiao, Haotian Li, Liran Dong, Guoliang Xing·· 1 天前AI 评分46

RAM-Net:以稀疏可寻址状态实现线性时间序列建模

RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State

AI 导读

arXiv 论文提出 RAM-Net,将循环状态组织为固定大小的独立槽位数组,并用 Address Decoder 把每个 key 或 query 映射为稀疏地址,只读写少量槽位,从而抑制 token 间干扰。每步状态访问量只取决于所选槽位数而非状态总大小,论文称其每步访问的状态元素比 Mamba2 少 8 倍,在细粒度长程检索上优于强循环基线,困惑度最低且常识推理表现有竞争力。

正文 · 原文

arXiv:2602.11958v3 Announce Type: replace Abstract: Linear attention offers an efficient alternative to full attention with a fixed-size recurrent state. However, this state is shared by all tokens, so information from distinct tokens becomes superposed within it and produces inter-token interference that degrades long-range fine-grained recall. To address this issue, we propose RAM-Net, which replaces dense access to a shared state with sparse address-based access. RAM-Net organizes the recurrent state as a fixed-size array of independent slots and uses an Address Decoder that maps each key or query into a sparse address, selecting a small subset of slots to write to or read from at each step. This design directs tokens with non-overlapping addresses to disjoint slots, suppressing inter-token interference, while keeping per-step state access dependent only on the number of selected slots rather than the total state size. Empirically, RAM-Net outperforms strong recurrent baselines on fine-grained long-range retrieval and achieves the lowest perplexity with competitive commonsense reasoning. It does so while accessing fewer state elements per step than all baselines, e.g., $8\times$ fewer than Mamba2.

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