Code of "On the Hardness of Probaiblistic Neurosymbolic Learning"
收藏DataCite Commons2025-03-25 更新2025-04-16 收录
下载链接:
https://rdr.kuleuven.be/citation?persistentId=doi:10.48804/DAEU0M
下载链接
链接失效反馈官方服务:
资源简介:
Code to replicate all the experiments in the paper "On the Hardness of Probaiblistic Neurosymbolic Learning", published at ICML2024. The code can also be found at https://github.com/jjcmoon/hardness-nesy.
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.
提供机构:
KU Leuven RDR
创建时间:
2024-10-17



