next up previous
Next: Conclusion Up: Introduction to Temporal Bayesian Previous: Theoretical Structures

First Model Temporal Bayesian Network (FMTBN)

We now present a more restricted TBN formulation:

  1.   definition154

  2. All relations between RVs are tex2html_wrap_inline765 , No relations between TRVs, and relations from TRVs to RVs are tex2html_wrap_inline767 .

This model can represent anything that can be modeled with a Bayesian network as it provides a superset of the Bayesian network syntax. Also, we can explicitly model an event that occurs during an interval with the limitation that after the event has occurred, there is persistence. For example if a support technician arrived at work between 07:00am and 07:30am the technician will still be at work at 09:00am and if the tech leaves work between 4:30pm and 5:00pm, she will still be gone from work at 10:00pm. We model a tech-support situation (see below) with a three node TBN (Figure 2).

Tech support is only available if the phones are working and the support technician has arrived at work. The probability that the phones are working is 0.95. The support tech has a fifty percent chance of starting work between 7:15am and 7:45am, 25 percent chance between 7:46am and 8:15am, and a 12.5 percent chance between 8:16am and 8:45am. If the tech is not in by 8:45am, she is not coming in at all.

 

  figure169


Figure 2: Poor Support Inc. Tech-support TBN with two RVs and one TRV. The probabilities used in the figure are the dependent probabilities rather then the break-out used in the text description, e.g. (0.5,0.25,0.125) becomes (0.5,0.5,0.5).

As all probabilities for the RVs in the TRV are dependent on all previous RVs not happening, the notation tex2html_wrap_inline773 is used as shorthand for tex2html_wrap_inline775

For reasoning over the model, we focus on belief revision (i.e. finding the most probable explanation). For our example model, there are two normal RVs and one TRV. The two RVs each have two states, tex2html_wrap_inline587 and tex2html_wrap_inline779 , and the TRV also has two states however the TRV is tex2html_wrap_inline587 only for some interval, a, b, or c. This gives a total of tex2html_wrap_inline789 possible complete assignments to our TBN. The cases where the TRV is tex2html_wrap_inline587 for more than one interval do not need to be considered as they have zero probability.

Now we need to choose which of these sixteen complete assignments is the most probable explanation given some evidence. A set of evidence is presented in the form of a partial assignment. For our example, tex2html_wrap_inline793 is the PA for ``Phones working and technician did not arrive between 07:46 and 08:15.''

A complete assignment, M, is said to be compatible with E iff tex2html_wrap_inline799 . If tex2html_wrap_inline801 then M is incompatible with E. A complete assignment tex2html_wrap_inline807 in our sample model compatible with E is tex2html_wrap_inline811 , tex2html_wrap_inline813 tex2html_wrap_inline815 , tex2html_wrap_inline817 , tex2html_wrap_inline819 .

In a Bayesian network, the joint conditional probability of a complete assignment is found using the chain rule [2, pg. 227,]. In the FMTBN, the chain rule is also used. We perform a topological ordering on the nodes of the TBN to find the order of computation. As the TRVs are not dependent on anything, they are placed at the end of the order. The remainder of the network is a Bayesian network and the ordering is constructed accordingly.

For our example network, the set of TRVs is tex2html_wrap_inline821 and the RVs are tex2html_wrap_inline823 and our ordering is (SA, PH, TA) We then write the chain rule for some complete assignment Z:

  eqnarray908

where T is a XOR RV which has tex2html_wrap_inline831 when only one of A, B, or C is tex2html_wrap_inline587 , zero on all other cases. Applying this to the complete assignment tex2html_wrap_inline807 above, we compute

displaymath742

definition186

Since tex2html_wrap_inline859 and an incompatible complete assignment can not be a MPE, we only need to consider those complete assignments for which tex2html_wrap_inline799 as candidates. Thus since tex2html_wrap_inline863 , we derive tex2html_wrap_inline865

Following the above method, the FMTBN can be transformed into an equivalent Bayesian network that can than be used for belief revision and updating [2]. Details of the transform are available in [5]. The transform generates many conditional probabilities, requiring tex2html_wrap_inline867 conditional probabilities for the ith interval. As the TRV requires only one conditional probability per interval, the large number of probabilities introduced by the transform are wasteful.

The conciseness, in terms of probabilities needed, of the TRV notation, suggests that using Bayesian networks for computation may not be the best approach. An alternate approach, using a linear constraint system, was developed. This extends an approach developed in  [3] for coding Bayesian Networks as a system of linear constraints.

The following steps produce the constraints, variables, and costs.

  1. For each TRV A
    1. Introduce variables tex2html_wrap_inline873 and tex2html_wrap_inline875 with cost functions

      displaymath743

       

    2. and the constraint

      (3)  displaymath911

    3. Now let tex2html_wrap_inline877 such that tex2html_wrap_inline879 where tex2html_wrap_inline881 and tex2html_wrap_inline883 .
    4. For each RV tex2html_wrap_inline885
      1. Introduce variables tex2html_wrap_inline887 and tex2html_wrap_inline889 with cost functions

        displaymath744

         

      2. and the constraints tex2html_wrap_inline891 and tex2html_wrap_inline893 .  
    5. And finally to tie A to its component RVs, we add the constraint

      displaymath745

      .  

Constraint 3 ensures that, to the rest of the TBN, TRV A can only take on one value. Constraint 1e forces A to be tex2html_wrap_inline587 iff one of the RVs for its intervals is tex2html_wrap_inline587 . Constraint set 1(d)ii combined with the cost functions 1(d)i ensure that the cost of an instantiation set is consistent with the conditional probabilities in the TRV.

Note that the construction of the linear constraint system can be done linear to the size of tex2html_wrap_inline905 . Contrast this with the conversion to Bayesian network which was exponential to the size of tex2html_wrap_inline905 .

After the linear constraint system has been fleshed out for the TRVs, the method from [3] is used to provide the rules for the rest of the random variables. An algorithm from same, using mixed Boolean linear programming, allows determination of the most probable explanation.


next up previous
Next: Conclusion Up: Introduction to Temporal Bayesian Previous: Theoretical Structures

Joel Young
Mon Apr 15 13:06:59 EDT 1996