MEGA Hub

Differentiable Logic Programming to Mitigate Reasoning Shortcuts in Neurosymbolic Systems

Authors

Do you know Akihiro Takemura?You can claim authorship or link another user.Do you know Katsumi Inoue?You can claim authorship or link another user.

Abstract

Neurosymbolic (NeSy) systems integrate neural networks with logical reasoning to achieve both generalization and interpretability, but recent work has shown they are susceptible to shortcut reasoning behaviors. We propose a novel method using matrix-based differentiable logic programming to mitigate reasoning shortcuts in two phenomena: constraint satisfaction shortcuts, where constraints are satisfied without achieving the intended task, and cognition shortcuts, where biased data leads to semantically incorrect concept mappings despite logically sound inference. Building on recent matrix-based logic programming semantics, we introduce design elements to mitigate shortcuts, including a unified encoding of rules and constraints in a single matrix. We also identify connections to fuzzy logic t-norms and empirically compare their gradient flow properties. Through carefully designed experiments on MNIST variants, we show that one-to-one grounding of neural outputs to logical atoms significantly reduces both shortcut types compared to previous methods that rely on soft probability distributions. We then confirm that architectural choices in coupling symbolic knowledge with neural learning play a critical role in shortcut mitigation.

Community

00

Publication notes

Author note
In Proceedings ICLP 2026, arXiv:2607.17707
Journal
EPTCS 450, 2026, pp. 29-51
DOI
10.4204/EPTCS.450.3