The Design and Implementation of IBAL: A General-Purpose Probabilistic Language

1.1 Introduction In a rational programming language, a program specifes a situation encountered by an agent; evaluating the program amounts to computing what a rational agent would believe or do in the situation. Rational programming combines the advantages of declarative representations with features of programming languages such as modularity, compositionality, and type systems. A system designer need not reinvent the algorithms for deciding what the system should do in each possible situation it encounters. It is sufficient to declaratively describe the situation, and leave the sophisticated inference algorithms to the implementors of the language. One can think of Prolog as a rational programming language, focused on computing the beliefs of an agent that uses logical deduction. In the past few years there has been a shift in AI towards specifications of rational behavior in terms of probability and decision theory. There is therefore a need for a natural, expressive , general-purpose and easy to program language for probabilistic modeling. This chapterpresents IBAL, a probabilistic rational programming language. IBAL, pronounced " eyeball " , stands for Integrated Bayesian Agent Language. As its name suggests, it integrates various aspects of probability-based rational behavior, including probabilistic reasoning, Bayesian parameter estimation and decision-theoretic utility maximization. This chapterwill focus on the probabilistic representation and reasoning capabilities of IBAL, and not discuss the learning and decision making aspects. High-level probabilistic languages have generally fallen into two categories. The first category is rule-based [Poole (1993); Ngo and Haddawy (1996); Kersting and de Raedt (2000)]. In this approach the general idea is to associate logic-programming-like rules with noise factors. A rule describes how one first-order term

[1]  Pedro M. Domingos,et al.  Dynamic Probabilistic Relational Models , 2003, IJCAI.

[2]  Stuart J. Russell,et al.  Approximate inference for first-order probabilistic languages , 2001, IJCAI.

[3]  Avi Pfeffer,et al.  Object-Oriented Bayesian Networks , 1997, UAI.

[4]  David A. McAllester,et al.  Effective Bayesian Inference for Stochastic Programs , 1997, AAAI/IAAI.

[5]  Peter Haddawy,et al.  Answering Queries from Context-Sensitive Probabilistic Knowledge Bases (cid:3) , 1996 .

[6]  Luc De Raedt,et al.  Bayesian Logic Programs , 2001, ILP Work-in-progress reports.

[7]  Enrico Macii,et al.  Algebraic decision diagrams and their applications , 1993, Proceedings of 1993 International Conference on Computer Aided Design (ICCAD).

[8]  David Poole,et al.  Probabilistic Horn Abduction and Bayesian Networks , 1993, Artif. Intell..

[9]  George F. Luger,et al.  Toward General Analysis of Recursive Probability Models , 2001, UAI.

[10]  Yoshitaka Kameya,et al.  Parameter Learning of Logic Programs for Symbolic-Statistical Modeling , 2001, J. Artif. Intell. Res..

[11]  Daphne Koller,et al.  Probabilistic reasoning for complex systems , 1999 .

[12]  Rina Dechter,et al.  Bucket elimination: A unifying framework for probabilistic inference , 1996, UAI.

[13]  Nevin Lianwen Zhang,et al.  Exploiting Contextual Independence In Probabilistic Inference , 2011, J. Artif. Intell. Res..

[14]  Kathryn B. Laskey,et al.  Network Fragments: Representing Knowledge for Constructing Probabilistic Models , 1997, UAI.

[15]  Avi Pfeffer Repeated Observation Models , 2004, AAAI.

[16]  Avi Pfeffer,et al.  Probabilistic Frame-Based Systems , 1998, AAAI/IAAI.

[17]  Zhaoyu Li,et al.  Efficient inference in Bayes networks as a combinatorial optimization problem , 1994, Int. J. Approx. Reason..

[18]  Avi Pfeffer,et al.  Semantics and Inference for Recursive Probability Models , 2000, AAAI/IAAI.

[19]  David Heckerman,et al.  A New Look at Causal Independence , 1994, UAI.

[20]  Keiji Kanazawa,et al.  A model for reasoning about persistence and causation , 1989 .

[21]  Avi Pfeffer,et al.  SPOOK: A system for probabilistic object-oriented knowledge representation , 1999, UAI.