about
TensorLog: A Differentiable Deductive Database [pdf] (arxiv.org)
2 points by espeed on Jan 27, 2017 | hide | past | pdf | discuss on HN

In plain words: It converts logical rules in a knowledge base into a chain of reasoning steps that a learning system can tune, so facts can be used inside neural networks. Building and running it grow only in straight proportion to the rules' size and the data.

Abstract · TensorLog: A Differentiable Deductive Database

Large knowledge bases (KBs) are useful in many tasks, but it is unclear how to integrate this sort of knowledge into "deep" gradient-based learning systems. To address this problem, we describe a probabilistic deductive database, called TensorLog, in which reasoning uses a differentiable process. In TensorLog, each clause in a logical theory is first converted into certain type of factor graph. Then, for each type of query to the factor graph, the message-passing steps required to perform belief propagation (BP) are "unrolled" into a function, which is differentiable. We show that these functions can be composed recursively to perform inference in non-trivial logical theories containing multiple interrelated clauses and predicates. Both compilation and inference in TensorLog are efficient: compilation is linear in theory size and proof depth, and inference is linear in database size and the number of message-passing steps used in BP. We also present experimental results with TensorLog and discuss its relationship to other first-order probabilistic logics.

William W. Cohen
arXiv:1605.06523 · cs.AI, cs.DB, cs.LG · submitted May 20, 2016 · updated Jul 19, 2016
abstract · pdf · html

add comment on HN