arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.05588cs.DB
收藏

查询回答中事实的Banzhaf值

Banzhaf Values for Facts in Query Answering

Omer Abramovich, Daniel Deutch, Nave Frost, Ahmet Kara, Dan Olteanu

AI总结:

本文针对查询回答中数据库事实的贡献量化问题,提出基于Banzhaf值的精确、近似及排序top-k算法,并给出层次与非层次查询的二分性结果,实验性能显著优于现有方法。

摘要:

量化数据库事实对查询答案的贡献已被研究为一种解释手段。Banzhaf值最初源于博弈论,是衡量事实贡献的一种自然度量,然而针对选择-投影-连接-并集查询高效计算Banzhaf值具有挑战性。本文提出三种计算数据库事实Banzhaf值的算法:一种精确算法、一种具有相对误差保证的随时确定性近似算法,以及一种用于排序和top-$k$的算法。它们包含三个关键构建模块:将查询溯源编译为允许高效计算Banzhaf值的等价函数;利用组成函数的Banzhaf值,通过动态规划计算布尔函数中变量的Banzhaf值;以及一种对任意正DNF函数高效计算Banzhaf值下界和上界的机制。我们用一个二分性结果补充这些算法:给定两个事实,判断其中一个事实的Banzhaf值是否大于另一个事实的Banzhaf值,对于层次查询是可处理的,对于非层次查询是难处理的。实验表明,我们的算法显著优于先前工作中的精确和近似算法,多数情况下性能提升高达两个数量级。我们的算法还能覆盖先前工作无法处理的挑战性问题实例。

英文摘要:

Quantifying the contribution of database facts to query answers has been studied as means of explanation. The Banzhaf value, originally developed in Game Theory, is a natural measure of fact contribution, yet its efficient computation for select-project-join-union queries is challenging. In this paper, we introduce three algorithms to compute the Banzhaf value of database facts: an exact algorithm, an anytime deterministic approximation algorithm with relative error guarantees, and an algorithm for ranking and top-$k$. They have three key building blocks: compilation of query lineage into an equivalent function that allows efficient Banzhaf value computation; dynamic programming computation of the Banzhaf values of variables in a Boolean function using the Banzhaf values for constituent functions; and a mechanism to compute efficiently lower and upper bounds on Banzhaf values for any positive DNF function. We complement the algorithms with a dichotomy for the Banzhaf-based ranking problem: given two facts, deciding whether the Banzhaf value of one is greater than of the other is tractable for hierarchical queries and intractable for non-hierarchical queries. We show experimentally that our algorithms significantly outperform exact and approximate algorithms from prior work, most times up to two orders of magnitude. Our algorithms can also cover challenging problem instances that are beyond reach for prior work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑