English

Relational Neurosymbolic Markov Models

Artificial Intelligence 2024-12-18 v1 Machine Learning

Abstract

Sequential problems are ubiquitous in AI, such as in reinforcement learning or natural language processing. State-of-the-art deep sequential models, like transformers, excel in these settings but fail to guarantee the satisfaction of constraints necessary for trustworthy deployment. In contrast, neurosymbolic AI (NeSy) provides a sound formalism to enforce constraints in deep probabilistic models but scales exponentially on sequential problems. To overcome these limitations, we introduce relational neurosymbolic Markov models (NeSy-MMs), a new class of end-to-end differentiable sequential models that integrate and provably satisfy relational logical constraints. We propose a strategy for inference and learning that scales on sequential settings, and that combines approximate Bayesian inference, automated reasoning, and gradient estimation. Our experiments show that NeSy-MMs can solve problems beyond the current state-of-the-art in neurosymbolic AI and still provide strong guarantees with respect to desired properties. Moreover, we show that our models are more interpretable and that constraints can be adapted at test time to out-of-distribution scenarios.

Keywords

Cite

@article{arxiv.2412.13023,
  title  = {Relational Neurosymbolic Markov Models},
  author = {Lennert De Smet and Gabriele Venturato and Luc De Raedt and Giuseppe Marra},
  journal= {arXiv preprint arXiv:2412.13023},
  year   = {2024}
}

Comments

Accepted at AAAI 2025

R2 v1 2026-06-28T20:39:02.498Z