Introduction
Knowledge-Base Construction (KBC) is the process of transforming unstructured data—such as the hundreds of millions of messy web pages—into a structured database of facts. For example, identifying that "Barack Obama" "attended" "Harvard Law School." While this is the "holy grail" of information retrieval, it faces two primary hurdles: scalability and uncertainty. Processing terabytes of data with deep linguistic tools is computationally expensive, and web data is often noisy or contradictory.
DeepDive is an end-to-end system designed to address these challenges by treating KBC as a massive statistical inference problem. It allows for reasoning about the likelihood of facts across billions of mentions while maintaining high accuracy through probabilistic modeling.
Methods and Architecture
DeepDive utilizes a sophisticated pipeline that integrates classic database management with modern machine learning.
The system relies on several core components:
- Entity-Relationship (ER) Modeling: Data is organized into entities (e.g., people, organizations) and the relationships between them.
- Distant Supervision: To bypass the manual labeling bottleneck, DeepDive uses existing databases like Freebase to "seed" training data. If a known fact exists (e.g., Obama went to Harvard), the system finds sentences mentioning both entities and treats them as positive training examples for that relationship.
- Markov Logic Networks (MLN): This serves as the system's "brain," allowing developers to write first-order logic rules (e.g., "If A is the CEO of B, A likely works for B") and assigning weights to these rules based on observed data.
- Scalable Infrastructure: DeepDive uses Condor for feature extraction because its "best-effort" failure model handles "pathological" data chunks better than Hadoop. For inference, it uses specialized engines like Tuffy and Felix to translate complex logic into optimized SQL queries.
Datasets and Scale
The system was evaluated at a staggering scale using the following datasets:
- ClueWeb09: A corpus of 500 million English web pages.
- Freebase: 3 million facts used for distant supervision.
- Wikipedia: 3 million entities used for entity linking.
- TAC-KBP: A standard benchmark for Knowledge Base Population used to compare system accuracy against human performance.
Key Results
DeepDive demonstrated that statistical inference can compete with, and sometimes outperform, hand-tuned systems. The system successfully extracted 25 billion entity mentions and 8 billion relationship mentions from the web.
Key performance metrics include:
- Entity Linking: Achieved an F1 score of 0.80 on the TAC-KBP benchmark, approaching human performance (~0.90).
- Relation Extraction: Achieved an F1 score of 0.31, which was competitive with top-performing systems in the 2010 TAC-KBP challenge.
- In-Database Analytics: By moving machine learning to the data using the Bismarck system, DeepDive executes learning algorithms directly inside the RDBMS, significantly reducing overhead.
- Calibration: A core philosophy of DeepDive is that predicted probabilities should match actual accuracy. If the system predicts a 90% probability for a fact, it should be correct 90% of the time. This makes the system tunable and easier to debug.
Limitations and Future Work
Despite its success, the authors noted a slight dip in precision as the corpus size increased (as seen in the performance graph). This suggests that larger datasets introduce noise that current models cannot perfectly filter. Additionally, while entity linking is highly accurate, extracting complex relationships remains difficult. Future work focuses on integrating human-in-the-loop feedback to allow real-time corrections to propagate through the statistical model.
Summary updated