On the Hardness of Probabilistic Neurosymbolic Learning

Jaron Maene, Vincent Derkinderen, Luc De Raedt
6/6/2024
cs.LG

No official code found. Best implementation: jjcmoon/hardness-nesy (5 stars, MIT, last commit 2024-12-16).

Abstract

The limitations of purely neural learning have sparked an interest in probabilistic neurosymbolic models, which combine neural networks with probabilistic logical reasoning. As these neurosymbolic models are trained with gradient descent, we study the complexity of differentiating probabilistic reasoning. We prove that although approximating these gradients is intractable in general, it becomes tractable during training. Furthermore, we introduce WeightME, an unbiased gradient estimator based on model sampling. Under mild assumptions, WeightME approximates the gradient with probabilistic guarantees using a logarithmic number of calls to a SAT solver. Lastly, we evaluate the necessity of these guarantees on the gradient. Our experiments indicate that the existing biased approximations indeed struggle to optimize even when exact solving is still feasible.

View on arXivView PDF

Code Implementations(1)

MIT

On the Hardness of Probabilistic Neurosymbolic Learning (ICML2024)

50PythonMay 10, 20241 years agoMIT
gradient-estimationneurosymbolicweighted-model-counting

Similar Papers

Cite this paper

@article{maene2024hardness,
  title  = {On the Hardness of Probabilistic Neurosymbolic Learning},
  author = {Jaron Maene and Vincent Derkinderen and Luc De Raedt},
  year   = {2024},
  eprint = {2406.04472},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.04472v1},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.04472.svg)](https://codeofpaper.com/paper/2406.04472)

Discussion