Skip to main content
QUICK REVIEW

[Paper Review] Relational Neural Machines

Giuseppe Marra, Michelangelo Diligenti|arXiv (Cornell University)|Feb 6, 2020
Bayesian Modeling and Causal InferenceComputer Science31 references12 citations
TL;DR

This paper introduces Relational Neural Machines (RNM), a neuro-symbolic framework that jointly trains deep neural networks and first-order logic reasoners to improve reasoning under uncertainty. By integrating supervised learning with differentiable logical inference, RNM achieves state-of-the-art performance on relational classification tasks, outperforming both standard neural networks and symbolic baselines on the Citeseer citation network dataset.

ABSTRACT

Deep learning has been shown to achieve impressive results in several tasks where a large amount of training data is available. However, deep learning solely focuses on the accuracy of the predictions, neglecting the reasoning process leading to a decision, which is a major issue in life-critical applications. Probabilistic logic reasoning allows to exploit both statistical regularities and specific domain expertise to perform reasoning under uncertainty, but its scalability and brittle integration with the layers processing the sensory data have greatly limited its applications. For these reasons, combining deep architectures and probabilistic logic reasoning is a fundamental goal towards the development of intelligent agents operating in complex environments. This paper presents Relational Neural Machines, a novel framework allowing to jointly train the parameters of the learners and of a First--Order Logic based reasoner. A Relational Neural Machine is able to recover both classical learning from supervised data in case of pure sub-symbolic learning, and Markov Logic Networks in case of pure symbolic reasoning, while allowing to jointly train and perform inference in hybrid learning tasks. Proper algorithmic solutions are devised to make learning and inference tractable in large-scale problems. The experiments show promising results in different relational tasks.

Motivation & Objective

  • To address the limitations of purely sub-symbolic deep learning in capturing relational knowledge and reasoning under uncertainty.
  • To overcome the brittle integration and scalability issues in existing neuro-symbolic frameworks.
  • To enable joint optimization of neural network parameters and logical rule weights for improved generalization and interpretability.
  • To provide a scalable, differentiable framework that supports both supervised learning and symbolic reasoning in a unified architecture.

Proposed method

  • RNM combines a deep neural network for feature extraction with a first-order logic reasoner for relational inference.
  • The framework uses differentiable inference to backpropagate gradients through logical rules, enabling end-to-end training.
  • It employs an EM-like algorithm for handling partially observed data, allowing training when only a subset of labels is available.
  • Rules are weighted and learned jointly with neural parameters, allowing the model to adapt rule importance based on data.
  • The output layer is replaced by a logical inference engine, decoupling prediction from the network’s final layer.
  • The method supports both transductive and inductive learning settings, enhancing robustness in real-world scenarios.

Experimental results

Research questions

  • RQ1Can a neuro-symbolic framework jointly optimize neural network weights and logical rule parameters to improve relational reasoning?
  • RQ2How does joint training of neural and symbolic components affect performance on relational classification tasks with limited labeled data?
  • RQ3To what extent can RNM outperform standard neural networks and symbolic reasoning systems like Markov Logic Networks in terms of accuracy and scalability?
  • RQ4How does the framework handle partially observed data, where only a subset of labels is available during training?
  • RQ5Can the differentiable logic reasoning in RNM enable effective learning of rule weights while maintaining interpretability and generalization?

Key findings

  • On the Citeseer dataset, RNM achieved 78.0% accuracy in the partially observed case with 90% training data, outperforming the baseline neural network (72.6%) and SBR (78.0%).
  • With only 10% of the training data, RNM reached 70.8% accuracy in the partially observed setting, significantly surpassing the baseline (64.0%) and SBR (70.3%).
  • In the fully observed case, RNM achieved 73.2% accuracy with 90% training data, exceeding the baseline (72.3%) and SBR (72.6%).
  • The model demonstrated consistent improvement across all data proportions, showing robustness to data scarcity.
  • RNM’s ability to learn optimal rule weights enabled better adaptation to domain-specific citation patterns, such as varying intra-community citation rates.
  • The framework successfully combined the strengths of deep learning and symbolic reasoning, achieving higher accuracy than both pure sub-symbolic and pure symbolic baselines.

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.