arXiv:cs.LG· Matthew Dowling, Hyungju Jeon, Cristina Savin, Il Memming Park·· 3 小时前
Memory by Design:概率序列层如何统一线性注意力、GLA 与 Mamba-2
Memory by Design: Probabilistic Sequence Layers
AI 导读
研究者提出 design-model 框架,从显式记忆假设推导高效循环序列映射,其线性-高斯实例 Bayesian Layer 同时传播均值与协方差,追踪存储关联的不确定性。
正文
Abstract:We introduce the \emph{design-model framework}: a way to derive efficient recurrent sequence maps from explicit assumptions about memory. A design model writes evidence into memory by exact Bayesian filtering; a query- dependent readout produces a predictive distribution whose mean is the layer output. In our linear-Gaussian instantiation, the \emph{Bayesian Layer} propagates both a mean and a covariance: the covariance tracks uncertainty over stored associations, steering writes toward uncertain directions, attenuating gains as evidence accumulates, and preserving confident memories. The same framework unifies several sub-quadratic recurrences: linear attention, GLA, and Mamba-2/SSD are exact filters under a latent-input design model, whereas DeltaNet and related Delta-rule models are covariance-reset reductions of the Bayesian Layer's design model. Restoring covariance propagation yields closed-form predictions for retrieval dynamics, which we verify empirically, and improves robustness beyond the training regime in controlled collision studies, learned associative recall, and the Zoology MQAR benchmark. Training from scratch on WikiText-103 under matched state budgets lowers perplexity on associative-recall hits. Distilling Bayesian Layers into a pretrained 340M Gated DeltaNet improves RULER long-context retrieval over a matched-compute control, at a 2.5--2.7\% held-out perplexity cost.
| Comments: | Preprint, in submission |
| Subjects: | Machine Learning (stat.ML); Machine Learning (cs.LG) |
| Cite as: | arXiv:2605.31163 [stat.ML] |
| (or arXiv:2605.31163v4 [stat.ML] for this version) | |
| https://doi.org/10.48550/arXiv.2605.31163 arXiv-issued DOI via DataCite |
Submission history
From: Hyungju Jeon [view email]
[v1]
Fri, 29 May 2026 11:13:00 UTC (1,067 KB)
[v2]
Sun, 9 Aug 2026 14:33:02 UTC (1,120 KB)
[v3]
Tue, 18 Aug 2026 13:09:55 UTC (865 KB)
[v4]
Wed, 7 Oct 2026 18:09:27 UTC (745 KB)
来源:arXiv:cs.LG · arxiv.org