Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Sets for Regularising Neural Link Predictors

Pasquale Minervini, Thomas Demeester|arXiv (Cornell University)|Jul 24, 2017
Adversarial Robustness in Machine LearningComputer Science1 references21 citations
TL;DR

This paper proposes Adversarial Set Regularisation (ASR), a method that improves neural link predictors by enforcing logical constraints—such as transitivity—through adversarial training on sets of entities. The approach formulates a minimax game where an adversary generates inconsistent triples violating background knowledge (e.g., function-free Horn clauses), and the link predictor minimises both prediction loss and inconsistency loss on these adversarial sets, leading to significant gains in link prediction performance, especially under data-scarce conditions.

ABSTRACT

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.

Motivation & Objective

  • To address the lack of global consistency in neural link predictors, which often fail to respect relational invariants like transitivity.
  • To develop a scalable, differentiable method for incorporating logical background knowledge into end-to-end neural link prediction models.
  • To enable regularisation using function-free First-Order Logic (FOL) clauses without dependence on domain size or iterative search.
  • To improve model generalization, particularly in low-data regimes, by leveraging adversarial sets that expose structural inconsistencies.

Proposed method

  • The method defines an inconsistency loss based on FOL clauses (e.g., r(x1,x2) ∧ r(x2,x3) ⇒ r(x1,x3)) to measure violations of relational constraints.
  • An adversary generates adversarial entity embeddings that maximise the inconsistency loss, simulating the worst-case violations of logical rules.
  • The link predictor is trained via a joint minimisation of supervised loss and the inconsistency loss on the adversarial inputs, forming a minimax optimisation problem.
  • For efficient training, the paper derives closed-form solutions for the adversary’s optimisation problem in models like DistMult and ComplEx, avoiding iterative search.
  • The framework is general and compatible with any neural link predictor that uses differentiable scoring functions.
  • The approach is implemented as a zero-sum game: the adversary seeks to maximise inconsistency, while the predictor learns to minimise it.

Experimental results

Research questions

  • RQ1Can logical constraints be effectively enforced on neural link predictors through adversarial training on sets of entities?
  • RQ2Does incorporating function-free Horn clauses as background knowledge improve link prediction performance, especially when training data is limited?
  • RQ3Can the adversarial set generation process be made efficient and scalable, independent of domain size?
  • RQ4How does ASR compare to existing rule-based regularisation methods like KALE and KALE-Joint in terms of performance and robustness?
  • RQ5Can closed-form solutions for the adversary’s optimisation problem be derived for common link prediction models, and do they yield comparable results to iterative methods?

Key findings

  • ASR - ComplEx achieved an MRR of 0.698 and Hits@10 of 75.7% on Freebase, outperforming both unregularised ComplEx (0.641, 71.9%) and KALE variants.
  • On the FB122 test set, which includes facts aligned with logical rules, ASR - ComplEx improved MRR from 0.887 to 0.984, demonstrating strong gains in rule-aligned settings.
  • For DistMult, ASR improved MRR from 0.628 to 0.675 and Hits@10 from 72.9% to 75.2%, showing consistent gains across metrics.
  • Closed-form solutions for the adversary’s optimisation (cASR) achieved performance comparable to iterative methods, while reducing training time by a factor of five.
  • In low-data regimes (20–50% of training triples), ASR yielded marginal but consistent improvements on WN18, indicating its value when data is scarce.
  • The method significantly outperformed KALE and TransE, particularly in settings where logical consistency is critical, confirming the effectiveness of adversarial set regularisation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.