Skip to main content
Back

KU Leuven's DeepLog Makes Neurosymbolic AI 23,000x Faster on GPU

KU Leuven researchers introduce a unifying framework that compiles diverse neurosymbolic systems into algebraic circuits, exposing which design choices actually matter.

Pro

Paper, Full Access
  • DeepLog is a unifying framework that compiles neurosymbolic systems into a common intermediate language and algebraic circuits.
  • It abstracts over Boolean, fuzzy, and probabilistic logics, so systems differ by only a few lines of code.
  • Controlled experiments show logic in the architecture beats logic in the loss on all benchmarks.
  • Probabilistic semantics dominate; fuzzy t-norms often suffer from vanishing derivatives that kill training signal.
  • GPU-compiled DeepLog is several orders of magnitude faster than the original DeepProbLog CPU implementation.
  • Built on KLay for GPU circuit evaluation; software will be released after acceptance.

Neurosymbolic AI, the effort to combine neural networks with logic-based reasoning, has been stuck in what researchers call an alphabet soup problem. Dozens of systems, dozens of acronyms, and no clean way to tell whether differences in results come from the logic used, the way it is integrated, or just the implementation. A team from KU Leuven is proposing a fix with DeepLog, a theoretical and operational framework that treats neurosymbolic systems as programs on a common abstract machine.

The fragmentation problem

The field of neurosymbolic AI is fragmented: there exist numerous neurosymbolic AI systems and their commonalities and differences are poorly understood today. What is lacking is a theoretical framework for neurosymbolic AI defining what the building blocks and primitives for neurosymbolic AI are, and a corresponding implementation in open-source software packages that smoothly incorporates these into standard machine learning software. The authors argue that deep learning took off partly because tools like TensorFlow and PyTorch standardized the primitives. Neurosymbolic AI has no equivalent.

To understand why that matters, it helps to know the two big axes on which these systems disagree. First, whether logic sits in the architecture (rules become differentiable layers that force outputs to satisfy constraints by construction) or in the loss (a penalty pushes the network toward satisfying constraints, but nothing is guaranteed). Second, what kind of logic is used: Boolean, fuzzy (truth values in [0,1] via t-norms, originally built for vagueness), or probabilistic (distributions over discrete truth assignments, built for uncertainty).

An abstract machine for logic and neurons

DeepLog borrows the three-level structure that knowledge representation and deep learning both use: a high-level modeling language on top, a computational graph on the bottom, and an intermediate language in between. For neurosymbolic AI systems, such an intermediate language is still missing, and DeepLog wants to fill that gap.