arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.15313q-bio.NCcs.AI
收藏

注意力并非记忆:无限上下文架构中的正交约束

Attention Is Not Retention: The Orthogonality Constraint in Infinite-Context Architectures

University of Cambridge(剑桥大学)

Oliver Zahn, Matt Beton, Simran Chana

AI总结:

本文提出知识对象(KOs)解决AI中语义干扰问题,通过结构化事实和哈希身份实现可靠记忆。

摘要:

生物记忆解决了一个目前AI无法解决的问题:在不破坏一般语义知识的情况下存储特定事件事实。互补学习系统理论通过两个子系统解释了这一点:一个快速的海马体系统使用稀疏、模式分离的表示来表示事件,另一个缓慢的皮层系统使用分布式表示来表示统计规律性。当前的AI系统缺乏这种分离,试图仅通过神经权重同时完成这两种功能。我们识别出正交约束:可靠的记忆需要正交的键,但语义嵌入无法正交,因为训练会将相似的概念聚类在一起。结果是语义干扰(连接到认知心理学家在人类记忆中长期观察到的现象),其中神经系统将事实写入共享的连续参数时,在几十个语义相关事实内会崩溃到近随机的准确性。通过语义密度(rho),即平均成对余弦相似度,我们显示在N=5个事实(rho>0.6)或N~20-75(中等rho)时会发生崩溃。我们跨模态验证:16,309个维基百科事实、科学测量(rho=0.96,N=10,000时准确率为0.02%)和图像嵌入(rho=0.82,N=2,000时准确率为0.05%)。这种失败是几何性的——当键共享语义重叠时,模型容量的增加无法克服干扰。我们提出知识对象(KOs):具有基于哈希的身份、受控词汇表和显式版本链的结构化事实。在维基百科事实上,KOs检索在现代Hopfield网络崩溃到近零的情况下达到45.7%;基于哈希的检索保持100%。生产系统(Claude Memory、ChatGPT Memory)存储无结构文本,导致模式漂移(40-70%的一致性)和版本模糊性。知识对象提供了使可靠双通道记忆成为可能的离散海马体组件。

英文摘要:

Biological memory solves a problem that eludes current AI: storing specific episodic facts without corrupting general semantic knowledge. Complementary Learning Systems theory explains this through two subsystems - a fast hippocampal system using sparse, pattern-separated representations for episodes, and a slow neocortical system using distributed representations for statistical regularities. Current AI systems lack this separation, attempting to serve both functions through neural weights alone. We identify the Orthogonality Constraint: reliable memory requires orthogonal keys, but semantic embeddings cannot be orthogonal because training clusters similar concepts together. The result is Semantic Interference (connecting to what cognitive psychologists have long observed in human memory), where neural systems writing facts into shared continuous parameters collapse to near-random accuracy within tens of semantically related facts. Through semantic density (rho), the mean pairwise cosine similarity, we show collapse occurs at N=5 facts (rho > 0.6) or N ~ 20-75 (moderate rho). We validate across modalities: 16,309 Wikipedia facts, scientific measurements (rho = 0.96, 0.02% accuracy at N=10,000), and image embeddings (rho = 0.82, 0.05% at N=2,000). This failure is geometric - no increase in model capacity can overcome interference when keys share semantic overlap. We propose Knowledge Objects (KOs): structured facts with hash-based identity, controlled vocabularies, and explicit version chains. On Wikipedia facts, KO retrieval achieves 45.7% where Modern Hopfield Networks collapse to near-zero; hash-based retrieval maintains 100%. Production systems (Claude Memory, ChatGPT Memory) store unstructured text, causing schema drift (40-70% consistency) and version ambiguity. Knowledge Objects provide the discrete hippocampal component that enables reliable bicameral memory.

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

↑