Introduction: The Logic-Perception Gap
Neurosymbolic (NeSy) AI strives to bridge the gap between neural network perception and symbolic reasoning. A common benchmark involves interpreting handwritten digits to solve a logical task, such as determining if the sum of two digits is even. However, these models often fall prey to Reasoning Shortcuts (RS)—learning an incorrect internal mapping (e.g., misidentifying all "7"s as "1"s) that still yields the correct final answer because the logic is satisfied ($1+1$ is even, just like $7+7$).
To build reliable systems, models should be RS-aware: if the data is ambiguous, the model should express uncertainty over all possible valid interpretations. This paper investigates whether the common practice of assuming independence between symbolic concepts makes it mathematically impossible for a model to be aware of its own shortcuts.
The Independence Assumption and the XOR Trap
To keep computations tractable, most NeSy models assume that the symbolic concepts they extract are independent. For instance, the probability of the first digit being a "0" is calculated independently of the second digit. The authors prove that this assumption is a fundamental flaw.
The authors highlight the "XOR trap" using the XOR MNIST dataset. In this task, the model sees two digits (0 or 1) and predicts a label of 1 if they differ and 0 if they are the same. If a model is uncertain, it should ideally assign a 0.5 probability to the pair $(0,1)$ and 0.5 to $(1,0)$.
However, under the independence assumption, if the model assigns a 0.5 probability to each digit individually, it mathematically forces a 0.25 probability across all four possible combinations—including $(0,0)$ and $(1,1)$, which are logically impossible for a label of 1. To remain logically consistent with the label, an independent model is forced to collapse its distribution and become 100% confident in a single (potentially incorrect) shortcut. In almost all practical scenarios, the independence assumption acts as a blindfold.
Experimental Results
The researchers compared standard independent NeSy models against more expressive "Joint" and "Autoregressive" (AR) architectures. They introduced a "Uniform-KL" loss to encourage models to spread probability mass across all logically consistent interpretations.
The results confirmed that independent models were consistently overconfident, leading to high concept error despite high label accuracy. In contrast, expressive models—particularly the Autoregressive variant—successfully represented the necessary uncertainty. The AR model emerged as the most robust "Goldilocks" solution: expressive enough to handle dependencies but structured enough to learn efficiently across different logical tasks.
Conclusion
The independence assumption in neurosymbolic AI prevents models from detecting when they have taken a reasoning shortcut. By moving toward more expressive joint or autoregressive distributions, NeSy systems can become "RS-aware," expressing appropriate uncertainty in the face of ambiguous data. This is a critical step toward building reliable AI that gets the right answer for the right reasons.
Summary updated