A Mathematical Framework and a Suite of Learning Techniques for Neural-Symbolic Systems

Charles Dickens, Connor Pryor, Changyu Gao, Alon Albalak, Eriq Augustine, William Wang, Stephen Wright, Lise Getoor

Abstract

The field of Neural-Symbolic (NeSy) systems is growing rapidly. Proposed approaches show great promise in achieving symbiotic unions of neural and symbolic methods. However, a unifying framework is needed to organize common NeSy modeling patterns and develop general learning approaches. In this paper, we introduce Neural-Symbolic Energy-Based Models (NeSy-EBMs), a unifying mathematical framework for discriminative and generative NeSy modeling. Importantly, NeSy-EBMs allow the derivation of general expressions for gradients of prominent learning losses, and we introduce a suite of four learning approaches that leverage methods from multiple domains, including bilevel and stochastic policy optimization. Finally, we ground the NeSy-EBM framework with Neural Probabilistic Soft Logic (NeuPSL), an open-source NeSy-EBM library designed for scalability and expressivity, facilitating the real-world application of NeSy systems. Through extensive empirical analysis across multiple datasets, we demonstrate the practical advantages of NeSy-EBMs in various tasks, including image classification, graph node labeling, autonomous vehicle situation awareness, and question answering.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Logical DeductionGPT-4 + NeuPSLPrediction performance90.67+15.42 vs baselineGPT-4 logical-deduction setting; NeuPSL uses LLM-generated rules. The supplied lines do…
Source quote
L1656: GPT-4 │ 71.33 │ 75.25 │ 90.67
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
Logical DeductionGPT-4 CoT baselinePrediction performance75.25cot
Source quote
L1656: GPT-4 │ 71.33 │ 75.25 │ 90.67
BibTeX
@misc{dickens2024mathematical,
  author = {Charles Dickens and Connor Pryor and Changyu Gao and Alon Albalak and Eriq Augustine and William Wang and Stephen Wright and Lise Getoor},
  title = {{A Mathematical Framework and a Suite of Learning Techniques for Neural-Symbolic Systems}},
  year = {2024},
  eprint = {2407.09693},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.09693},
}

Loading related content...

Figure