atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

LogicMP: A Neuro-symbolic Approach for Encoding First-order Logic Constraints

ICLR 2024 · Probabilistic and scientific modeling › Molecules and proteins · approach: Probabilistic embeddings and relational inference · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LogicMP, a plug-in neural layer that performs efficient mean-field inference over a Markov Logic Network by reducing grounding messages and using Einstein summation, enabling first-order logic constraints in arbitrary neural networks.

Problem

Integrating first-order logic constraints into neural networks requires MLN inference over massive propositional groundings, which is #P-hard for exact inference and computationally expensive for approximate methods.

Approach

Derive a mean-field iteration whose grounding messages only consider true premises (for clauses) and aggregate messages per implication via Einstein summation with contraction-order optimization, so each MF iteration becomes parallel tensor operations usable as a differentiable neural layer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LogicMP to ExpressGNN w/ GS trainingExpressGNN · KinshipAUC-PR: .98 -> .99Helped
Add LogicMP to ExpressGNN w/ GS trainingExpressGNN · UW-CSEAUC-PR: .11 -> .30Helped
Add LogicMP to ExpressGNN w/ GS trainingExpressGNN · CoraAUC-PR: .64 -> .82Helped
Use LogicMP instead of ExpressGNN w/ GS for trainingExpressGNN · UW-CSEtraining efficiency: about 10 timesHelped
Add LogicMP with the list ruleBLSTM · CoNLL-2003 samples with a list structureF1: 94.68 to 97.41Helped
Add the transitivity FOLC using LogicMPLayoutLM-Pair · FUNSD full and longF1Helped
Combine LogicMP with SLrelaxLayoutLM-Pair · FUNSDF1Helped

Surprising findings

Limitations

Experimental setup

Datasets: FUNSD Kinship UW-CSE Cora CoNLL-2003 Smoke

Benchmarks: FUNSD Kinship UW-CSE Cora CoNLL-2003

Metrics: F1 AUC-PR

Baselines: LayoutLM SLrelax SPL SPADE SpanNER BIOES MCMC BP/Lifted BP MC-SAT HL-MRF ExpressGNN ExpressGNN w/ GS

Builds on: Markov Logic Networks CRFasRNN ExpressGNN Semantic Loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy