arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.16531cs.LGcs.AIcs.CL
收藏

一种无碰撞的热点扩展用于Engram式条件记忆:对训练动态的受控研究

A Collision-Free Hot-Tier Extension for Engram-Style Conditional Memory: A Controlled Study of Training Dynamics

Tao Lin

AI总结:

本文研究了Engram式条件记忆中高频键碰撞对训练动态的影响,发现无碰撞设计并未始终提升性能,碰撞可能提供有益正则化,而门控信用分配是关键限制因素。

摘要:

我们研究高频键碰撞是否是Engram式条件记忆的主要瓶颈。为了隔离碰撞的影响,我们引入了Engram-Nine,一种无碰撞的热点扩展,通过最小完美哈希函数(MPHF)映射最频繁的n-grams,同时保留原始多头哈希查找作为冷层。在严格等参数设置下,无碰撞设计并未始终改善验证损失。通过路由分层评估(将每token损失分解为热点/冷层贡献),我们发现训练过程中存在一致的"热点到冷层优势翻转":热点(高频)位置最初具有较低的损失,但冷位置最终超越它们。关键的是,无碰撞配置比碰撞倾向的基线翻转得更早,表明碰撞起到隐含正则化作用。我们还识别出一个门控不匹配:门在训练早期学会偏爱热点位置,但这种偏好持续存在,即使在翻转后,仍赋予更高权重给损失更高的位置。我们的发现表明,仅提高查找精度并不保证更好的训练结果。主导的限制可能在于门控信用分配,而非索引精度,碰撞引起的噪声可能提供有益的正则化,不应简单地消除。

英文摘要:

We investigate whether high-frequency key collisions are a primary bottleneck in Engram-style conditional memory. To isolate the effect of collisions, we introduce Engram-Nine, a collision-free hot-tier extension that maps the most frequent n-grams through a Minimal Perfect Hash Function (MPHF) while retaining the original multi-head hashed lookup as a cold tier. Under a strictly iso-parameter setup, the collision-free design does not consistently improve validation loss. Through route-stratified evaluation (decomposing per-token loss into hot/cold contributions), we uncover a consistent "hot-to-cold advantage flip" during training: hot (high-frequency) positions initially have lower loss, but cold positions eventually surpass them. Crucially, collision-free configurations flip earlier than collision-prone baselines, suggesting that collisions act as implicit regularization. We also identify a gating mismatch: the gate learns to favor hot positions early in training, but this preference persists even after the flip, assigning higher weights to positions with higher loss. Our findings suggest that improving lookup precision alone does not guarantee better training outcomes. The dominant limitation may lie in gating credit assignment rather than index accuracy, and collision-induced noise may provide beneficial regularization that should not be naively eliminated.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑