Semantic Objective Functions: A distribution-aware method for adding logical constraints in deep learning
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
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2016Concrete Problems in AI Safetycited by 1,642
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 394
- 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 270
- 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
- 2019Embedding Symbolic Knowledge into Deep Networkscited by 49
- 2021MultiplexNet: Towards Fully Satisfied Logical Constraints in Neural Networkscited by 44
- 2022Deep Learning with Logical Constraintscited by 44
- 2018Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Insteadcited by 40
- 2020Symbolic Logic meets Machine Learning: A Brief Survey in Infinite Domainscited by 16
- 2023Parallel Neurosymbolic Integration with Concordiacited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Unlocking the Potential of Generative AI through Neuro-Symbolic Architectures: Benefits and Limitationscited by 6
- 2026Logic Tensor Network-Enhanced Generative Adversarial Networkcited by 3
- 2025Neurosymbolic Reasoning Shortcuts under the Independence Assumptioncited by 2
- 2026Generate in the Chart, Not on the Boundary: Function-Symbol Grounding for Hard Constraints in LTN-GANscited by 0
- 2026Generate in the Chart, Not on the Boundary: Function-Symbol Grounding for Hard Constraints in LTN-GANs21 Aug 2026
- 2026Logic Tensor Network-Enhanced Generative Adversarial Network7 Jan 2026
- 2025Neurosymbolic Reasoning Shortcuts under the Independence Assumption15 Jul 2025
- 2025Unlocking the Potential of Generative AI through Neuro-Symbolic Architectures: Benefits and Limitations16 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2023Injecting Logical Constraints into Neural Networks via Straight-Through Estimators
- 2024Neuro-symbolic Learning Yielding Logical Constraints
- 2022Semantic Probabilistic Layers for Neuro-Symbolic Learning
- 2023Scalable Coupling of Deep Learning with Logical Reasoning
- 2026Logic-Guided Vector Fields for Constrained Generative Modeling
- 2025Constraints-Guided Diffusion Reasoner for Neuro-Symbolic Learning
- 2026Learning with Boolean threshold functions
- 2023dPASP: A Comprehensive Differentiable Probabilistic Answer Set Programming Environment For Neurosymbolic Learning and Reasoning