atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

Computing the Why-Provenance for Datalog Queries via SAT Solvers

AAAI 2024 · Learning theory and algorithms › Combinatorial and search optimization · approach: Logic and answer set programming theory · 4 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.

Shows how off-the-shelf SAT solvers (Glucose) can compute why-provenance for Datalog queries relative to unambiguous proof trees, enumerating explanations incrementally via blocking clauses.

Problem

Why-provenance for Datalog queries is computationally expensive and can yield counterintuitive explanations from ambiguous proof trees, and existing approaches compute the whole explanation set at once.

Approach

Restricts attention to unambiguous proof trees, encodes the existence of a compressed DAG over the downward closure as a Boolean formula (with vertex-elimination acyclicity encoding), and enumerates why-provenance members one at a time with a SAT solver using blocking clauses.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the SAT-based approach with unambiguous proof trees instead of the rule-based approachWhy-provenance computation · Galenend-to-end runtimeHelped
Use the SAT-based approach with unambiguous proof trees instead of the rule-based approachWhy-provenance computation · Doctors-iend-to-end runtimeHelped
Incrementally enumerate explanations using the SAT-based approachWhy-provenance computation · Experimental scenariosdelay per explanationHelped
Use the SAT-based approach for incremental explanation enumerationWhy-provenance computation · Experimental scenariosexplanation computation speedHelped

Surprising findings

Limitations

Experimental setup

Datasets: Doctors Galen Andersen CSDA TClosure bitcoin facebook httpd postgresql linux

Benchmarks: TClosure Galen Andersen CSDA Doctors-i

Metrics: runtime (s) delay between explanations (ms) timeouts

Baselines: rule-based why-provenance (Elhalawati, Krötzsch, and Mennicke 2022)

Builds on: why-provenance (Buneman et al. 2001) downward closure (Elhalawati et al. 2022) vertex elimination acyclicity encoding (Rankooh and Rintanen 2022) non-recursive and minimal-depth proof trees (Bourgaux et al. 2022)

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