Semantic Loss Functions for Neuro-Symbolic Structured Prediction
Not on the map. Why?
Abstract (arXiv)
Structured output prediction problems are ubiquitous in machine learning. The prominent approach leverages neural networks as powerful feature extractors, otherwise assuming the independence of the outputs. These outputs, however, jointly encode an object, e.g. a path in a graph, and are therefore related through the structure underlying the output space. We discuss the semantic loss, which injects knowledge about such structure, defined symbolically, into training by minimizing the network's violation of such dependencies, steering the network towards predicting distributions satisfying the underlying structure. At the same time, it is agnostic to the arrangement of the symbols, and depends only on the semantics expressed thereby, while also enabling efficient end-to-end training and inference. We also discuss key improvements and applications of the semantic loss. One limitations of the semantic loss is that it does not exploit the association of every data point with certain features certifying its membership in a target class. We should therefore prefer minimum-entropy distributions over valid structures, which we obtain by additionally minimizing the neuro-symbolic entropy. We empirically demonstrate the benefits of this more refined formulation. Moreover, the semantic loss is designed to be modular and can be combined with both discriminative and generative neural models. This is illustrated by integrating it into generative adversarial networks, yielding constrained adversarial networks, a novel class of deep generative models able to efficiently synthesize complex objects obeying the structure of the underlying domain.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 30 of its 51 references that are in the map. First posted on arXiv 12 May 2024.
Builds on
30 of 51 references.
References · 30
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
- 2016Improved Techniques for Training GANscited by 2,970
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,636
- 2016InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Netscited by 860
- 2018Which Training Methods for GANs do actually Converge?cited by 679
- 2016StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 577
- 2016f-GAN: Training Generative Neural Samplers using Variational Divergence Minimizationcited by 506
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 394
- 2018MolGAN: An implicit generative model for small molecular graphscited by 393
- 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 322
- 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 270
18 more
- 2017MMD GAN: Towards Deeper Understanding of Moment Matching Networkcited by 254
- 2019Differentiation of Blackbox Combinatorial Solverscited by 226
- 2020Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuitscited by 103
- 2022Semantic Probabilistic Layers for Neuro-Symbolic Learningcited by 103
- 2017Logic Tensor Networks for Semantic Image Interpretationcited by 92
- 2018Evolving Mario Levels in the Latent Space of a Deep Convolutional Generative Adversarial Networkcited by 76
- 2020Coherent Hierarchical Multi-Label Classification Networkscited by 65
- 2015Distributional Smoothing with Virtual Adversarial Trainingcited by 61
- 2021MultiplexNet: Towards Fully Satisfied Logical Constraints in Neural Networkscited by 44
- 2016The VGLC: The Video Game Level Corpuscited by 41
- 2020A Frustratingly Easy Approach for Entity and Relation Extractioncited by 37
- 2021Multi-Label Classification Neural Networks with Hard Logical Constraintscited by 36
- 2022SIMPLE: A Gradient Estimator for k-Subset Samplingcited by 34
- 2016Programming with a Differentiable Forth Interpretercited by 33
- 2022Neuro-Symbolic Entropy Regularizationcited by 27
- 2023Semantic Strengthening of Neuro-Symbolic Learningcited by 12
- 2018Tunneling Neural Perception and Logic Reasoning through Abductive Learningcited by 6
- 2018On a Convex Logic Fragment for Learning and Reasoningcited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
- 2024Understanding the Logic of Direct Preference Alignment through Logiccited by 5
- 2026A neurosymbolic Approach with Epistemic Deep Learning for Hierarchical Image Classificationcited by 1
- 2025NASP-T: A Fuzzy Neuro-Symbolic Transformer for Logic-Constrained Aviation Safety Report Classificationcited by 0
- 2026A neurosymbolic Approach with Epistemic Deep Learning for Hierarchical Image Classification11 May 2026
- 2025NASP-T: A Fuzzy Neuro-Symbolic Transformer for Logic-Constrained Aviation Safety Report Classification6 Oct 2025
- 2024Understanding the Logic of Direct Preference Alignment through Logic23 Dec 2024