Random Worlds and Maximum Entropy

Adam J. Grove, Joseph Y. Halpern, Daphne Koller

Introduction

Artificial Intelligence systems are frequently tasked with reasoning under uncertainty, often requiring the integration of two distinct types of information: hard logical constraints (e.g., "All humans are mortal") and statistical observations (e.g., "80% of birds fly"). To act rationally, an agent must assign a principled "degree of belief" to specific queries based on its knowledge base. This paper explores the random-worlds method, a foundational approach to this problem rooted in the principle of indifference, and establishes its mathematical relationship with the Principle of Maximum Entropy.

The Random-Worlds Method

The random-worlds method provides a semantics for assigning probabilities to logical statements. Given a knowledge base ($KB$) and a query $\phi$, the method considers a domain of $N$ individuals. It examines all possible worlds (models) of size $N$ that satisfy the $KB$. The degree of belief in $\phi$ is defined as the fraction of these worlds in which $\phi$ is true.

Because the exact size of the domain is often unknown, the authors focus on the asymptotic degree of belief—the limit of this fraction as $N$ approaches infinity. To ensure this framework is robust, the authors introduce a formal language, $\mathcal{L}^{\approx}$, which utilizes approximate equality for statistical quantifiers. This prevents the "brittleness" associated with strict equality, where a microscopic change in a statistical frequency (e.g., 0.80 vs 0.800001) could otherwise lead to wildly different logical conclusions.

The Concentration Phenomenon and Maximum Entropy

The core contribution of the paper is the proof of a "concentration phenomenon" that links logical models to statistical physics. When a knowledge base is restricted to unary predicates (properties that apply to single individuals, such as $Red(x)$ or $Bird(x)$), the individuals can be categorized into a finite set of "atoms." These atoms represent every possible combination of properties allowed by the language.

As the domain size $N$ grows, the number of possible worlds corresponding to any specific distribution of these atoms grows combinatorially. Using Stirling's approximation, the authors demonstrate that the distribution with the maximum entropy contains an exponentially larger number of worlds than any other distribution. Consequently, as $N \to \infty$, the random-worlds method converges to a single point: the maximum entropy distribution that satisfies the constraints of the $KB$.

This result (Theorem 3.13) provides a deep theoretical justification for the use of maximum entropy in AI. It shows that systems like Nilsson’s probabilistic logic and $\epsilon$-semantics are not merely heuristics but are actually consequences of the principle of indifference applied to large domains.

The Unary Barrier

While the connection between random worlds and maximum entropy is elegant, the authors reveal a significant limitation. The proof relies on the ability to partition the world into a finite set of atomic types. This works for unary predicates, but the logic breaks down when non-unary (relational) predicates are introduced (e.g., $Parent(x, y)$ or $Connected(x, y)$).

In worlds with relations, the number of possible structures explodes. In large relational graphs, almost every individual becomes structurally unique, making it impossible to group them into the stable statistical "atoms" required for the entropy calculation. This suggests that maximum-entropy methods, while powerful for simple properties, may have fundamental limits when applied to complex, interconnected relational data.

Key Results and Robustness

Beyond the equivalence proof, the paper establishes several vital properties of the random-worlds method:

  • Direct Inference: The method naturally satisfies the requirement of direct inference. If the $KB$ states that 90% of birds fly and that Tweety is a bird, the method assigns a 0.9 degree of belief to Tweety flying, correctly ignoring irrelevant information.
  • Canonical Forms: The authors provide a syntactic procedure to reduce complex, nested unary formulas into flat constraints, making the optimization of entropy computationally feasible.
  • Stability via Approximation: By using approximate equality ($\approx$), the authors prove that the resulting degrees of belief are continuous and robust to small changes in the statistical input, a necessary feature for real-world application.

Conclusion

This research bridges the gap between logical and probabilistic reasoning by showing that, in unary domains, the principle of indifference leads directly to the Principle of Maximum Entropy. However, the "unary barrier" identified by the authors serves as a cautionary note for the field, highlighting that the transition from simple properties to complex relations requires entirely new theoretical frameworks for objective probability.

Summary updated

BibTeX
@article{grove1994random,
  author = {Adam J. Grove and Joseph Y. Halpern and Daphne Koller},
  title = {{Random Worlds and Maximum Entropy}},
  journal = {J. Artif. Intell. Res.},
  year = {1994},
  doi = {10.1613/jair.61},
}
Figure