arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1005.1934cs.DBcs.AI
收藏

基于因子图和MCMC的可扩展概率数据库

Scalable Probabilistic Databases with Factor Graphs and MCMC

University of Massachusetts(马萨诸塞大学)

Michael Wick, Andrew McCallum, Gerome Miklau

摘要:

概率数据库在不确定数据的管理和理解中起着至关重要的作用。然而,将概率纳入不完整数据库的语义中带来了许多挑战,迫使系统牺牲建模能力,可扩展性,或限制它们关闭的关系代数公式的类别。我们提出了一种替代方法,其中底层的关系数据库总是代表一个单一的世界,和一个外部因素图编码的分布在可能的世界,马尔可夫链蒙特卡罗(MCMC)推理,然后使用恢复这种不确定性所需的保真度水平。我们的方法可以有效地评估任意查询的概率数据库与任意依赖关系表示的图形模型的结构,在推理过程中发生变化。MCMC采样通过假设{ \em修改}到可能的世界而不是从头开始生成整个世界来提供效率。然后,在世界发生变化的部分上运行查询,避免了在每个采样世界上运行完整查询的繁重成本。这项工作的一个重要创新是MCMC采样和物化视图维护技术之间的连接:我们发现经验,使用视图维护技术是几个数量级的速度比天真地查询每个采样的世界。我们还展示了我们的系统的能力,回答关系查询与聚合,并通过使用并行化展示了额外的可扩展性。

英文摘要:

Probabilistic databases play a crucial role in the management and understanding of uncertain data. However, incorporating probabilities into the semantics of incomplete databases has posed many challenges, forcing systems to sacrifice modeling power, scalability, or restrict the class of relational algebra formula under which they are closed. We propose an alternative approach where the underlying relational database always represents a single world, and an external factor graph encodes a distribution over possible worlds; Markov chain Monte Carlo (MCMC) inference is then used to recover this uncertainty to a desired level of fidelity. Our approach allows the efficient evaluation of arbitrary queries over probabilistic databases with arbitrary dependencies expressed by graphical models with structure that changes during inference. MCMC sampling provides efficiency by hypothesizing {\em modifications} to possible worlds rather than generating entire worlds from scratch. Queries are then run over the portions of the world that change, avoiding the onerous cost of running full queries over each sampled world. A significant innovation of this work is the connection between MCMC sampling and materialized view maintenance techniques: we find empirically that using view maintenance techniques is several orders of magnitude faster than naively querying each sampled world. We also demonstrate our system's ability to answer relational queries with aggregation, and demonstrate additional scalability through the use of parallelization.

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

↑