TensorLog: A Probabilistic Database Implemented Using Deep-Learning Infrastructure

   Info_icon.svg   data    BibTeX_logo.svg   bibtex
William W. Cohen, Fan Yang, Kathryn Rivard Mazaitis
Journal of Artificial Intelligence Research 67, pages 285–325
February 2020

We present an implementation of a probabilistic first-order logic called TensorLog, in which classes of logical queries are compiled into differentiable functions in a neural-network infrastructure such as Tensorflow or Theano. This leads to a close integration of probabilistic logical reasoning with deep-learning infrastructure: in particular, it enables high-performance deep learning frameworks to be used for tuning the parameters of a probabilistic logic. The integration with these frameworks enables use of GPU-based parallel processors for inference and learning, making TensorLog the first highly parallellizable probabilistic logic. Experimental results show that TensorLog scales to problems involving hundreds of thousands of knowledge-base triples and tens of thousands of examples.

journal or series
Journal_icon.svg Journal of Artificial Intelligence Research (JAIR)