Differentiable Logic Programming to Mitigate Reasoning Shortcuts in Neurosymbolic Systems

Akihiro Takemura, Katsumi Inoue
7/23/2026
cs.AIcs.LO

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{takemura2026differentiable,
  title  = {Differentiable Logic Programming to Mitigate Reasoning Shortcuts in Neurosymbolic Systems},
  author = {Akihiro Takemura and Katsumi Inoue},
  year   = {2026},
  eprint = {2607.21185},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.21185v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.21185.svg)](https://codeofpaper.com/paper/2607.21185)

Discussion