-
|
Hey @wouterwln I'd like to ask a question about the EFEasVFE implementation. Let's take for example the TMaze model; in it we have something like: loc_marginalstorage = JointMarginalStorage(Contingency(ones(size(location_transition_tensor))))
loc_marginalcomponent = JointMarginalMetaComponent(loc_marginalstorage, 1, 3)
u[t] ~ Exploration(reward_observation) where {meta=JointMarginalMeta([loc_marginalcomponent])}
location[t] ~ DiscreteTransition(previous_location, location_transition_tensor, u[t]) where {meta=loc_marginalstorage}Could you help me understand what the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hey @meditans , thanks for checking out the paper! In the paper it is stated that for every iteration of the variational inference procedure, we recompute the epistemic priors. The The reason |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @wouterwln, this helped getting me unblocked. Basically the gist, looking at the
but in the code we write: u[t] ~ Exploration(y_current) where {meta=JointMarginalMeta([state_marginalcomponent])}
s[t] ~ Ambiguity(y_current) where {meta=JointMarginalMeta([observation_marginalcomponent])}and the Now I have a followup question on an aspect that still confuses me: consider this snippet from the for t in 1:T
state_marginalstorage = JointMarginalStorage(Contingency(ones(n_states, n_states, n_actions)))
state_marginalcomponent = JointMarginalMetaComponent(state_marginalstorage, 1, 3)
u[t] ~ Exploration(y_current) where {meta=JointMarginalMeta([state_marginalcomponent])}
s[t] ~ DiscreteTransition(s_prev, B, u[t]) where {meta=state_marginalstorage}
...
endHere, the variables |
Beta Was this translation helpful? Give feedback.

Hey @meditans , thanks for checking out the paper! In the paper it is stated that for every iteration of the variational inference procedure, we recompute the epistemic priors. The
JointMarginalStorageandJointMarginalMetaobjects are used to funnel the joint marginals around transition and observation nodes back into theExplorationandAmbiguitynodes such that all information is available in these nodes at the end of every iteration of message passing.The reason
JointMarginalMetaComponentis here is because I want to be able to pass multipleJointMarginalStorage's into aJointMarginalMeta, for example in the Minigrid experiments when we want to compute ambiguity over multiple observa…