Skip to main content
QUICK REVIEW

[Paper Review] Efficient Inference and Learning in a Large Knowledge Base: Reasoning with Extracted Information using a Locally Groundable First-Order Probabilistic Logic

William Yang Wang, Kathryn Mazaitis|arXiv (Cornell University)|Apr 12, 2014
Bayesian Modeling and Causal InferenceComputer Science1 references8 citations
TL;DR

This paper introduces ProPPR, a first-order probabilistic logic that enables efficient inference and learning in large knowledge bases by using a locally groundable, personalized PageRank-based proof procedure. By biasing reasoning toward short derivations and leveraging approximate PageRank computation, ProPPR achieves inference and learning in time independent of database size—demonstrating orders-of-magnitude speedups over Markov logic networks and scaling to one million entities with hundreds of interdependent predicates.

ABSTRACT

One important challenge for probabilistic logics is reasoning with very large knowledge bases (KBs) of imperfect information, such as those produced by modern web-scale information extraction systems. One scalability problem shared by many probabilistic logics is that answering queries involves "grounding" the query---i.e., mapping it to a propositional representation---and the size of a "grounding" grows with database size. To address this bottleneck, we present a first-order probabilistic language called ProPPR in which that approximate "local groundings" can be constructed in time independent of database size. Technically, ProPPR is an extension to stochastic logic programs (SLPs) that is biased towards short derivations; it is also closely related to an earlier relational learning algorithm called the path ranking algorithm (PRA). We show that the problem of constructing proofs for this logic is related to computation of personalized PageRank (PPR) on a linearized version of the proof space, and using on this connection, we develop a proveably-correct approximate grounding scheme, based on the PageRank-Nibble algorithm. Building on this, we develop a fast and easily-parallelized weight-learning algorithm for ProPPR. In experiments, we show that learning for ProPPR is orders magnitude faster than learning for Markov logic networks; that allowing mutual recursion (joint learning) in KB inference leads to improvements in performance; and that ProPPR can learn weights for a mutually recursive program with hundreds of clauses, which define scores of interrelated predicates, over a KB containing one million entities.

Motivation & Objective

  • To address the scalability bottleneck in probabilistic first-order logics, where grounding grows with database size and limits inference on large knowledge bases.
  • To develop a first-order probabilistic logic that supports efficient, approximate inference and learning in web-scale knowledge bases with noisy, extracted facts.
  • To enable fast, parallelizable weight learning by decoupling the learning process into locally grounded subtasks per training example.
  • To establish a theoretical foundation for approximate grounding using personalized PageRank and local partitioning, ensuring correctness and bounded error.

Proposed method

  • Extends stochastic logic programs (SLPs) with a restart mechanism that biases reasoning toward short derivations, creating a locally groundable logic.
  • Models proof search as a personalized PageRank (PPR) computation on a linearized proof space, enabling efficient approximate inference.
  • Uses the PageRank-Nibble algorithm to compute local groundings in O(1/(αε)) time, independent of database size, where α is the restart probability and ε is the error tolerance.
  • Develops a gradient-based weight-learning algorithm that partitions learning per query, enabling easy parallelization and efficient optimization.
  • Employs local partitioning techniques (Andersen et al., 2006, 2008) to isolate relevant subgraphs for each query, reducing computational cost.
  • Integrates the grounding process with parameter learning, allowing iterative refinement of model weights while maintaining scalability.

Experimental results

Research questions

  • RQ1Can a first-order probabilistic logic be designed to support efficient inference and learning in large-scale knowledge bases without full grounding?
  • RQ2Is it possible to achieve provably correct approximate inference using a localized, PageRank-based proof procedure?
  • RQ3Can weight learning be decomposed into independent, parallelizable subtasks via local grounding, enabling scalable optimization?
  • RQ4How does the performance of ProPPR compare to existing methods like Markov logic networks in terms of speed and accuracy on large KBs?
  • RQ5Does joint learning of mutually recursive predicates improve performance compared to learning them individually?

Key findings

  • ProPPR achieves inference and learning in time O(1/(αε)), independent of database size, enabling scalable reasoning on large knowledge bases.
  • Learning for ProPPR is orders of magnitude faster than for Markov logic networks, with a 10x speedup observed in experiments.
  • ProPPR successfully learns weights for a mutually recursive program with hundreds of clauses over a KB of one million entities in just a few seconds on a desktop machine.
  • Joint inference and learning over interrelated predicates leads to improved performance compared to learning each predicate in isolation.
  • The locally grounded inference scheme enables effective parallelization, with an additional order-of-magnitude speedup in learning through multi-threading.
  • The method demonstrates strong performance on entity resolution and classification tasks, with approximation errors bounded by ε across all intermediate proof stages.

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.