[论文解读] Adversarial Sets for Regularising Neural Link Predictors
本文提出对抗性集合正则化(Adversarial Set Regularisation, ASR),通过在实体集合上进行对抗性训练,强制实施逻辑约束(如传递性)以改进神经链接预测器。该方法将最小最大博弈形式化:对手生成违反背景知识(例如无函数的Horn子句)的不一致三元组,链接预测器则在这些对抗性集合上同时最小化预测损失与不一致损失,从而在数据稀缺条件下显著提升链接预测性能。
In adversarial training, a set of models learn together by pursuing competing goals, usually defined on single data instances. However, in relational learning and other non-i.i.d domains, goals can also be defined over sets of instances. For example, a link predictor for the is-a relation needs to be consistent with the transitivity property: if is-a(x_1, x_2) and is-a(x_2, x_3) hold, is-a(x_1, x_3) needs to hold as well. Here we use such assumptions for deriving an inconsistency loss, measuring the degree to which the model violates the assumptions on an adversarially-generated set of examples. The training objective is defined as a minimax problem, where an adversary finds the most offending adversarial examples by maximising the inconsistency loss, and the model is trained by jointly minimising a supervised loss and the inconsistency loss on the adversarial examples. This yields the first method that can use function-free Horn clauses (as in Datalog) to regularise any neural link predictor, with complexity independent of the domain size. We show that for several link prediction models, the optimisation problem faced by the adversary has efficient closed-form solutions. Experiments on link prediction benchmarks indicate that given suitable prior knowledge, our method can significantly improve neural link predictors on all relevant metrics.
研究动机与目标
- 为解决神经链接预测器缺乏全局一致性的问题,这些模型通常无法遵守传递性等关系不变量。
- 开发一种可扩展的、可微分的方法,将逻辑背景知识整合到端到端神经链接预测模型中。
- 在不依赖领域大小或迭代搜索的前提下,使用无函数的一阶逻辑(FOL)子句实现正则化。
- 通过利用暴露结构不一致性的对抗性集合,提升模型泛化能力,特别是在低数据场景下。
提出的方法
- 该方法基于一阶逻辑子句(例如,r(x1,x2) ∧ r(x2,x3) ⇒ r(x1,x3))定义不一致损失,用于度量关系约束的违反程度。
- 对手生成最大化不一致损失的对抗性实体嵌入,以模拟逻辑规则的最坏情况违反。
- 链接预测器通过联合最小化监督损失与对抗输入上的不一致损失进行训练,形成最小最大优化问题。
- 为实现高效训练,本文为DistMult和ComplEx等模型推导出对手优化问题的闭式解,避免了迭代搜索。
- 该框架具有通用性,可兼容任何使用可微分打分函数的神经链接预测器。
- 该方法被实现为零和博弈:对手旨在最大化不一致,而预测器则学习最小化该不一致。
实验结果
研究问题
- RQ1能否通过在实体集合上进行对抗性训练,有效强制神经链接预测器遵守逻辑约束?
- RQ2将无函数Horn子句作为背景知识引入是否能提升链接预测性能,特别是在训练数据有限的情况下?
- RQ3对抗性集合生成过程能否实现高效且可扩展,且独立于领域大小?
- RQ4与现有基于规则的正则化方法(如KALE和KALE-Joint)相比,ASR在性能和鲁棒性方面表现如何?
- RQ5能否为常见链接预测模型推导出对手优化问题的闭式解?其性能是否与迭代方法相当?
主要发现
- ASR - ComplEx在Freebase上达到MRR 0.698和Hits@10 75.7%,优于未正则化的ComplEx(0.641,71.9%)和KALE变体。
- 在包含与逻辑规则对齐事实的FB122测试集上,ASR - ComplEx将MRR从0.887提升至0.984,表明在规则对齐设置下表现强劲。
- 对于DistMult,ASR将MRR从0.628提升至0.675,Hits@10从72.9%提升至75.2%,在各项指标上均实现一致提升。
- 对手优化问题的闭式解(cASR)性能与迭代方法相当,同时将训练时间减少五倍。
- 在低数据场景(训练三元组的20–50%)下,ASR在WN18上实现了微小但稳定的性能提升,表明其在数据稀缺时仍具价值。
- 该方法显著优于KALE和TransE,尤其在强调逻辑一致性的场景中,证实了对抗性集合正则化的有效性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。