# EM-NeSy: Expectation Maximization for Neurosymbolic Learning

*Annegret Seibt, Luc De Raedt, Giuseppe Marra*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149935) · [OpenReview](https://openreview.net/forum?id=m5H4yh6pI7) · [Open on the map](../papers.html#p149935)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Semi-Supervised and Active Learning with Pseudo-Labels](../pgroup/533.md) · Type: new method · Keywords: neurosymbolic learning, Expectation Maximization, probabilistic inference, symbolic reasoning, parameter-efficient learning

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Hyperbolic Representation Learning

## Summary
EM-NeSy casts probabilistic neurosymbolic learning as an Expectation-Maximization algorithm, enabling approximate reasoning without differentiable symbolic components and improving scalability.

## Explained to a 5-year-old
We want computers to understand things both with pictures (neural networks) and with rules (symbols). Right now, the rules have to be special so computers can learn them. This paper makes a new way to learn where we treat the rules like hidden clues and use a step-by-step method. This helps computers learn faster and work better. It also lets computers use the rules even when they are not perfectly clear.

## Explained to a 5-year-old, longer
Computers can learn to see patterns like pictures and also follow rules like a game. In many projects, the rules need to be written in a special way that computers can understand. This makes it hard to use rules that are not exact or that need guessing. The paper introduces a new learning idea that works like a game of guessing and improving. First, it looks at what the computer thinks the rule should be, based on the pictures. Then it uses that guess to update the computer's picture-learning part. This process repeats, getting better each time, just like playing a puzzle. Because the rule part does not need to be special, we can use many different kinds of rules. It also works when we only have a little information, making learning easier. The new method can be used in many places where we want both pictures and rules. It helps computers make fewer mistakes and learn faster than before. Overall, it makes computers smarter and more flexible when they need to understand both images and logic.

## For a technical reader
EM-NeSy reframes neurosymbolic learning as an Expectation-Maximization process, separating symbolic inference from neural parameter updates. In the E-step, it computes a posterior over symbolic predictions using probabilistic inference, while the M-step updates only the neural network weights via gradient descent. This decoupling removes the requirement for differentiable symbolic components, enabling approximate reasoning and improving scalability. The formulation also recovers the standard end-to-end gradient-based neurosymbolic setting under exact inference.

## Problem
Current neurosymbolic models require the symbolic component to be differentiable, which limits the use of approximate inference and complicates integration of symbolic reasoning.

## Method
The approach formulates neurosymbolic learning as an Expectation-Maximization process, where the expectation step computes posterior over symbols via probabilistic inference, and the maximization step updates neural parameters using gradient descent only through the neural component.

## Results
The approach shows improved scalability and computational efficiency compared to prior neurosymbolic methods.

## Contributions
It introduces an EM-based formulation for neurosymbolic learning that removes the need for differentiable symbolic components and supports approximate inference, while also recovering the standard gradient-based setting under exact inference.

## Research questions this paper is counted under

- [How can we perform scalable inference and learning in neuro-symbolic systems that combine neural perception with discrete symbolic reasoning?](../q/531.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149935)
