Deep Probabilistic Logic: A Unifying Framework for Indirect Supervision

Hai Wang, Hoifung Poon

Introduction

Deep learning has revolutionized Natural Language Processing (NLP), yet it remains constrained by a significant "data hunger" problem. High-performance models typically require massive amounts of manually labeled data, which is both expensive and time-consuming to acquire. To circumvent this, researchers often turn to indirect supervision techniques such as distant supervision (using external databases), data programming (heuristic rules), and joint inference (logical consistency). However, these signals are frequently noisy or contradictory. Deep Probabilistic Logic (DPL) addresses this "annotation bottleneck" by providing a unified mathematical framework to ingest these disparate signals simultaneously.

Methodology: The DPL Framework

The core of the DPL framework is its modular design, which bridges the reasoning capabilities of probabilistic logic with the representation learning of deep neural networks. By treating labels as latent variables, DPL can effectively learn from noisy, unlabeled data. This is achieved through a "bridge" known as virtual evidence, which represents indirect supervision signals as soft constraints rather than hard labels.

The DPL architecture integrates knowledge-based virtual evidence with latent variables and deep learning modules.

DPL consists of two primary components:

  1. Supervision Module: This module utilizes weighted first-order logic to represent prior knowledge and indirect supervision signals.
  2. Prediction Module: A deep neural network (e.g., Graph LSTM or BiLSTM) that handles the end-task predictions.

The training process utilizes a Variational Expectation-Maximization (EM) algorithm. During the E-Step, the model performs inference to estimate the most likely labels for unlabeled data. This process combines the current predictions from the neural network with the constraints imposed by the logic rules, typically using loopy belief propagation. In the subsequent M-Step, the neural network is updated to better predict these estimated labels. Simultaneously, the framework refines the weights of the logic formulas, allowing the system to learn which rules are most reliable and which are noisy.

Key Insights: Unifying Indirect Supervision

A central contribution of DPL is the realization that distant supervision, data programming, and joint inference are mathematically equivalent when viewed through the lens of virtual evidence. This allows them to be combined into a single, cohesive pipeline rather than being treated as isolated techniques.

DPL derives accurate indirect supervision by combining distant supervision, data programming, and joint inference to infer relations in unlabeled text.

This unification enables a "virtuous cycle" of mutual amplification: logic rules help the neural network identify signals within noisy data, while the neural network's pattern recognition capabilities help the system evaluate the effectiveness of specific logic rules. Furthermore, by decoupling logic from deep learning, DPL avoids the computational "explosion" typically associated with probabilistic logic, allowing it to scale to millions of documents.

Experimental Results

The authors evaluated DPL on biomedical machine reading tasks using approximately one million articles from PubMed Central. Key findings include:

  • Relation Extraction: DPL improved sample precision by 10 absolute points (from 0.64 to 0.74) and increased absolute recall by 25% compared to previous state-of-the-art methods.
  • Entity Linking: In gene mention identification, DPL improved precision by over 50 absolute points compared to basic string matching.
  • Zero-Shot Potential: With zero manually labeled examples, DPL achieved an F1 score of 0.74 on the BioCreative II dataset, nearly matching fully supervised systems (0.78) trained on thousands of labels.
  • Ablation Studies: Combining all three types of indirect supervision (DS + DP + JI) consistently outperformed any single method, validating the unified approach.

Conclusion and Future Work

DPL represents a significant step toward overcoming the data bottleneck in deep learning. While challenges remain—such as handling extreme label imbalance in biomedical domains and exploring "Soft EM" for better marginal distribution modeling—the framework's modularity and scalability offer a promising path forward. Future research may involve integrating deep generative models like Variational Autoencoders and applying DPL to other domains where domain expertise is abundant but labeled data is scarce.

Summary updated

BibTeX
@inproceedings{wang2018deep,
  author = {Hai Wang and Hoifung Poon},
  title = {{Deep Probabilistic Logic: A Unifying Framework for Indirect Supervision}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1215},
}
Figure