[Paper Review] Probabilistic Logic Neural Networks for Reasoning
This paper proposes pLogicNet, a probabilistic logic neural network that integrates Markov Logic Networks with knowledge graph embeddings to improve knowledge graph reasoning. By alternating between embedding-based inference and logic rule weighting via variational EM, pLogicNet efficiently combines symbolic reasoning with deep learning, achieving state-of-the-art performance on multiple benchmarks with convergence in just 2–3 iterations.
Knowledge graph reasoning, which aims at predicting the missing facts through reasoning with the observed facts, is critical to many applications. Such a problem has been widely explored by traditional logic rule-based approaches and recent knowledge graph embedding methods. A principled logic rule-based approach is the Markov Logic Network (MLN), which is able to leverage domain knowledge with first-order logic and meanwhile handle their uncertainty. However, the inference of MLNs is usually very difficult due to the complicated graph structures. Different from MLNs, knowledge graph embedding methods (e.g. TransE, DistMult) learn effective entity and relation embeddings for reasoning, which are much more effective and efficient. However, they are unable to leverage domain knowledge. In this paper, we propose the probabilistic Logic Neural Network (pLogicNet), which combines the advantages of both methods. A pLogicNet defines the joint distribution of all possible triplets by using a Markov logic network with first-order logic, which can be efficiently optimized with the variational EM algorithm. In the E-step, a knowledge graph embedding model is used for inferring the missing triplets, while in the M-step, the weights of logic rules are updated based on both the observed and predicted triplets. Experiments on multiple knowledge graphs prove the effectiveness of pLogicNet over many competitive baselines.
Motivation & Objective
- To address the limitations of traditional logic rule-based methods, which struggle with inference complexity and uncertainty, and knowledge graph embedding methods, which lack interpretability and domain knowledge integration.
- To develop a unified framework that leverages first-order logic rules for symbolic knowledge and deep learning embeddings for efficient, scalable reasoning.
- To enable effective and efficient training of logic rules using embeddings as amortized inference, improving generalization and coverage of missing triplets.
- To demonstrate that combining logic rules with learned embeddings leads to superior performance on standard knowledge graph benchmark datasets.
Proposed method
- pLogicNet models the joint distribution of all triplets using a Markov Logic Network (MLN), where each logic rule is associated with a learnable weight.
- The framework employs a variational EM algorithm: in the E-step, a knowledge graph embedding model performs amortized mean-field inference to estimate hidden (missing) triplets.
- In the M-step, rule weights are updated by optimizing pseudolikelihood based on both observed and inferred triplets, enabling end-to-end training.
- The model is trained via stochastic gradient descent, allowing efficient optimization over large-scale knowledge graphs.
- Four rule patterns—composition, inverse, symmetric, and subrelation—are used to capture diverse relational patterns.
- The method dynamically improves logic rule effectiveness by using embedding predictions as supervision in iterative training.
Experimental results
Research questions
- RQ1Can combining symbolic logic rules with neural embeddings improve reasoning performance on knowledge graphs?
- RQ2How does the integration of knowledge graph embeddings enhance the inference capability of Markov Logic Networks?
- RQ3To what extent do different logic rule patterns (e.g., inverse, symmetric, composition) contribute to reasoning performance?
- RQ4How efficient is the training process of the proposed framework in terms of convergence speed and scalability?
- RQ5Can the model generalize across diverse knowledge graph datasets with varying relational structures?
Key findings
- pLogicNet achieves state-of-the-art performance on FB15k and FB15k-237, with MRR of 0.844 and 0.441, respectively, outperforming baselines on all metrics.
- On FB15k, pLogicNet with TransE achieves Hit@1 of 81.2%, a significant improvement over the base model (71.4%).
- The model converges in just 2–3 iterations, demonstrating high training efficiency.
- Logic rules discover more than 76,000 positive triplets on FB15k by the third iteration, with precision stable around 79%, showing effective supervision from embeddings.
- The use of ComplEx as the inference model yields the highest H@10 of 55.7% on WN18RR, indicating strong generalization across relation types.
- Different rule patterns have varying impact: inverse and symmetric rules are most effective on FB15k, while composition and subrelation rules dominate on FB15k-237.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.