DeepSWIP: Quotient-WMC Counterfactuals for Neural Probabilistic Logic Programs
Not on the map. Why?
Abstract (arXiv)
Neurosymbolic systems such as DeepProbLog combine neural perception with probabilistic logic, but standard inference is associational. Counterfactual reasoning additionally requires a causal semantics for interventions and evidence. We introduce DeepSWIP, a single-world counterfactual semantics for DeepProbLog programs. Using neural materialization, we reduce fixed-context neural predicates to ordinary ProbLog choices, apply Single World Intervention Programs (SWIPs), and compute counterfactuals by weighted model counting (WMC) over a single transformed program. Under finite grounding and unique-supported-model assumptions, DeepSWIP is exact relative to the learned materialized FCM. The standard quotient-WMC form of ProbLog conditionals identifies active neural probabilities and explains intervention cleaning, calibration sensitivity, and rare-evidence instability. Experiments on MPI3D confirm the transformation against a DeepTwin construction against 12,000 queries, as predicted and a 2.14× inference speedup from avoiding the Twin's endogenous duplication. A SUMO HOV experiment shows that neural calibration degradation biases plug-in estimates, while a correctly scoped randomized-policy AIPW estimator removes most first-order bias for population mean and ATE estimands. Code is at https://github.com/saibib/deepSWIP.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 6 of its 14 references that are in the map. First posted on arXiv 18 Jun 2026.
Builds on
6 of 14 references.
References · 6
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 390
- 2019On the Transfer of Inductive Bias from Simulation to the Real World: a New Disentanglement Datasetcited by 100
- 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
- 2025On Scaling Neurosymbolic Programming through Guided Logical Inferencecited by 1
- 2025The Gradient of Algebraic Model Countingcited by 1
- 2026Efficient Counterfactual Reasoning in ProbLog via Single World Intervention Programscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models
- 2025Counterfactual reasoning: an analysis of in-context emergence
- 2026Deterministic Event-Graph Substrates as World Models for Counterfactual Reasoning
- 2023dPASP: A Comprehensive Differentiable Probabilistic Answer Set Programming Environment For Neurosymbolic Learning and Reasoning
- 2026DeepLook: Deeper Thinking with Lookahead
- 2025Robustness of Neurosymbolic Reasoners on First-Order Logic Problems
- 2024The Probabilities Also Matter: A More Faithful Metric for Faithfulness of Free-Text Explanations in Large Language Models
- 2025Think before You Simulate: Symbolic Reasoning to Orchestrate Neural Computation for Counterfactual Question Answering