NeuralLog: a Neural Logic Language

Victor Guimarães, Vítor Santos Costa
5/4/2021
cs.LG

Official code: guimaraes13/NeuralLog (11 stars, Python, Apache-2.0, last commit 2022-09-17).

Abstract

Application domains that require considering relationships among objects which have real-valued attributes are becoming even more important. In this paper we propose NeuralLog, a first-order logic language that is compiled to a neural network.

Show full abstract

The main goal of NeuralLog is to bridge logic programming and deep learning, allowing advances in both fields to be combined in order to obtain better machine learning models. The main advantages of NeuralLog are: to allow neural networks to be defined as logic programs; and to be able to handle numeric attributes and functions. We compared NeuralLog with two distinct systems that use first-order logic to build neural networks. We have also shown that NeuralLog can learn link prediction and classification tasks, using the same theory as the compared systems, achieving better results for the area under the ROC curve in four datasets: Cora and UWCSE for link prediction; and Yelp and PAKDD15 for classification; and comparable results for link prediction in the WordNet dataset.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
113Python, PrologApr 23, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{guimares2021neurallog,
  title  = {NeuralLog: a Neural Logic Language},
  author = {Victor Guimarães and Vítor Santos Costa},
  year   = {2021},
  eprint = {2105.01442},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.01442}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.01442.svg)](https://codeofpaper.com/paper/2105.01442)

Discussion