paper-with-me

홈 › Papers

The Quantified Boolean Bayesian Network: Theory and Experiments with a Logical Graphical Model

2024-02-09 · Gregory Coppola

This paper introduces the Quantified Boolean Bayesian Network (QBBN), which provides a unified view of logical and probabilistic reasoning. The QBBN is meant to address a central problem with the Large Language Model (LLM), which has become extremely popular in Information Retrieval, which is that the LLM hallucinates. A Bayesian Network, by construction, cannot hallucinate, because it can only return answers that it can explain. We show how a Bayesian Network over an unbounded number of boolean variables can be configured to represent the logical reasoning underlying human language. We do this by creating a key-value version of the First-Order Calculus, for which we can prove consistency and completeness. We show that the model is trivially trained over fully observed data, but that inference is non-trivial. Exact inference in a Bayesian Network is intractable (i.e. $\Omega(2^N)$ for $N$ variables). For inference, we investigate the use of Loopy Belief Propagation (LBP), which is not guaranteed to converge, but which has been shown to often converge in practice. Our experiments show that LBP indeed does converge very reliably, and our analysis shows that a round of LBP takes time $O(N2^n)$, where $N$ bounds the number of variables considered, and $n$ bounds the number of incoming connections to any factor, and further improvements may be possible. Our network is specifically designed to alternate between AND and OR gates in a Boolean Algebra, which connects more closely to logical reasoning, allowing a completeness proof for an expanded version of our network, and also allows inference to follow specific but adequate pathways, that turn out to be fast.

📄 PDF Abstract BibTeX arXiv:2402.06557

Code (1)

gregorycoppola/bayes-star 공식 구현

Tasks

Information RetrievalLanguage ModellingLarge Language ModelLogical Reasoning

Similar Papers 제목 키워드 기반

Tackling Universal Properties of Minimal Trap Spaces of Boolean Networks

2023-05-03 · Sara Riva, Jean-Marie Lagniez, Gustavo Magaña López, Loïc Paulevé

Minimal trap spaces (MTSs) capture subspaces in which the Boolean dynamics is trapped, whatever the update mode. They correspond to the attractors of the most permissive mode. Due to their versatility, the computation of…

Logical Reasoning

Synthesis with Explicit Dependencies

2023-01-25 · Priyanka Golia, Subhajit Roy, Kuldeep S. Meel

Quantified Boolean Formulas (QBF) extend propositional logic with quantification $\forall, \exists$. In QBF, an existentially quantified variable is allowed to depend on all universally quantified variables in its scope.…

Graph Neural Networks for Reasoning 2-Quantified Boolean Formulas

2019-09-25 · Fei Wang, Zhanfu Yang, Ziliang Chen, Guannan Wei 외

It is valuable yet remains challenging to apply neural networks in logical reasoning tasks. Despite some successes witnessed in learning SAT (Boolean Satisfiability) solvers for propositional logic via Graph Neural Netwo…

Logical Reasoning

Program Synthesis as Dependency Quantified Formula Modulo Theory

2021-05-19 · Priyanka Golia, Subhajit Roy, Kuldeep S. Meel

Given a specification $\varphi(X,Y)$ over inputs $X$ and output $Y$, defined over a background theory $\mathbb{T}$, the problem of program synthesis is to design a program $f$ such that $Y=f(X)$ satisfies the specificati…

Program Synthesis

On Quantifying Literals in Boolean Logic and Its Applications to Explainable AI

2021-08-23 · Adnan Darwiche, Pierre Marquis

Quantified Boolean logic results from adding operators to Boolean logic for existentially and universally quantifying variables. This extends the reach of Boolean logic by enabling a variety of applications that have bee…