Skip to main content
. 2021 Feb 1;33(2):398–446. doi: 10.1162/neco_a_01341

Table 1: A Generative Model of Perception.

Prior Beliefs (Generative Model) (P) Approximate Posterior Beliefs (Q)
P(s)=Cat(D)stateprior Q(s)=Cat(s¯)stateposterior
P(o|s)=Cat(A)likelihood s¯=σ(lnDpriorbeliefs+lnA·osensoryevidence)
sstateexpectations=D
ooutcomeexpectations=As

Notes: The generative model is defined in terms of prior beliefs about hidden states P(s)=Cat(D) (where D is a vector encoding the prior probability of each state) and a likelihood mapping P(o|s)=Cat(A) (where A is a matrix encoding the probability of each outcome given a particular state). Cat(X) denotes a categorical probability distribution (see also the supplementary information A3). Through variational inference, the beliefs about hidden states s are updated given an observed sensory outcome o, thus arriving at an approximate posterior Q(s)=Cat(s¯) (see also supplementary information in appendix A1), where s¯=σ(lnD+lnA·o). Here, the dot notation indicates backward matrix multiplication (in the case of a normalized set of probabilities and a likelihood mapping): for a given outcome, A·o returns the (renormalized) probability or likelihood of each hidden state s (see also the supplementary information in appendix A2).