session 3 conditional constraints for kg embeddings
play

Session 3: Conditional Constraints for KG Embeddings Michael Weyns, - PowerPoint PPT Presentation

Session 3: Conditional Constraints for KG Embeddings Michael Weyns, Pieter Bonte, Bram Steenwinckel, Filip De Turck, and Femke Ongenae IDLAB, IMEC RESEARCH GROUP AT GHENT UNIVERSITY AND ANTWERP UNIVERSITY - CONFIDENTIAL Context KG completion


  1. Session 3: Conditional Constraints for KG Embeddings Michael Weyns, Pieter Bonte, Bram Steenwinckel, Filip De Turck, and Femke Ongenae IDLAB, IMEC RESEARCH GROUP AT GHENT UNIVERSITY AND ANTWERP UNIVERSITY - CONFIDENTIAL

  2. Context KG completion → link prediction True and false facts required → negative sampling CONFIDENTIAL

  3. SOTA & objectives • Exploiting schema to improve negative sampling • Context-free constraints (RDFS domain and range axioms) • Closed-world constraints Objectives: • Conditional constraints (OWL restrictions) • Open-world constraints CONFIDENTIAL

  4. Open World Assumption (OWA) Incomplete knowledge born in? is a Fred France Country born in? is a is a Person USA CONFIDENTIAL

  5. Open World Assumption (OWA) Monotonicity born in? is a Fred France Country born in is a is a Person USA CONFIDENTIAL

  6. Open World Assumption (OWA) - limits Inconsistency - restriction on Fred (Person is born in some Country) is a Fred France Country is a is a Person USA CONFIDENTIAL

  7. Open World Assumption (OWA) - limits Inconsistency - restriction on Fred (Person is born in max 1 Country) born in is a Fred France Country born in is a is a Person USA CONFIDENTIAL

  8. Open World Assumption (OWA) - limits Negative property assertions e.g. NegativeObjectPropertyAssertion(:born_in :Fred :USA) not born in is a Fred France Country born in? is a is a Person USA CONFIDENTIAL

  9. Negative sampling - SOTA CONFIDENTIAL

  10. Negative sampling - SOTA CWA <Fred, born_in, USA> <Fred, born_in, France> <Fred, born_in, Belgium> <Fred, born_in, England> <Lucy, born_in, Scotland> ... CONFIDENTIAL

  11. Negative sampling - SOTA Perturbation (+ filtering) <Fred, born_in, USA> < Lucy , born_in, USA> <Fred, born_in, France > CONFIDENTIAL

  12. Negative sampling - SOTA Bernoulli trick per relationship r: ℎ𝑞𝑢 = 𝑏𝑤𝑕 # ℎ𝑓𝑏𝑒 𝑓𝑜𝑢𝑗𝑢𝑗𝑓𝑡 𝑢𝑏𝑗𝑚 𝑓𝑜𝑢𝑗𝑢𝑧 𝑢𝑞ℎ = 𝑏𝑤𝑕 # 𝑢𝑏𝑗𝑚 𝑓𝑜𝑢𝑗𝑢𝑗𝑓𝑡 ℎ𝑓𝑏𝑒 𝑓𝑜𝑢𝑗𝑢𝑧 𝑢𝑞ℎ perturb head with 𝑞𝑠𝑝𝑐 = (𝑢𝑞ℎ + ℎ𝑞𝑢) ℎ𝑞𝑢 perturb tail with 𝑞𝑠𝑝𝑐 = (ℎ𝑞𝑢 + 𝑢𝑞ℎ) CONFIDENTIAL

  13. RDFS axioms CONFIDENTIAL

  14. OWL axioms CONFIDENTIAL

  15. Context-free constraints - SOTA CONFIDENTIAL

  16. Conditional constraints CONFIDENTIAL

  17. Constraint-based negative sampling 1. Type inference based on axioms 2. Impose restrictive interpretation 3. Constraint-based negative sampling ≡ Axiomatic consistency checking during perturbation CONFIDENTIAL

  18. Constraints - CWA interpretation (SOTA) (𝑓 𝑗 , 𝑠 𝑙 , 𝑓 𝑘 ) 𝑗𝑡 𝒘𝒃𝒎𝒋𝒆 CONFIDENTIAL

  19. Constraints - OWA interpretation (𝑓 𝑗 , 𝑠 𝑙 , 𝑓 𝑘 ) 𝑗𝑡 𝒋𝒐𝒘𝒃𝒎𝒋𝒆 CONFIDENTIAL

  20. Evaluation - datasets TransE embedding technique AIFB: research staff, research groups, affiliations, publications train 19916 entities valid 2213 entities test 2459 entities OWL constraints 152 MUTAG: potentially carcinogenic molecules train 41999 entities valid 4667 entities test 5185 entities RDFS constraints 5087 CONFIDENTIAL

  21. Evaluation - results CONFIDENTIAL

  22. Evaluation - results CONFIDENTIAL

  23. Conclusions • AIFB (conditional constraints) • OWA interpretation • No improvements • Decrease in false negatives • CWA interpretation • Few false negatives: clear improvements • Many false negatives: fewer improvements • Best setting: no constraints, with high neg ratio • Few conditional constraints: • Many false negatives (CWA) • High computational complexity (OWA) CONFIDENTIAL

  24. Conclusions • MUTAG (context-free constraints) • OWA interpretation • Clear improvements • Decrease in false negatives • CWA interpretation • Clear improvements • No increase in false negatives • Best setting: CWA constraints, with high neg ratio • Sufficient conditional constraints: • Consistent number of false negatives (CWA) • Consistent computational complexity (OWA) CONFIDENTIAL

  25. Future work Context-free ↔ conditional constraints (same dataset comparison) • • Rejection hyperparameter • Effects on other embedding strategies CONFIDENTIAL

  26. Discussion Thank you very much for listening. Any questions? CONFIDENTIAL

  27. CONFIDENTIAL

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend