知识图谱中零样本组合推理的全息记忆:失败位置与原因的机制研究
Holographic Memory for Zero-Shot Compositional Reasoning in Knowledge Graphs: A Mechanistic Study of Where and Why It Fails
AI总结:
研究全息简化表示(HRR)在知识图谱零样本组合查询中的表现,发现即使单跳检索准确,组合仍失败,瓶颈在于叠加记忆的检索容量和干扰效应。
摘要:
知识图谱嵌入(KGE)模型能很好地预测单跳链接,但缺乏处理零样本组合查询的机制:即训练中从未出现的关系链的多跳问题。全息简化表示(HRR)通过循环卷积绑定和解绑符号,理论上具有吸引力,因为绑定近似可逆且可结合。我们测试了这一承诺是否成立。我们研究了两种全息记忆变体,实值HRR和仅相位傅里叶HRR(FHRR),每种都带有现代Hopfield清理,在FB15k-237上进行了五次种子实验。有以下四个发现。第一,两者都是具有竞争力的单跳检索器(HRR的过滤MRR为0.358±0.002,FHRR为0.350±0.021)。第二,两者都不能进行零样本组合:在所有清理温度下,准确率保持随机水平。第三,主要贡献是,我们从机制上定位了失败。一个跳-1探针显示,记忆以高保真度恢复正确的中间实体(HRR的MRR为0.896±0.002),但即使中间实体验证正确,组合仍然失败。第二个探针揭示了原因:将真实第二跳事实作为独立原子查询提出,完全绕过组合,其平均原子准确率仅为0.26到0.48倍,且在不同关系扇出上均匀。瓶颈不在于绑定-解绑代数或清理,而在于组合链所经过的事实本身对于叠加记忆来说更难检索,这是一种在单跳时已经存在的容量和干扰效应。第四,我们证明(引理4.1)FHRR的softmax清理不是相位等变的,在跳-1本身出错的少数链上加剧了主要失败。修复零样本组合需要提高叠加下的检索容量,而不仅仅是重新设计清理。
英文摘要:
Knowledge graph embedding (KGE) models predict single-hop links well but have no mechanism for zero-shot compositional queries: multi-hop questions whose relation chains never appeared during training. Holographic Reduced Representations (HRR), which bind and unbind symbols via circular convolution, are a theoretically attractive candidate, since binding is approximately invertible and associative. We test whether this promise holds. We study two holographic memory variants, real-valued HRR and phase-only Fourier HRR (FHRR), each with a modern Hopfield cleanup, on FB15k-237 over five seeds. Four findings follow. First, both are competitive single-hop retrievers (filtered MRR 0.358 +/- 0.002 for HRR, 0.350 +/- 0.021 for FHRR). Second, neither composes zero-shot: accuracy stays at chance across all cleanup temperatures. Third, the main contribution, we localise the failure mechanistically. A hop-1 probe shows the memory recovers the correct intermediate entity with high fidelity (MRR 0.896 +/- 0.002 for HRR), yet composition still fails even with a verified-correct intermediate. A second probe shows why: posing the ground-truth second-hop fact as a standalone atomic query, bypassing composition entirely, already recovers it at only 0.26 to 0.48x average atomic accuracy, uniformly across relation fan-out. The bottleneck is not the bind-unbind algebra or the cleanup; it is that facts compositional chains pass through are intrinsically harder for the superposed memory to retrieve, a capacity and interference effect present already at a single hop. Fourth, we prove (Lemma 4.1) that FHRR's softmax cleanup is not phase-equivariant, compounding the primary failure on the minority of chains where hop-1 itself errs. Fixing zero-shot composition requires improving retrieval capacity under superposition, not just redesigning the cleanup.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。