The notion of free energy in inference derives from a mathematical method of inverting a probability distribution. If the brain knows the probability of its sensations (given a “generative model of ...