Probabilistic Databases with an Infinite Open-World Assumption

Martin Grohe, Peter Lindner

Abstract

Traditional probabilistic databases (PDBs) operate under a Closed-World Assumption (CWA), where any fact not explicitly present in the database is assigned a probability of zero. This paper, authored by Martin Grohe and Peter Lindner of RWTH Aachen University, establishes a rigorous mathematical foundation for PDBs that adopt an infinite open-world assumption. By allowing for an infinite universe of potential entities—such as all possible strings or real numbers—the authors provide a framework where unobserved facts can maintain a non-zero probability. The study identifies the convergence of fact probabilities as a necessary condition for the existence of such databases and introduces a truncation-based algorithm for query approximation.

Introduction

In standard database theory, the Closed-World Assumption (CWA) dictates that the database contains all true facts; anything omitted is false. In the context of probabilistic databases, this means that if a tuple is not recorded, its probability is zero. However, this assumption is often too restrictive for real-world applications like sensor networks or data integration, where a missing record might simply be unobserved rather than impossible.

While previous research into "open-world" PDBs allowed for unlisted facts to have small positive probabilities, these models remained confined to a fixed, finite universe of potential entities. This paper breaks that constraint, proposing a model where the domain of potential facts can be countably infinite (e.g., all integers) or even uncountable (e.g., all real numbers), while ensuring that any specific realization of the database remains a finite set of facts.

Theoretical Framework

Moving from a finite to an infinite universe requires a shift from simple discrete probability to measure theory. The authors define a PDB as a probability space over a sample space of database instances. A critical requirement of this framework is that while the universe of potential facts is infinite, every individual instance $D$ must be a finite set.

The Convergence Criterion

A central contribution of this work is the identification of the "Existence Theorem" (Theorem 4.8). In a tuple-independent (t.i.) PDB, where the occurrence of one fact is independent of others, the authors prove that such a database is mathematically sound if and only if the sum of the probabilities of all possible facts converges: $$\sum_{f \in \mathcal{F}} p_f < \infty$$

This implies that probabilities must "decay" as we move through the infinite universe. If one were to assign a constant, non-zero probability to every possible string, the expected size of the database would be infinite, and the probability of encountering any specific finite instance would drop to zero. This decay ensures that the probability of the database being finite is exactly one.

PDB Completions and B.I.D. Models

The authors describe a "completion" process for existing databases. A standard finite PDB can be extended into an infinite open-world PDB by adding an infinite "tail" of potential facts. As long as the total probability mass of this tail is convergent, the resulting model is a valid infinite PDB. This logic is further extended to Block-Independent-Disjoint (B.I.D.) databases (Theorem 4.15), which are essential for representing key constraints, such as ensuring a single entity does not have two conflicting primary attributes.

Querying and Approximation

Querying an infinite space presents an obvious algorithmic challenge: one cannot iterate through an infinite number of facts to determine if a query is satisfied. To resolve this, the authors propose a naïve truncation procedure.

  1. Truncation: For a given error tolerance $\epsilon > 0$, the algorithm selects the $n$ most probable facts such that the remaining probability mass in the "tail" is sufficiently small.
  2. Computation: Standard finite PDB query algorithms are then applied to this truncated set.
  3. Error Bounds: The authors prove (Proposition 6.1) that for any Boolean first-order query, this method provides an additive error of at most $\epsilon$.

However, the paper also establishes a fundamental limit: while additive error is manageable, multiplicative error is undecidable (Proposition 6.2). Because the true probability of a query might be infinitesimally small in an infinite model, calculating a result within a specific percentage of the true value is computationally impossible.

Key Insights and Limitations

One of the most striking theoretical findings is the loss of definability. In finite PDB theory, it is generally accepted that any PDB can be represented as a "view" (a query) over a simple tuple-independent PDB. The authors demonstrate that this does not hold in the infinite case; some infinite PDBs possess a structural complexity that cannot be reduced to a tuple-independent foundation.

Limitations

  • Convergence Rates: The efficiency of the approximation algorithm depends heavily on how fast the probabilities decay. If the convergence is slow, the number of facts required for a small $\epsilon$ could be prohibitively large.
  • Countable vs. Uncountable: While the framework theoretically supports uncountable universes like $\mathbb{R}$, the practical constructions and algorithmic results focus primarily on countably infinite domains.

Conclusion

By bridging database theory and measure theory, Grohe and Lindner provide the first rigorous treatment of truly open-world probabilistic databases. This work moves beyond the artificial constraints of finite sets, offering a path toward databases that can more accurately model the infinite possibilities of the real world. Future research may look toward integrating these mathematical foundations with heuristic probabilistic inference techniques, such as Markov Logic Networks, to improve computational performance in practical settings.

Summary updated

BibTeX
@inproceedings{grohe2019probabilistic,
  author = {Martin Grohe and Peter Lindner},
  title = {{Probabilistic Databases with an Infinite Open-World Assumption}},
  booktitle = {PODS},
  year = {2019},
  doi = {10.1145/3294052.3319681},
}
Figure