arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.20737cs.AIcs.LG
收藏

重复共享访问实现Grokking,但编辑传播依赖于细粒度可寻址内存

Repeated Shared Access Enables Grokking, but Edit Propagation Depends on an Addressable Memory

Kuaishou(快手)

Yanan Niu

AI总结:

本研究在合成知识图谱问答中比较四种架构,发现重复共享访问是学习OOD组合的关键,但编辑传播仅在具有细粒度可寻址内存的架构中有效。

摘要:

我们在一个受控的合成知识图谱问答环境中研究事实编辑传播,比较了四种结合循环递归与共享内存访问的架构:密集(Dense)、循环(Loop)、带共享内存的密集(Dense+Mem)和带共享内存的循环(LMC)。Dense能够拟合分布内的2跳组合,但在分布外(OOD)上失败;循环重计算和内存重读都跨越了OOD grokking障碍,表明重复共享访问——而非特定架构——是学习的共同要素。然而,编辑沿着不同维度区分了这些基质。在共享的编辑前正确的ID集上,单行事实编辑在两个带内存的单元中强烈传播(LMC 0.78-0.92,Dense+Mem 0.71-0.96),而在其他单元中仅微弱传播(Loop 0.04-0.30,Dense 0.00-0.03);这种分离在统计上是清晰的(内存与非内存单元之间Mann-Whitney p=0.008,两个内存单元之间p=0.55,尽管n=5 vs n=5不足以排除中等差距)。在LMC中,原子事实定位到组合重读的 dominant 内存位点,并且在LMC自身的编辑前正确探针上的一行值编辑实现了100%的直接成功,平均预期传播为0.989,同时移动无关事实的概率约为0.1%(跨基质的匹配特异性待定)。一个粗略的保持答案子空间(HOLDANS)互换诊断与这一排序一致,表明区分这些基质的关键在于编辑事实注入的时间以及之后用于重用的计算量。这些结果将学习能力与编辑能力分离:重复共享访问足以实现grokking,但编辑传播取决于基质是否提供前向计算可以写入并稍后重读的细粒度可寻址内存——循环递归仅部分提供这种能力。

英文摘要:

We study factual edit propagation in a controlled synthetic knowledge-graph QA setting using a 2x2 grid that crosses loop recurrence with shared-memory access: a dense transformer (Dense), a looped transformer (Loop), a dense backbone with shared memory (Dense+Mem), and a looped backbone with shared memory (loop-memory coupling, LMC). The two factors dissociate. For learning, both routes to repeated shared access -- looped recomputation and repeated memory rereading -- cross the out-of-distribution (OOD) grokking barrier that Dense fails, so repeated shared access is the behavioral regularity, not a specific architecture. For editing, the substrates split along a different axis: applying a single localized factual edit (conditioned on direct success) and measuring 2-hop propagation on a shared pre-edit-correct set, the edit propagates strongly in both memory-bearing cells (LMC 0.78-0.92, Dense+Mem 0.71-0.96) and only weakly in the memory-free ones (Loop 0.04-0.30, Dense 0.00-0.03). The split is along the memory axis, not the loop axis: every memory-bearing seed exceeds every memory-free seed, with no detectable difference between the two memory cells. Crucially Dense+Mem has no recurrence, so the propagating ingredient is an addressable site that an edit can write to and later computation rereads, not loop recomputation; Loop is at best a partial intermediate. The affordance survives coarsening the store (N=128 to N=13): propagation attenuates but the memory/no-memory split persists, so fine granularity buys precision rather than the affordance itself. These results dissociate learning competence from editing affordance -- repeated shared access suffices to grok, but edit propagation depends on whether the substrate exposes an addressable memory that the forward computation can write to and later reread, an affordance that loop recurrence provides only partially.

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

↑