Reduced Implication-bias Logic Loss for Neuro-Symbolic Learning
Haoyuan He, Wangzhou Dai, Ming Li
TL;DR
This paper identifies Implication Bias in differentiable logic losses used in Neuro-Symbolic learning and shows it can degrade performance when the knowledge base is incomplete or labeled data are scarce. It proposes Reduced Implication-bias Logic Loss (RILL), which downweights weak samples via hinge and $l_2$-based aggregators to reduce biased gradients without modifying the knowledge base. Empirical results on MNIST/FashionMNIST/CIFAR-10 demonstrate that RILL improves accuracy and stability under incomplete KB and limited supervision, achieving notable gains (e.g., CIFAR-10 with one labeled per class). The work offers a practical, model-agnostic approach to mitigating a pervasive bias in NeSy losses, enhancing robustness in real-world scenarios.
Abstract
Integrating logical reasoning and machine learning by approximating logical inference with differentiable operators is a widely used technique in Neuro-Symbolic systems. However, some differentiable operators could bring a significant bias during backpropagation and degrade the performance of Neuro-Symbolic learning. In this paper, we reveal that this bias, named \textit{Implication Bias} is common in loss functions derived from fuzzy logic operators. Furthermore, we propose a simple yet effective method to transform the biased loss functions into \textit{Reduced Implication-bias Logic Loss (RILL)} to address the above problem. Empirical study shows that RILL can achieve significant improvements compared with the biased logic loss functions, especially when the knowledge base is incomplete, and keeps more robust than the compared methods when labelled data is insufficient.
