Abstract
Logical Boltzmann Machines (LBMs) represent a significant advancement in neurosymbolic AI by providing a mathematically sound mapping from propositional logic formulas to Restricted Boltzmann Machines (RBMs). This framework proves that energy minimization in the network is equivalent to logical satisfiability, allowing for efficient large-scale reasoning and learning from both raw data and symbolic knowledge.
Introduction
The quest for neurosymbolic AI—combining the robust learning capabilities of neural networks with the sound reasoning of symbolic logic—has long been hindered by issues of scalability and representational power. Many existing systems are restricted to simple "if-then" rules and struggle with complex logical forms or bidirectional reasoning, such as Modus Tollens. Furthermore, previous attempts to integrate logic into symmetrical networks often required computationally expensive higher-order connections. Logical Boltzmann Machines address these challenges by providing a scalable framework that handles any propositional formula using standard RBM architectures.
Methodology
The LBM framework utilizes a translation pipeline that converts logical formulas into neural structures:
- Strict Disjunctive Normal Form (SDNF): Any well-formed logical formula is first converted into SDNF. In this form, a formula is a series of "OR" statements where at most one "AND" clause is true for any given input.
- RBM Mapping: The authors prove that any SDNF formula can be mapped directly onto an RBM. Each conjunctive clause in the logic corresponds to a hidden unit in the network.
- Energy Minimization: The network's state is associated with an energy level. A core theoretical contribution is the proof that truth value assignments satisfying the logical formula correspond exactly to the global energy minima of the network.
- Inference via Gibbs Sampling: Reasoning is performed using Gibbs sampling, which allows the network to efficiently navigate the state space toward low-energy (satisfying) assignments.
Experimental Results
The LBM was evaluated on reasoning efficiency and learning performance across several benchmarks.
Reasoning Efficiency
The system was tested on large logical formulas with up to one billion possible truth assignments. Using Gibbs sampling, the LBM found all satisfying assignments by exploring less than 0.75% of the search space. For a configuration with $2^{30}$ assignments, the LBM achieved 100% accuracy in approximately 68 seconds.
Learning Performance
LBMs were compared against symbolic systems (Aleph), neurosymbolic systems (CILP++), and standard RBMs using seven Inductive Logic Programming (ILP) benchmarks, including Mutagenesis, KRK, UW-CSE, and Alzheimer’s datasets. LBM achieved superior test-set accuracy in five out of the seven datasets, demonstrating its effectiveness in learning from structured data.
Discussion and Future Work
LBMs offer a generative approach to logic, allowing the system to "imagine" satisfying assignments rather than just verifying them. This is crucial for complex problem-solving. However, challenges remain. Converting highly complex formulas to SDNF can lead to an exponential increase in hidden units. Additionally, the current framework is limited to propositional logic; extending it to first-order logic with quantifiers is a key area for future research. Finally, the sensitivity of the system to parameters like "temperature" and "confidence values" warrants further investigation to optimize performance across diverse datasets.
Summary updated