Towards Distributed MCMC Inference in Probabilistic Knowledge Bases

Mathias Niepert, Christian Meilicke, Heiner Stuckenschmidt

Introduction

Modern Information Extraction (IE) systems, such as YAGO or NELL, are capable of extracting billions of facts from unstructured web data. However, the resulting knowledge bases are often plagued by uncertainty and logical contradictions. For instance, an extraction system might simultaneously assert that Albert Einstein was born in 1879 and 1892. Reconciling these contradictions to find a consistent, high-probability state—a process known as probabilistic inference—is computationally intensive and traditionally fails to scale to web-scale datasets.

In "Towards Distributed MCMC Inference in Probabilistic Knowledge Bases," Niepert et al. address this challenge by proposing a scalable, distributed inference algorithm. Their approach maps logical contradictions to a graph-theoretic framework, allowing for parallelized Markov Chain Monte Carlo (MCMC) simulations across distributed clusters.

Methodology: Conflict Hypergraphs and Distributed MCMC

The core innovation of this work lies in bridging formal logic with combinatorial graph theory. The authors treat the knowledge base as a log-linear model, where the probability of a set of facts depends on their individual weights and their adherence to hard logical constraints.

Conflict Hypergraphs

To manage contradictions, the system constructs a conflict hypergraph. In this model, each vertex represents an uncertain fact. A hyperedge connects a set of vertices if those facts, when taken together, violate a logical rule (forming a minimal conflict set).

Figure 2: A conflict hypergraph example illustrating contradictory facts (e.g., birth dates) and logical dependencies for entities like Albert Einstein.

Independent Set Sampling

The authors demonstrate a crucial theoretical equivalence: a consistent subset of the knowledge base corresponds to an independent set within the conflict hypergraph. By identifying the connected components of this hypergraph, the problem becomes naturally parallelizable. Since disconnected components do not share logical constraints, the system can run independent MCMC chains on separate machines—using frameworks like MapReduce—to sample consistent states in parallel.

Experimental Evaluation and Results

The researchers evaluated their approach using the PROSPERA system, focusing on academic domain data including facts like bornOn, facultyAt, and graduatedFrom. They utilized YAGO to provide initial probabilities for assertions and applied common-sense rules (e.g., "An advisor must be older than their student") to define conflicts.

Figure 3: Performance metrics (MRR and p@1) for graduation and advisor facts, comparing baseline results with the proposed MCMC sampling approach.

As shown in the empirical results, the MCMC sampling approach significantly enhances the quality of the knowledge base. For graduatedFrom queries, the Mean Reciprocal Rank (MRR) improved from 0.35 to 0.88, while Precision at 1 (p@1) rose from 0.24 to 0.82. Similar gains were observed for advisor facts, where p@1 increased from 0.37 to 0.81. Furthermore, the sampling process for individual components was highly efficient, typically completing in 1.3 to 2.2 seconds ($t_s$), demonstrating the feasibility of near-continuous inference on massive datasets.

Discussion and Future Work

While the results are promising, the scalability of the method depends on the "decomposability" of the conflict hypergraph. If specific logical rules link a vast number of facts, a large "super-component" may emerge, hindering distribution. Future research will focus on more sophisticated hypergraph partitioning strategies to mitigate this. Additionally, the authors plan to incorporate more granular fact-weighting and temporal reasoning to handle facts that change over time, further refining the accuracy of probabilistic knowledge bases.

Summary updated

BibTeX
@inproceedings{niepert2012towards,
  author = {Mathias Niepert and Christian Meilicke and Heiner Stuckenschmidt},
  title = {{Towards Distributed MCMC Inference in Probabilistic Knowledge Bases}},
  booktitle = {AKBC-WEKEX @ NAACL},
  year = {2012},
}
Figure