Differentiable Logic Programming to Mitigate Reasoning Shortcuts in Neurosymbolic Systems
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LO
- Journal
- EPTCS 450, 2026, pp. 29-51
- Comments
- In Proceedings ICLP 2026, arXiv:2607.17707
Related papers
Integrating Reasoning Systems for Trustworthy AI, Proceedings of the 4th Workshop on Logic and Practice of Programming (LPOP)
Shared title terminologycs.AIAnil Nerode, Yanhong A. Liu
Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data
Shared title terminologycs.AIBaptiste Juran, Dimitri Kachler, Damien Sileo
Reason Popper-ly: Patching In-Context Reasoning with Inductive Logic Programming
Shared title terminologycs.AIZirong Chen, Meiyi Ma
From Rule-based to Agentic: LLM Agent based Real-time Control of Urban Drainage Systems for Flooding and Sewer Overflow Mitigation
Shared title terminologycs.AIWenchong Tian, Shixun Li, Ruozhou Lin et al.
Artificial Intelligence for Mathematical Reasoning: An Integrated Survey of Language Models, Neuro-symbolic Systems, and Verified Discovery
Shared title terminologycs.AISyed Rifat Raiyan, Mohsinul Kabir, Hasan Mahmud et al.
SymStep: Symbolic Step Verification for Logical Reasoning
Shared title terminologycs.AIAida Usmanova, Rui Gao, Dilshod Azizov et al.