mlsanityData to 7 Oct 2026

Injecting Logical Constraints into Neural Networks via Straight-Through Estimators

arXiv 2307.04347 ↗First posted 10 Jul 2023cs.AI cs.LG cs.NEcited by 12

Not on the map. Why?

Abstract (arXiv)

Injecting discrete logical constraints into neural network learning is one of the main challenges in neuro-symbolic AI. We find that a straight-through-estimator, a method introduced to train binary neural networks, could effectively be applied to incorporate logical constraints into neural network learning. More specifically, we design a systematic way to represent discrete logical constraints as a loss function; minimizing this loss using gradient descent via a straight-through-estimator updates the neural network's weights in the direction that the binarized outputs satisfy the logical constraints. The experimental results show that by leveraging GPUs and batch training, this method scales significantly better than existing neuro-symbolic methods that require heavy symbolic computation for computing gradients. Also, we demonstrate that our method applies to different types of neural networks, such as MLP, CNN, and GNN, making them learn with no or fewer labeled data by learning directly from known constraints.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 18 of its 38 references that are in the map. First posted on arXiv 10 Jul 2023.

Builds on

18 of 38 references.

References · 18

  1. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  2. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  3. 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
  4. 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 389
  5. 2019The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervisioncited by 369
  6. 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 267
  7. 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
  8. 2019Differentiation of Blackbox Combinatorial Solverscited by 224
  9. 2018Learning a SAT Solver from Single-Bit Supervisioncited by 198
  10. 2017Neural-Symbolic Learning and Reasoning: A Survey and Interpretationcited by 195
  11. 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
  12. 2019Neural-Symbolic Computing: An Effective Methodology for Principled Integration of Machine Learning and Reasoningcited by 149
6 more
  1. 2020Complex Query Answering with Neural Link Predictorscited by 98
  2. 2020Graph Neural Networks Meet Neural-Symbolic Computing: A Survey and Perspectivecited by 93
  3. 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Surveycited by 72
  4. 2017Recurrent Relational Networkscited by 71
  5. 2020Neural-Symbolic Integration: A Compositional Perspectivecited by 45
  6. 2019Plug-in, Trainable Gate for Streamlining Arbitrary Neural Networkscited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

12 papers.