Approximate Bayesian inference with exchangeable distributions for neurosymbolic AI
Abstract
Approximate Bayesian inference has driven significant advances in probabilistic machine learning at the basis of modern generative modelling. However, many successful Bayesian methods, such as variational inference or sequential Monte Carlo, often struggle in discrete domains with complex structure. In particular, their application to the challenges of neurosymbolic AI, i.e. learning and reasoning under uncertainty, is largely unexplored. Exploring the potential and opportunities of approximate Bayesian inference for neurosymbolic AI forms our three main contributions. First, the introduction of FiNS, a principled and general-purpose approach to learning and reasoning at scale that maintains statistical guarantees at test time. Second, a theoretical understanding of what properties a reasonable approximation to a neurosymbolic problem should have and how to practically enforce these properties in FiNS. Third, an empirical evaluation showing that FiNS reaches state-of-the-art performance on large neurosymbolic benchmarks at a favourable computational cost. The validation confirms FiNS provides approximations with symbolic properties such as consistency with background knowledge and generalisation from smaller to larger domains.