IJCAI 2021poster18 citations

Evaluating Relaxations of Logic for Neural Networks: A Comprehensive Study

Mattia Medina Grespan, Ashim Gupta, Vivek Srikumar

Abstract

Symbolic knowledge can provide crucial inductive bias for training neural models, especially in low data regimes. A successful strategy for incorporating such knowledge involves relaxing logical statements into sub-differentiable losses for optimization. In this paper, we study the question of how best to relax logical expressions that represent labeled examples and knowledge about a problem; we focus on sub-differentiable t-norm relaxations of logic. We present theoretical and empirical criteria for characterizing which relaxation would perform best in various scenarios. In our theoretical study driven by the goal of preserving tautologies, the Lukasiewicz t-norm performs best. However, in our empirical analysis on the text chunking and digit recognition tasks, the product t-norm achieves best predictive performance. We analyze this apparent discrepancy, and conclude with a list of best practices for defining loss functions via logic.

Machine Learning: Neuro-Symbolic MethodsMachine Learning: Knowledge Aided LearningMachine Learning: Deep Learning
BibTeX
@inproceedings{ijcai2021p387,
  title     = {Evaluating Relaxations of Logic for Neural Networks: A Comprehensive Study},
  author    = {Medina Grespan, Mattia and Gupta, Ashim and Srikumar, Vivek},
  booktitle = {Proceedings of the Thirtieth International Joint Conference on
               Artificial Intelligence, {IJCAI-21}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Zhi-Hua Zhou},
  pages     = {2812--2818},
  year      = {2021},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2021/387},
  url       = {https://doi.org/10.24963/ijcai.2021/387},
}
Evaluating Relaxations of Logic for Neural Networks: A Comprehensive Study · IJCAI 2021