Lune

NeurIPS2025Top-tier venue

Embeddings as Probabilistic Equivalence in Logic Programs

Jaron Maene, Efthymia Tsamoura

Abstract

The integration of logic programs with embedding models resulted in a class of neurosymbolic frameworks that jointly learn symbolic rules and representations for the symbols in the logic (constant or predicate). The key idea that enabled this integration was the differentiable relaxation of unification , the algorithm for variable instantiation during inference in logic programs. Unlike unification, its relaxed counterpart exploits the similarity between symbols in the embedding space to decide when two symbols are semantically equivalent. We show that this similarity between symbols violates the transitive law of equivalence, leading to undesirable side effects in learning and inference. To alleviate those side effects, we are the first to revamp the well-known possible world semantics of probabilistic logic programs into new semantics called equivalence semantics . In our semantics, a probabilistic logic program induces a probability distribution over all possible equivalence relations between symbols, instead of a probability distribution over all possible subsets of probabilistic facts. We propose a factorization of the equivalence distribution using latent random variables and characterize its expressivity. Additionally, we propose both exact and approximate techniques for reasoning in our semantics. Experiments on well-known benchmarks show that the equivalence semantics leads to neurosymbolic models with up to 42% higher results than state-of-the-art baselines.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • RNNLogic: Learning Logic Rules for Reasoning on Knowledge Graphs cites Learning Reasoning Strategies in End-to-End Differentiable Proving
  • Learning Reasoning Strategies in End-to-End Differentiable Proving cites Differentiable Reasoning on Large Knowledge Bases and Natural Language
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Imbalances in Neurosymbolic Learning: Characterization and Mitigating StrategiesEfthymia Tsamoura, Kaifu Wang, Dan RothNeurIPS 2025 · 2 citations

Builds on8

  1. RNNLogic: Learning Logic Rules for Reasoning on Knowledge GraphsMeng Qu, Jun-Kun Chen, Louis-Pascal A. C. Xhonneux, Yoshua Bengio et al.ICLR 2021 · 230 citations
  2. Learning Reasoning Strategies in End-to-End Differentiable ProvingPasquale Minervini, Sebastian Riedel, Pontus Stenetorp, Edward Grefenstette et al.ICML 2020 · 102 citations
  3. Differentiable Reasoning on Large Knowledge Bases and Natural LanguagePasquale Minervini, Matko Bosnjak, Tim Rocktäschel, Sebastian Riedel et al.AAAI 2020 · 94 citations
  4. Materializing Knowledge Bases via Trigger GraphsEfthymia Tsamoura, David Carral, Enrico Malizia, Jacopo UrbaniVLDB 2021 · 34 citations
  5. How to Turn Your Knowledge Graph Embeddings into Generative ModelsLorenzo Loconte, Nicola Di Mauro, Robert Peharz, Antonio VergariNeurIPS 2023 · 30 citations

Related papers

  1. Soft-Unification in Deep Probabilistic LogicJaron Maene, Luc De RaedtNeurIPS 2023 · 23 citations
  2. VAEL: Bridging Variational Autoencoders and Probabilistic Logic ProgrammingEleonora Misino, Giuseppe Marra, Emanuele SansoneNeurIPS 2022 · 38 citations
  3. Differentiable Neuro-Symbolic Reasoning on Large-Scale Knowledge GraphsShengyuan Chen, Yunfeng Cai, Huang Fang, Xiao Huang et al.NeurIPS 2023 · 56 citations
  4. DeepStochLog: Neural Stochastic Logic ProgrammingThomas Winters, Giuseppe Marra, Robin Manhaeve, Luc De RaedtAAAI 2022 · 76 citations
  5. Neurosymbolic Reasoning and Learning with Restricted Boltzmann MachinesSon N. Tran, Artur S. d'Avila GarcezAAAI 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines