mlsanityData to 7 Oct 2026

Evaluating Relaxations of Logic for Neural Networks: A Comprehensive Study

arXiv 2107.13646 ↗First posted 28 Jul 2021cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 16 of its 33 references that are in the map. First posted on arXiv 28 Jul 2021.

Builds on

16 of 33 references.

References · 16

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 389
  3. 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 267
  4. 2017Learning Explanatory Rules from Noisy Datacited by 210
  5. 2017Logic Tensor Networks for Semantic Image Interpretationcited by 92
  6. 2020Logic-Guided Data Augmentation and Regularization for Consistent Question Answeringcited by 77
  7. 2019A Logic-Driven Framework for Consistency of Neural Modelscited by 64
  8. 2015Hinge-Loss Markov Random Fields and Probabilistic Soft Logiccited by 63
  9. 2020Joint Constrained Learning for Event-Event Relation Extractioncited by 53
  10. 2019Augmenting Neural Networks with First-order Logiccited by 51
  11. 2017Adversarial Sets for Regularising Neural Link Predictorscited by 15
  12. 2020Analyzing Differentiable Fuzzy Implicationscited by 15
4 more
  1. 2013Towards a Formal Distributional Semantics: Simulating Logical Calculi with Tensorscited by 10
  2. 2020Structured Tuning for Semantic Role Labelingcited by 10
  3. 2019On the relation between Loss Functions and T-Normscited by 5
  4. 2020Deep Adaptive Semantic Logic (DASL): Compiling Declarative Knowledge into Deep Neural Networkscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 3; 2024: 2; 2025: 1; 2026: 1.

8 papers.