Introduction
Probabilistic graphical models, specifically Bayesian networks (BNs), have long been a cornerstone of artificial intelligence for representing uncertainty. In parallel, logic-based computational complexity—or descriptive complexity—seeks to characterize complexity classes by the types of logic required to define them. This paper bridges these two fields by applying the tools of Finite Model Theory to quantify the expressive power of "relational" Bayesian networks. The authors demonstrate that these models are not merely convenient representational tools but are fundamentally linked to powerful complexity classes such as PP (Probabilistic Polynomial time) and the counting hierarchy.
Expressivity and Relational Specifications
In modern AI, relational Bayesian networks (RELBNs) are used to model systems with repetitive structures, such as social networks or genetic pedigrees. These models utilize logic-like constructs—predicates and quantifiers—as templates to generate large, propositional Bayesian networks for specific domains.
The authors define a formal framework for RELBN specifications where:
- Root nodes are assigned probabilities (e.g., the probability of an individual being a "fan").
- Non-root nodes are defined via logical formulas using Function-Free First-Order logic with equality (FFFO).
To connect these specifications to complexity theory, a decision procedure is established: a RELBN "accepts" an input structure if the probability of a designated "query" node being true, given the input evidence, exceeds a threshold of $1/2$. This allows for a direct comparison between the logical complexity of the specification and the computational complexity of the resulting inference task.
Capturing Complexity Classes
The central question addressed is: exactly how expressive are these relational models? In descriptive complexity, a language is said to "capture" a complexity class if the set of properties definable in that language is exactly the set of properties decidable within that class.
The most significant finding is that first-order RELBNs capture the class PP. This implies that the language of RELBNs is perfectly aligned with the power of probabilistic polynomial-time computation. Any problem solvable by a probabilistic Turing machine can be represented as a first-order Bayesian network specification.
Furthermore, by extending the specification language to include second-order logic—specifically Existential Second-Order (ESO) logic—the authors show that these models can reach higher tiers of the computational hierarchy. These extensions allow the models to represent problems in the counting hierarchy, such as $PP^{NP}$, which describe phenomena requiring both probabilistic reasoning and non-deterministic "oracle" access.
Key Results and Theorems
The paper provides several formal proofs to substantiate these claims:
- Theorem 2: An isomorphism-closed set of finite structures is in the complexity class PP if and only if it can be represented by a fixed RELBN using first-order logic.
- Theorems 3 & 4: Extending the logic to ESO allows the RELBN to capture $PP^{NP}$. Further extensions (kESOBNs) enable the capture of higher levels of the counting hierarchy, specifically $PP^{\Sigma^p_k}$.
These results provide an intuitive interpretation of probabilistic modeling: if a phenomenon can be simulated by a probabilistic Turing machine in polynomial time, it is within the reach of first-order Bayesian networks. More complex phenomena requiring "guess-and-check" mechanisms necessitate second-order quantification.
Conclusion and Future Directions
This work establishes a "Finite Model Theory of Bayesian Networks," providing a rigorous foundation for comparing probabilistic modeling languages based on their logical expressive power. While the current theory is limited to finite domains and fixed decision thresholds, it opens significant avenues for future research.
One promising direction is the extension of this framework to fixpoint logics, which underpin logic programming languages like Datalog. Such an extension could provide deeper insights into the complexity of "Lifted Inference" algorithms, which are critical for efficient reasoning in large-scale probabilistic programs. By grounding Bayesian networks in descriptive complexity, this research offers a new lens through which to view the limits and capabilities of probabilistic AI.
Summary updated