Advancing Fact Attribution for Query Answering: Aggregate Queries and Novel Algorithms
Omer Abramovich, Daniel Deutch, Nave Frost, Ahmet Kara, Dan Olteanu
Abstract
In this paper, we introduce a novel approach to computing the contribution of input tuples to the result of the query, quantified by the Banzhaf and Shapley values. In contrast to prior algorithmic work that focuses on Select-Project-Join-Union queries, ours is the first practical approach for queries with aggregates. It relies on two novel optimizations that are essential for its practicality and significantly improve the runtime performance already for queries without aggregates. The first optimization exploits the observation that many input tuples have the same contribution to the query result, so it is enough to compute the contribution of one of them. The second optimization uses the gradient of the query lineage to compute the contributions of all tuples with the same complexity as for one of them. Experiments with a million instances over 3 databases show that our approach achieves up to 3 orders of magnitude runtime improvements over the state-of-the-art for queries without aggregates, and that it is practical for aggregate queries.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Fast Shapley Value Computation in Data Assemblage Tasks as Cooperative Simple Games cites Computing the Shapley Value of Facts in Query Answering
- Banzhaf Values for Facts in Query Answering cites Computing the Shapley Value of Facts in Query Answering
Cited by top-tier papers1
Builds on3
- Computing the Shapley Value of Facts in Query AnsweringDaniel Deutch, Nave Frost, Benny Kimelfeld, Mikaël MonetSIGMOD 2022 · 31 citations
- Fast Shapley Value Computation in Data Assemblage Tasks as Cooperative Simple GamesXuan Luo, Jian Pei, Cheng Xu, Wenjie Zhang et al.SIGMOD 2024 · 13 citations
- Banzhaf Values for Facts in Query AnsweringOmer Abramovich, Daniel Deutch, Nave Frost, Ahmet Kara et al.SIGMOD 2024 · 8 citations
Related papers
- TreeGrad-Ranker: Feature Ranking via O(L)-Time Gradients for Decision TreesWeida Li, Yaoliang Yu, Bryan Kian Hsiang LowICLR 2026 · 5 citations
- Tab-Shapley: Identifying Top-k Tabular Data Quality InsightsManisha Padala, Lokesh Nagalapatti, Atharv Tyagi, Ramasuri Narayanam et al.AAAI 2025 · 1 citation
- Efficient Banzhaf-Based Data Valuation for k-Nearest Neighbors ClassificationGuangyi Zhang, Lutz Oettershagen, Lixu Wang, Aristides GionisVLDB 2026 · 1 citation
- Aggregated Deletion Propagation for Counting Conjunctive Query AnswersXiao Hu, Shouzhuo Sun, Shweta Patwa, Debmalya Panigrahi et al.VLDB 2021 · 7 citations
- Computing Shapley Values in Preference QueriesJiayao Zhang, Chirong Zhang, Jian Pei, Xuan Luo et al.ICDE 2025
