Street scene with detected traffic lights and a pedestrian
Probabilities
Constraints
Probability tensor over traffic light, pedestrian and action Constraints tensor: 1 where both constraints hold, 0 elsewhere
*
=
Product tensor: only the cells that satisfy the constraints keep their probability
→
→
Rank-1 tensor train of the probabilities, at (red, pedestrian, go) Rank-2 tensor train of the constraints, at (red, pedestrian, go)
red → stop
pedestrian → stop
Constraint red implies stop as a 0/1 table Constraint pedestrian implies stop as a 0/1 table
↓
↓
Tensor train of red implies stop Tensor train of pedestrian implies stop
*
↓
Product tensor train, computed in closed form
recompress approximately ↓
Recompressed tensor train

Where to Approximate in Neurosymbolic Inference?

1. compile each factor→ 2. multiply→ 3. recompress
Samy Badreddine · Emile van Krieken · Luciano Serafini · Antonio Vergari
NeurIPS 2026