Inference with CVI for a sparse discrete transition model #226
Replies: 3 comments 3 replies
-
@Nimrais I think this is exactly the same problem as what we discussed today with the TrueSkill node, I recognize this error message from earlier experiments ;) |
Beta Was this translation helpful? Give feedback.
-
@ThijsvdLaar, unfortunately, I need to say that there is a bug in the current implementation of ReactiveMP.jl. Unfortunately, it's not easy to hotfix it there. I am writing an extension for ReactiveMP.jl right now, where this problem will be resolved. I think you would be able to try it early next week, I already have a Direchlet so should be fine for you. |
Beta Was this translation helpful? Give feedback.
-
@ThijsvdLaar @albertpod I have experimented with this model a bit with new CVI. And in a closer look this model is ill-defined. The main issue arises when we run CVI and need to assume a mean-field approximation over the variables The problem becomes evident when we attempt to normalize the message update over the mean-field marginal distributions of Here, The issue is that this integral evaluates to zero, which suggests that the model is not well-defined under the current assumptions. To resolve this problem, further investigation is needed to determine the appropriate assumptions for the variables |
Beta Was this translation helpful? Give feedback.
-
I'm trying to implement inference for a transition model with some sparse structure.
I'm getting warnings and an error
@Nimrais Perhaps you could tell me more about what I'm missing here? In particular, why is the CVI state not updating? And how is it possible that I obtain samples from the
MatrixDirichlet
distribution with negative entries?Beta Was this translation helpful? Give feedback.
All reactions