LogicMP: A Neuro-symbolic Approach for Encoding First-order Logic Constraints
Not on the map. Why?
Abstract (arXiv)
Integrating first-order logic constraints (FOLCs) with neural networks is a crucial but challenging problem since it involves modeling intricate correlations to satisfy the constraints. This paper proposes a novel neural layer, LogicMP, whose layers perform mean-field variational inference over an MLN. It can be plugged into any off-the-shelf neural network to encode FOLCs while retaining modularity and efficiency. By exploiting the structure and symmetries in MLNs, we theoretically demonstrate that our well-designed, efficient mean-field iterations effectively mitigate the difficulty of MLN inference, reducing the inference from sequential calculation to a series of parallel tensor operations. Empirical results in three kinds of tasks over graphs, images, and text show that LogicMP outperforms advanced competitors in both performance and efficiency.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 26 of its 52 references that are in the map. First posted on arXiv 27 Sep 2023.
Builds on
26 of 52 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 553
- 2016Neural Architectures for Named Entity Recognitioncited by 550
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 394
- 2019FUNSD: A Dataset for Form Understanding in Noisy Scanned Documentscited by 349
- 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 270
- 2015Conditional Random Fields as Recurrent Neural Networkscited by 214
- 2015Named Entity Recognition with Bidirectional LSTM-CNNscited by 201
- 2020Logic Tensor Networkscited by 199
- 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
- 2022Semantic Probabilistic Layers for Neuro-Symbolic Learningcited by 103
- 2019Probabilistic Logic Neural Networks for Reasoningcited by 69
14 more
- 2020Spatial Dependency Parsing for Semi-Structured Document Information Extractioncited by 65
- 2015Hinge-Loss Markov Random Fields and Probabilistic Soft Logiccited by 63
- 2021SpanNER: Named Entity Re-/Recognition as Span Predictioncited by 55
- 2019Augmenting Neural Networks with First-order Logiccited by 51
- 2020Efficient Probabilistic Logic Reasoning with Graph Neural Networkscited by 50
- 2021MultiplexNet: Towards Fully Satisfied Logical Constraints in Neural Networkscited by 44
- 2021Multi-Label Classification Neural Networks with Hard Logical Constraintscited by 36
- 2020Relational Neural Machinescited by 19
- 2023Injecting Logical Constraints into Neural Networks via Straight-Through Estimatorscited by 12
- 2020Structural Knowledge Distillation: Tractably Distilling Information for Structured Predictorcited by 7
- 2014Understanding the Complexity of Lifted Inference and Asymmetric Weighted Model Countingcited by 3
- 2020AIN: Fast and Accurate Sequence Labeling with Approximate Inference Networkcited by 3
- 2021DeepPSL: End-to-end perception and reasoningcited by 3
- 2014Lifted Probabilistic Inference for Asymmetric Graphical Modelscited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.