Abstract
This paper presents a formal framework for integrating "empirical probabilities"—objective statistical findings—into logic-based databases. Traditional deductive databases often struggle with statistical data due to the Herbrand Problem and consistency conflicts. The authors develop a mathematical foundation using non-Herbrand model theory and Mixed Integer Linear Programming (MILP) to verify database consistency and enable inductive reasoning. The resulting system allows databases to answer queries about individuals by leveraging the most specific statistical reference classes available.
Introduction
Traditional logic programming and deductive databases excel at handling "hard" facts, such as "Clyde is an elephant." However, when uncertainty is introduced, it is typically treated as subjective probability—a measure of a person's "degree of belief." This paper addresses the gap in handling empirical probability: objective, statistical truths derived from samples (e.g., "45% of seals are female").
Standard logic tools face two primary hurdles with empirical data. First, the Herbrand Problem limits logic to explicitly named objects; if a database only knows one seal, it cannot mathematically represent a 45% population statistic. Second, Consistency becomes complex when statistical ranges and hard facts conflict, requiring a rigorous method to determine if a database model is even possible.
Methodology
Non-Herbrand Model Theory
To overcome the limitations of standard logic, the authors propose interpretations with finite but arbitrary domain sizes. This allows the system to support percentages by assuming a larger population exists beyond the specific individuals named in the database. In this framework, variables are treated as "generic" individuals representing a random draw from a population.
Consistency and Linear Programming
The core of the consistency check involves translating empirical clauses (expressed as probability ranges) into linear constraints. The authors utilize Mixed Integer Linear Programming (MILP) to determine if a valid model of the database exists.
As shown in the figure above, the domain is partitioned based on the combinations of predicates (e.g., being a Monk Seal and being Female). Each partition $P_i$ is assigned a variable $v_i$ representing the number of individuals in that category. The system then solves for these variables to ensure they satisfy the statistical bounds provided in the database rules.
Two-Stage Query Processing
Querying is handled in two distinct phases:
- Deductive Phase: The system first attempts to find a definite "True" or "False" answer using standard logic and hard facts (the "context").
- Inductive Phase: If no definite answer is found, the system evaluates empirical statistical rules. It employs a "most specific reference class" strategy—prioritizing statistics for specific sub-groups (e.g., "Royal Elephant") over general groups (e.g., "Elephant").
Key Insights and Results
The authors demonstrate that allowing "complex" predicates (e.g., Grey AND NOT White) significantly increases the language's expressiveness. By separating hard facts from statistical trends, the system can handle exceptions—where a specific individual defies a general trend—without compromising the logic system's integrity.
Mathematical proofs confirm that the algorithms for consistency (Algorithm 1) and querying (Algorithm 4) are both sound and complete. Furthermore, the paper introduces compilation techniques like "unfolding" and "chaining" to pre-calculate relationships between properties, significantly accelerating query response times.
Limitations and Future Work
The current framework is restricted to monadic (unary) predicates, meaning it can describe properties of individuals but not relationships between them (e.g., friend_of(X, Y)). Additionally, while MILP is effective for these constraints, its NP-hard nature may present performance bottlenecks for extremely large-scale databases. Future research may explore infinite populations or continuous probability distributions beyond the finite domains addressed here.
Summary updated