Abstract
Neurosymbolic (NeSy) AI systems often rely on a conditional independence assumption to maintain computational tractability when integrating logical constraints with neural networks. Recent literature has suggested that this assumption induces a harmful "deterministic bias," forcing models to arbitrarily select a single valid solution while ignoring others. This paper debunks this claim by demonstrating that NeSy learning is a structured form of disjunctive supervision. Through theoretical analysis and experiments on the "Traffic Light MNIST" benchmark, the authors show that the previously reported bias is not a result of the independence assumption, but rather an artifact of using incomplete loss functions that omit negative examples. In fact, independence is shown to help models avoid the "Winner-Take-All" collapse common in alternative architectures.
Introduction
Neurosymbolic AI seeks to combine the robust perception of deep learning with the high-level reasoning of symbolic logic. A primary mechanism for this integration is the semantic loss function, which penalizes a neural network when its predictions violate a predefined set of logical constraints. To ensure these losses are differentiable and efficient to compute, researchers typically assume conditional independence: the probability of different symbolic events (e.g., the identity of two separate digits) is independent given the input.
However, this assumption was recently challenged by van Krieken et al. (2024), who argued that independence leads to a "deterministic bias." They suggested that the model becomes overconfident in a single valid interpretation of the data, even when multiple interpretations are equally plausible. This paper investigates this claim, questioning whether independence is truly a flaw or if the observed biases stem from other methodological choices.
NeSy as Disjunctive Supervision
The authors begin by formally reducing NeSy learning to disjunctive supervision. In this setting, an input is associated with a set of possible valid labels (a disjunction) rather than a single ground-truth label.
They compare two distinct architectural approaches to this problem:
- Disjunctive Supervision (Softmax over Worlds): A model that outputs a single probability distribution over all possible valid states (or "worlds").
- Standard NeSy (Independent Components): A model composed of multiple independent neural networks whose outputs are combined via logical operators to determine the probability of a world.
By framing NeSy in this way, the authors reveal that the NeSy approach is essentially a "factored" version of disjunctive supervision. This factorization acts as a powerful structural prior rather than a limitation.
Experimental Setup: The Traffic Light MNIST
To test these ideas, the paper utilizes the Traffic Light MNIST benchmark. In this task, the model is presented with two MNIST images. A "0" digit represents a light being off, and a "1" represents it being on. The system is governed by a single logical constraint: "At most one light is on."
Under this constraint, the valid states are (Off, Off), (On, Off), and (Off, On). The state (On, On) is strictly invalid. Crucially, the model is never given direct labels for the individual digits; it only receives a signal indicating whether the pair of images satisfies the traffic light constraint.
Key Findings
1. The Winner-Take-All (WTA) Effect
The authors demonstrate that the "deterministic bias" is actually a known phenomenon in standard disjunctive supervision called the Winner-Take-All (WTA) effect. When using a softmax over all possible worlds, the model is mathematically predisposed to collapse onto a single valid world based on random initialization.
2. Independence as a Safeguard
Contrary to previous claims, the independence assumption in NeSy models actually prevents this collapse. Because the NeSy approach learns independent distributions for each component (e.g., separate classifiers for the left and right lights), it maintains the ability to distinguish between different valid configurations. It can correctly identify the specific state of each component rather than arbitrarily picking one global world to favor.
3. The Role of Truncated Loss
The study identifies the true culprit of the reported deterministic bias: the truncated loss function. The authors found that the bias only appears if the training process ignores "negative examples"—cases where the logical constraints are violated. When the model is trained using a full semantic loss that accounts for both valid and invalid states, the independence assumption works perfectly, and the model learns to classify the digits accurately.
Discussion and Limitations
While the paper successfully defends the independence assumption, it acknowledges other persistent challenges in the field. Specifically, NeSy models remain susceptible to reasoning shortcuts, where a model finds a logically consistent but semantically incorrect way to satisfy a constraint (e.g., learning to recognize a "2" as a "0" because it still satisfies the "at most one" rule).
Furthermore, while independence might technically limit the expressivity of probability distributions in finite vocabularies, the authors argue this is rarely a bottleneck in practical applications using probabilistic logic languages like DeepProbLog.
Conclusion
This research clarifies a significant misunderstanding in the Neurosymbolic AI community. The conditional independence assumption is not a source of harmful bias; rather, it is a computationally efficient and structurally sound approach to learning under logical constraints. The "deterministic bias" observed in previous studies is better explained by the Winner-Take-All effect of non-factored models and the use of incomplete loss functions. Future work should focus on mitigating reasoning shortcuts and improving constraint specification rather than moving away from independent component modeling.
Summary updated