Research map / Probabilistic and scientific modeling / Molecules and proteins
Relational Neurosymbolic Markov Models
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.
Introduces relational neurosymbolic Markov models (NeSy-MMs), differentiable sequential models whose states mix neural and relational-logic symbols, trained with a Rao-Blackwellised particle filter plus RLOO gradient estimation.
Problem
Sequential probabilistic models (e.g., transformers, HMMs) cannot guarantee logical constraints, while existing neurosymbolic systems scale exponentially with sequence length and cannot exploit Markov structure or handle neural transitions.
Approach
Model neurosymbolic states as (neural, relational symbolic) pairs with a Markov transition defined by relational logic plus neural networks; perform exact conditioning on finite parts via cluster factorisation and a Rao-Blackwellised particle filter, making the whole pipeline differentiable via RLOO gradient estimation instead of resampling.
Key results
- On the generative task with 5x5 grids, NeSy-MM reaches 97.17% reconstruction accuracy versus 91.39% for the variational transformer; on 10x10 it reaches 89.63% vs 30.62%.
- In the discriminative task, NeSy-MM achieves the best balanced accuracy in most out-of-distribution settings, e.g. 77.13% vs 41.54% for the transformer on N=15, T=20, E=2.
- VAEL fails to perform inference on a single length-10 sequence on a 3x3 grid within a 6h timeout, while NeSy-MM runs a forward and backward pass over a batch in about 0.25s.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add relational game rules to the generative model | NeSy-MM versus VT · Generative, 10×10 grid | RA: 30.62 ± 1.24 -> 89.63 ± 3.59 | Helped |
| Add relational game rules to the generative model | NeSy-MM versus VT · Generative, 10×10 grid | RE: 2.23 ± 0.01 -> 3.78 ± 0.07 | Hurt |
| Use relational representations and logical constraints rather than a transformer | Discriminative classification · OOD configurations, including longer sequences and multiple enemies | balanced accuracy | Mixed |
| Use relational representations and logical constraints rather than a transformer | Discriminative classification · OOD configurations, including longer sequences and multiple enemies | F1-score | Mixed |
Surprising findings
- The variational transformer achieves better reconstruction error than NeSy-MM on the 10x10 grid (2.23 vs 3.78), despite much lower reconstruction accuracy.
- The transformer is best in-distribution in the discriminative task (75.72 vs 64.45 balanced accuracy for NeSy-MM at N=10, T=10, E=1), so NeSy-MM does not dominate everywhere.
Limitations
- Discriminative experiments are limited to a custom NetHack-inspired simulator with only one or two enemies.
- Deep-HMM cannot be applied to larger grid sizes, and VAEL cannot scale to sequences of length 10 even on small grids.
- Requires exact conditioning of transition distributions on finite variables, which can still be costly; infinite variables rely on specialised gradient estimators.
Experimental setup
Datasets: MiniHack-based grid-world trajectories (generative) symbolic grid-world trajectories with enemies (discriminative)
Benchmarks: generative grid-world reconstruction (RE, RA) discriminative NetHack-inspired death prediction (balanced accuracy, F1)
Metrics: reconstruction error reconstruction accuracy balanced accuracy F1-score
Baselines: VAEL variational transformer Deep-HMM transformer
Builds on: DeepSeaProbLog VAEL RLOO Rao-Blackwellised particle filter weighted model integration
Closest papers by meaning
- EM-NeSy: Expectation Maximization for Neurosymbolic Learning (NeurIPS 2026 · similarity 0.88)
- Right for the Right Reasons: Avoiding Reasoning Shortcuts via Prototypical Neurosymbolic AI (NeurIPS 2025 · similarity 0.86)
- Neurosymbolic Diffusion Models (NeurIPS 2025 · similarity 0.86)
- On the Hardness of Probabilistic Neurosymbolic Learning (ICML 2024 · similarity 0.85)
- From Statistical Relational to Neuro-Symbolic Artificial Intelligence (AAAI 2024 · similarity 0.85)
- Neurosymbolic Reinforcement Learning: Playing MiniHack with Probabilistic Logic Shields (AAAI 2025 · similarity 0.85)
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.
