Probabilistic Databases with an Infinite Open-World Assumption

Martin Grohe, Peter Lindner

This paper, published by Martin Grohe and Peter Lindner from RWTH Aachen University, provides a rigorous mathematical foundation for moving probabilistic databases (PDBs) beyond the "closed-world" constraints of finite sets.

TL;DR

The authors introduce a framework for probabilistic databases that operate under an infinite open-world assumption, allowing for an infinite universe of potential entities (like all possible strings or real numbers). They prove that such databases are mathematically sound if the sum of probabilities of all possible facts converges, and they provide a method to approximate query results in these infinite spaces.

What Problem Does This Paper Address?

Traditional probabilistic databases rely on a Closed-World Assumption (CWA). In this model, if a fact isn't explicitly listed in the database with a positive probability, it is considered strictly impossible.

As the authors argue, this clashes with intuition. Imagine a database of sensor readings that never recorded a temperature of 20.5°C. Under CWA, the probability of the temperature being 20.5°C is exactly zero, rather than just "unlikely" or "unobserved." While previous researchers (like Ceylan et al.) proposed "open-world" PDBs where unlisted facts have small positive probabilities, those models were still restricted to a fixed, finite universe of entities.

This paper tackles the challenge of "truly" open-world PDBs, where the domain of potential entities (the universe) can be countably infinite (like integers or strings) or even uncountable (like real numbers), while ensuring that any specific "instance" of the database remains finite.

Methods

The paper is primarily theoretical, building a mathematical bridge between database theory and measure theory.

  1. Measure-Theoretic Framework: The authors define a PDB as a probability space over a sample space of database instances. Crucially, while the sample space is infinite, every individual instance $D$ must be a finite set of facts.
  2. Tuple-Independent (t.i.) Construction: They focus on tuple-independent PDBs, where the occurrence of one fact is independent of another. They provide a generic construction for these in the infinite setting.
  3. The Convergence Criterion: A central contribution is identifying the condition for existence. They prove that a tuple-independent PDB with fact probabilities $p_f$ exists if and only if the sum of those probabilities ($\sum p_f$) is finite.
  4. PDB Completions: They describe a "completion" process. You start with a standard, finite PDB and "complete" it by adding an infinite "tail" of potential facts, each with a tiny probability, such that the total probability mass of the tail is convergent.
  5. Approximation Algorithm: To handle the algorithmic impossibility of checking infinite facts, they propose a "naïve truncation" procedure. By considering only the $n$ most probable facts (where $n$ is chosen based on a desired error tolerance $\epsilon$), they can lift standard finite PDB query algorithms to the infinite case.

Datasets

Not discussed in the paper. As a theoretical work focused on establishing mathematical foundations and proofs, the authors do not use empirical datasets or benchmarks.

Key Insights and Ideas

  • Finite Instances in Infinite Spaces: The most important conceptual hurdle is that even if the universe of potential facts is infinite, a database instance must be finite. The authors resolve this by ensuring that the probability of an instance having infinitely many facts is zero.
  • The "Aha" Moment on Convergence: You cannot simply assign a constant small probability (e.g., 0.00001) to every possible string in an infinite universe. If you did, the expected size of the database would be infinite, and the probability of any finite instance would be zero. The probabilities must "decay" fast enough that their sum is finite.
  • Loss of Definability: In finite PDB theory, every PDB can be represented as a "view" (a query) over a simple tuple-independent PDB. The authors show this does not hold in the infinite case. Some infinite PDBs are fundamentally more complex and cannot be reduced to tuple-independent foundations.
  • Additive vs. Multiplicative Error: The authors show that while we can approximate query probabilities with an additive error (e.g., the answer is $0.5 \pm 0.01$), it is generally undecidable to achieve a multiplicative error (e.g., the answer is within 1% of the true value) because the true value might be infinitesimally small.

Key Results

  • Theorem 4.8 (Existence): Formally establishes that a tuple-independent PDB exists if and only if the sum of fact probabilities converges.
  • Theorem 4.15 (B.I.D. Extension): Extends the existence results to Block-Independent-Disjoint (B.I.D.) databases, which are common in practice for representing "key-constraints" (e.g., a person can only have one age).
  • Proposition 6.1 (Approximation): Proves that for any Boolean first-order query and any $\epsilon > 0$, there is an algorithm to compute the probability of that query being true within an additive error of $\epsilon$.
  • Proposition 6.2 (Hardness): Proves that multiplicative approximation of query probabilities in infinite t.i. PDBs is undecidable.

Limitations and Future Work

  • Computational Complexity: The proposed approximation algorithm is "naïve." Its runtime depends on the rate of convergence of the fact probabilities. If the probabilities decay very slowly, the number of facts $n$ needed for a small $\epsilon$ could be astronomical.
  • Uncountable Universes: While the framework allows for uncountable universes (like $\mathbb{R}$), the specific constructions and algorithmic results in this paper focus primarily on countably infinite domains.
  • Expressivity Boundaries: The authors acknowledge that the exact boundaries of what can be expressed in infinite PDBs (especially regarding B.I.D. models and FO-views) are still not fully mapped.
  • Heuristic Integration: The authors suggest that future work should look at combining these database techniques with heuristic probabilistic inference from the AI community (like Markov Logic Networks).

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