Applying Markov Logic for Debugging Probabilistic Temporal Knowledge Bases

Jakob Huber, Christian Meilicke, Heiner StuckenschmidtMADOC 2014

Abstract: Probabilistic temporal knowledge bases contain facts annotated with time intervals and confidence scores. These scores represent the probability that a fact is true during a specific span. However, automated extraction often introduces contradictions. This paper proposes a framework using Markov Logic Networks (MLNs) combined with Allen’s interval calculus to identify the most probable consistent subset of facts (the MAP state). Applied to the academic domain of DBpedia, the approach successfully eliminates a significant portion of erroneous facts while preserving correct data.

Introduction

Automated "Open Information Extraction" systems, such as ReVerb, allow for the large-scale construction of knowledge bases like DBpedia. However, these systems often struggle with precision. When extracting temporal facts—such as an academic's birth year or tenure at a university—errors frequently arise from ambiguous text or incorrect schema mapping. The resulting "probabilistic temporal knowledge bases" are often riddled with contradictions (e.g., a birth year occurring after a death year).

Traditional logic-based debugging is often too rigid to handle probabilistic data, while purely probabilistic methods may ignore fundamental temporal constraints. This research bridges that gap by modeling temporal consistency as a global optimization problem.

Methodology

The proposed framework relies on three core components to resolve data conflicts:

  1. Markov Logic Networks (MLNs): MLNs treat logical rules as "soft" constraints with associated weights. If a fact violates a heavily weighted rule, the system is more likely to discard it during inference.
  2. Allen’s Interval Algebra: To model how temporal facts interact, the authors utilize Allen’s 13 interval relations. This allows the system to formally define relationships like "before," "overlaps," or "during."
  3. Domain-Specific Constraints: The authors define rules that the data must follow, such as functional properties (a person has only one birth year) and temporal ordering (birth must precede death, and birth must precede advising a student).
Allen’s interval relations used to define temporal constraints between facts.

By treating specific dates (like a birth year) as intervals where the start and end points are identical, the system can apply a unified algebraic approach to all temporal data. These relations are pre-calculated as observed predicates, simplifying the task for the rockIt Markov Logic solver to find the Maximum A Posteriori (MAP) state—the most probable consistent version of the knowledge base.

Experimental Setup

The researchers evaluated their approach using the Academic subdomain of DBpedia, consisting of approximately 150,000 triples. To test the debugging capabilities, they injected synthetic noise, including:

  • Digit swaps and small year offsets (1–20 years).
  • Randomly assigned birth/death years to entities lacking them.
  • Erroneous "academic advisor" links between unrelated individuals.

Key Results

The system demonstrated a robust ability to improve data quality across varying noise levels (from 1% to 50% incorrect facts). A key insight was the system's ability to use the "web of relationships" to triangulate errors. For example, a high-confidence but incorrect birth year could be rejected if it contradicted a death year and multiple academic career milestones.

Performance metrics showing improvements in precision (P), recall (R), and F-measure (F) after debugging and repair.

As shown in the results table, the "Repaired Dataset" consistently outperformed the input data in F-measure. In the most challenging scenario—where half of the input facts were incorrect—the system improved precision from 0.50 to 0.72. Furthermore, the "repair precision" (the accuracy of the system's deletions) often exceeded 0.80, indicating that the system rarely removed correct facts by mistake.

Conclusion

This approach provides a scalable method for cleaning noisy, automated knowledge bases. By combining the flexibility of Markov Logic with the formal rigor of Allen’s Interval Calculus, the system can effectively resolve temporal contradictions. Future work will focus on applying this framework to "wild" data extracted directly from the web, where errors are more linguistically complex than synthetic noise.

Summary updated

BibTeX
@inproceedings{huber2014applying,
  author = {Jakob Huber and Christian Meilicke and Heiner Stuckenschmidt},
  title = {{Applying Markov Logic for Debugging Probabilistic Temporal Knowledge Bases}},
  booktitle = {MADOC},
  year = {2014},
}
Figure