Logical Credal Networks

Haifeng Qian, Radu Marinescu, Alexander G. Gray, Debarun Bhattacharjya, Francisco Barahona, Tian Gao, Ryan Riegel, Pravinda Sahu

Abstract

Logical Credal Networks (LCNs) represent a novel framework for integrating first-order logic with probabilistic reasoning under uncertainty. By allowing for imprecise probability intervals and relaxing the acyclicity constraints of traditional Credal networks, LCNs provide a robust mechanism for handling complex dependencies and overlapping constraints. This paper details the syntax, semantics, and a modified belief propagation algorithm for LCNs, demonstrating their superior performance in tasks such as puzzle-solving and fraud detection.

Introduction

In artificial intelligence, researchers often face a trade-off between the structured reasoning of logic and the uncertainty management of probability. While Bayesian Networks are powerful, they require precise numerical inputs (e.g., "the probability of rain is exactly 0.62"). In practice, information is often imprecise, provided as bounds such as "the probability is between 0.5 and 0.7."

Existing solutions like Nilsson’s probabilistic logic are expressive but lack independence declarations, often leading to unhelpfully wide inference results. Conversely, Credal Networks utilize independence assumptions but are restricted to acyclic graphs and struggle with the "unique assessment" problem—the inability to easily integrate new information into a variable with a pre-defined distribution. Logical Credal Networks (LCNs) bridge this gap by supporting arbitrary logic and cyclic dependencies while maintaining structured independence assumptions.

The LCN Framework

Syntax and Dependency Graphs

An LCN is defined by a set of probability assessment sentences (bounds on formulas) and a Boolean label indicating whether a formula implies a graphical dependency. Central to this framework is the Dependency Graph, where nodes represent both atomic formulas (e.g., $x$) and non-atomic ones (e.g., $x \lor y$).

Dependency graphs illustrating various structural relationships and the Markov condition in LCNs.

Generalized Markov Condition

LCNs introduce a generalized Markov condition that accommodates cyclic dependencies. In this model, an atomic formula is conditionally independent of its non-descendants given its "parents" in the dependency graph. This allows LCNs to reason through logical loops (e.g., "If $A$ then $B$, and if $B$ then $A$") that typically cause standard probabilistic models to fail.

Overcoming the Unique Assessment Barrier

A significant practical advantage of LCNs is their ability to handle overlapping constraints. In standard Bayesian models, a node with multiple parents requires a full conditional probability table. LCNs, however, allow for multiple, independent constraints to be applied to a single node; the model then identifies the set of distributions that satisfy all provided constraints simultaneously.

Inference via Modified Belief Propagation

Exact inference in LCNs involves nonlinear optimization, which is computationally expensive. To address this, the authors developed a modified Belief Propagation (BP) algorithm. Unlike the standard sum-product approach, this version iteratively tightens probability bounds at variable nodes and solves local constraint programs at factor nodes. While not guaranteed to be exact on all graph types, it provides a scalable approximation for complex networks.

Experimental Results

Mastermind Puzzles with Uncertainty

The model was tested on a synthetic Mastermind dataset where the "code-maker" could lie within certain probability bounds. LCN variants consistently outperformed baselines. Specifically, the Maximum Entropy (Maxent) version of LCN achieved 72.5% accuracy, significantly higher than the ~65% achieved by Bayesian and ProbLog models.

UCSD-FICO Fraud Detection

The most dramatic results appeared in real-world fraud detection, where a data-driven Naive Bayes model was aggregated with expert logical rules.

F1 score comparison on the UCSD-FICO fraud detection dataset, highlighting the performance gap between LCN and traditional methods.

As shown in the table above, LCN achieved an F1 score of 0.630, while Bayesian and Credal baselines plummeted to 0.090. This disparity occurred because traditional baselines were forced to discard original data-driven probabilities to satisfy rigid network structures when expert rules were added, leading to high false-positive rates. LCN successfully preserved both data sources.

Conclusion and Future Work

Logical Credal Networks offer a flexible and powerful alternative for reasoning under both logical and probabilistic uncertainty. While current inference methods face scalability challenges relative to the number of atomic formulas, the framework's ability to handle cycles and imprecise bounds marks a significant advancement. Future research will focus on extending LCNs to temporal models and optimizing the local constraint programs within the belief propagation algorithm to support larger-scale applications.

Summary updated

BibTeX
@inproceedings{qian2022logical,
  author = {Haifeng Qian and Radu Marinescu and Alexander G. Gray and Debarun Bhattacharjya and Francisco Barahona and Tian Gao and Ryan Riegel and Pravinda Sahu},
  title = {{Logical Credal Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure