arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.08874cs.DB
收藏

查询分类中事实Shapley值的计算

Computing the Shapley Value of Facts in Query Answering

Daniel Deutch, Nave Frost, Benny Kimelfeld, Mikaël Monet

摘要:

Shapley值是一种用于财富分配的博弈论概念,目前广泛用于解释复杂的数据密集型计算,例如网络分析或机器学习。最近的理论工作表明,在关系数据库上的查询评价很好地符合这种解释范式。然而,这些工作不足以提供实用的解决方案,固有的Shapley计算的计算挑战。在本文中,我们提出了两个实际有效的解决方案计算Shapley值的查询回答。我们首先建立了一个紧密的理论联系,广泛研究的问题,查询评价概率数据库,这使我们能够获得一个多项式时间算法的查询类概率计算是听话的。然后,我们提出了第一个实用的解决方案,计算Shapley值,采用概率查询评估工具。特别是,我们捕获的依赖性的查询答案输入数据库的事实,使用布尔表达式(数据出处),然后将其转换,通过知识编译,到一个特定的电路形式,我们设计了一个算法计算Shapley值。我们的第二个实用的解决方案是一个更快但不精确的方法,将出处转换为合取范式,并使用启发式计算Shapley值。我们在TPC-H和IMDB上的实验证明了我们的解决方案的实际有效性。

英文摘要:

The Shapley value is a game-theoretic notion for wealth distribution that is nowadays extensively used to explain complex data-intensive computation, for instance, in network analysis or machine learning. Recent theoretical works show that query evaluation over relational databases fits well in this explanation paradigm. Yet, these works fall short of providing practical solutions to the computational challenge inherent to the Shapley computation. We present in this paper two practically effective solutions for computing Shapley values in query answering. We start by establishing a tight theoretical connection to the extensively studied problem of query evaluation over probabilistic databases, which allows us to obtain a polynomial-time algorithm for the class of queries for which probability computation is tractable. We then propose a first practical solution for computing Shapley values that adopts tools from probabilistic query evaluation. In particular, we capture the dependence of query answers on input database facts using Boolean expressions (data provenance), and then transform it, via Knowledge Compilation, into a particular circuit form for which we devise an algorithm for computing the Shapley values. Our second practical solution is a faster yet inexact approach that transforms the provenance to a Conjunctive Normal Form and uses a heuristic to compute the Shapley values. Our experiments on TPC-H and IMDB demonstrate the practical effectiveness of our solutions.

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

↑