amchiclet posted on 10-17-2009 11:33 PM
Hi,
I'm new to both belief propagation and Infer.net, so if my questions don't make sense, please point me in a good direction to understand the matter better which leads to asking better questions.
I have this algorithm on paper.
There are
1) a probability distribution function
2) a psi function
3) a phi function
4) a set of nodes structured as a tree
5) messages between the nodes all initialized to 1
From what I understand, we update the messages until they "saturate". This is called belief propagation, right?
I don't really know where to start modeling this structure in Infer.net because it seems like
1) the probability distribution function doesn't look like a standard one like beta, gaussian, etc. It uses products of phi's and psi's to some extent
2) I don't know how I would go about implementing the psi and phi functions
3) I'm not quite sure what variable I want to infer
4) the inference engine will use the belief propagation algorithm, and infer() will be called once. What if I need to see the message updates between each loop?
I've seen http://community.research.microsoft.com/forums/p/2434/3726.aspx#3726 and I think that an easy example like that will help me understand the best.
Thank you for your help.