mlsanityData to 14 Oct 2026

Semantic Objective Functions: A distribution-aware method for adding logical constraints in deep learning

arXiv 2405.15789 ↗First posted 3 May 2024cs.AI cs.IT cs.LGcited by 4

On the map: Knowledge distillation → General knowledge distillation methods

Abstract (arXiv)

Issues of safety, explainability, and efficiency are of increasing concern in learning systems deployed with hard and soft constraints. Symbolic Constrained Learning and Knowledge Distillation techniques have shown promising results in this area, by embedding and extracting knowledge, as well as providing logical constraints during neural network training. Although many frameworks exist to date, through an integration of logic and information geometry, we provide a construction and theoretical framework for these tasks that generalize many approaches. We propose a loss-based method that embeds knowledge-enforces logical constraints-into a machine learning model that outputs probability distributions. This is done by constructing a distribution from the external knowledge/logic formula and constructing a loss function as a linear combination of the original loss function with the Fisher-Rao distance or Kullback-Leibler divergence to the constraint distribution. This construction includes logical constraints in the form of propositional formulas (Boolean variables), formulas of a first-order language with finite variables over a model with compact domain (categorical and continuous variables), and in general, likely applicable to any statistical model that was pretrained with semantic information. We evaluate our method on a variety of learning tasks, including classification tasks with logic constraints, transferring knowledge from logic formulas, and knowledge distillation from general distributions.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in General knowledge distillation methods, one of 12 directions in Knowledge distillation. Builds on 12 of its 32 references that are in the map. First posted on arXiv 3 May 2024.

Builds on

12 of 32 references.

References · 12

  1. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  2. 2016Concrete Problems in AI Safetycited by 1,642
  3. 2020Knowledge Distillation: A Surveycited by 1,603
  4. 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 394
  5. 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 270
  6. 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
  7. 2019Embedding Symbolic Knowledge into Deep Networkscited by 49
  8. 2021MultiplexNet: Towards Fully Satisfied Logical Constraints in Neural Networkscited by 44
  9. 2022Deep Learning with Logical Constraintscited by 44
  10. 2018Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Insteadcited by 40
  11. 2020Symbolic Logic meets Machine Learning: A Brief Survey in Infinite Domainscited by 16
  12. 2023Parallel Neurosymbolic Integration with Concordiacited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Injecting Logical Constraints into Neural Networks via Straight-Through Estimators
  2. 2024Neuro-symbolic Learning Yielding Logical Constraints
  3. 2022Semantic Probabilistic Layers for Neuro-Symbolic Learning
  4. 2023Scalable Coupling of Deep Learning with Logical Reasoning
  5. 2026Logic-Guided Vector Fields for Constrained Generative Modeling
  6. 2025Constraints-Guided Diffusion Reasoner for Neuro-Symbolic Learning
  7. 2026Learning with Boolean threshold functions
  8. 2023dPASP: A Comprehensive Differentiable Probabilistic Answer Set Programming Environment For Neurosymbolic Learning and Reasoning