arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.02834cs.LGcs.AI
收藏

什么结构归纳偏置帮助Transformer在知识图谱上进行推理?Tabula RASA研究

What Structural Inductive Bias Helps Transformers Reason Over Knowledge Graphs? A Study with Tabula RASA

ETH Zurich(苏黎世联邦理工学院)

Jonas Petersen, Camilla Mazzoleni, Gian-Alessandro Lombardi, Federico Martelli, Riccardo Maggioni

AI总结:

通过最小化Transformer修改的消融实验,发现稀疏邻接掩码是驱动多跳推理的主要结构归纳偏置,而关系参数贡献有限。

摘要:

什么结构归纳偏置帮助Transformer在知识图谱上进行推理?通过对一个最小化Transformer修改(包含四个独立可移除组件:稀疏邻接掩码、边类型偏置、查询缩放、值门控)进行受控消融,我们隔离了哪些结构信号驱动多跳推理。我们的发现很明确:稀疏邻接掩码单独占据了相对于未掩码Transformer改进的主要份额(在3跳MetaQA上+72.5pp,在WebQSP上+45.5pp,在CWQ上+53.9pp),而学习的关系参数只增加了适度的改进,并且在缺乏结构指导时可能造成损害。一个零样本实验提供了架构独立的佐证:当边类型被排除时,基于掩码的注意力退化比关系特定权重少4.0倍。多跳KGQA的有用归纳偏置主要是拓扑的,而非关系的。

英文摘要:

What structural inductive bias helps transformers reason over knowledge graphs? Through controlled ablations of a minimal transformer modification with four independently removable components (sparse adjacency masking, edge-type biases, query scaling, value gating), we isolate which structural signals drive multi-hop reasoning. Our finding is sharp: sparse adjacency masking alone accounts for the dominant share of improvement over unmasked transformers (+72.5pp on 3-hop MetaQA, +45.5pp on WebQSP, +53.9pp on CWQ), while learned relation parameters add only modest refinement and can actively hurt without structural guidance. A zero-shot experiment provides architecturally independent corroboration: masking-based attention degrades 4.0x less than relation-specific weights when edge types are held out. The useful inductive bias for multi-hop KGQA is predominantly topological, not relational.

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

↑