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

使用Datasheet的声明式统计建模

Declarative Statistical Modeling with Datalog

LogicBlox, Inc.(LogicBlox公司);Oxford University(牛津大学)

Vince Barany, Balder ten Cate, Benny Kimelfeld, Dan Olteanu, Zografoula Vagena

摘要:

用于指定统计模型的形式,例如概率程序设计语言,通常由两部分组成:随机过程的规范(先验)和将概率空间限制为条件子空间的观测规范(后验)。这种形式主义的用例包括机器学习和人工智能中的算法的开发。我们提出并研究了一个声明性的框架,通过适当的扩展数据库的数据库上指定的统计模型。通过扩展数据库,我们的框架提供了一个自然的集成与数据库,并具有强大的声明性语义。我们的数据库扩展提供了方便的机制,包括数值概率函数,特别是,规则的结论可能包含从这些功能得出的值。程序的语义是输入数据库中关于程序的可能结果的概率分布;这些结果是关于结论中存在量化变量的相关程序的最小解。通过对外延关系和内涵关系的完整性约束,观察自然地被合并。我们专注于使用离散数值分布的程序,但即使这样,可能结果的空间也可能是不可数的(因为解决方案可以是无限的)。我们定义了一个概率测度可能的结果,通过应用已知的概念,圆柱集的概率追逐过程。我们表明,由此产生的语义是强大的,在不同的追逐。我们还确定了保证所有可能结果都是有限的条件(然后概率空间是离散的)。我们认为,我们提出的框架保留了纯粹的声明性质的数据库,并允许自然规范的统计模型。

英文摘要:

Formalisms for specifying statistical models, such as probabilistic-programming languages, typically consist of two components: a specification of a stochastic process (the prior), and a specification of observations that restrict the probability space to a conditional subspace (the posterior). Use cases of such formalisms include the development of algorithms in machine learning and artificial intelligence. We propose and investigate a declarative framework for specifying statistical models on top of a database, through an appropriate extension of Datalog. By virtue of extending Datalog, our framework offers a natural integration with the database, and has a robust declarative semantics. Our Datalog extension provides convenient mechanisms to include numerical probability functions; in particular, conclusions of rules may contain values drawn from such functions. The semantics of a program is a probability distribution over the possible outcomes of the input database with respect to the program; these outcomes are minimal solutions with respect to a related program with existentially quantified variables in conclusions. Observations are naturally incorporated by means of integrity constraints over the extensional and intensional relations. We focus on programs that use discrete numerical distributions, but even then the space of possible outcomes may be uncountable (as a solution can be infinite). We define a probability measure over possible outcomes by applying the known concept of cylinder sets to a probabilistic chase procedure. We show that the resulting semantics is robust under different chases. We also identify conditions guaranteeing that all possible outcomes are finite (and then the probability space is discrete). We argue that the framework we propose retains the purely declarative nature of Datalog, and allows for natural specifications of statistical models.

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

↑