An introduction to free energy
Stephen Francis Mann stephenfmann@gmail.com
Max Planck Institute for Evolutionary Anthropology
These slides: stephenfmann.com/links/sfm20221008
1
bit.ly/sfm20221008
1
Principles can be normative or descriptive (or both!)
2
bit.ly/sfm20221008
3
Sand
Water
bit.ly/sfm20221008
4
Sand
Water
bit.ly/sfm20221008
5
Sand
Water
bit.ly/sfm20221008
6
Sand
Water
bit.ly/sfm20221008
7
Sand
Water
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
8
Sand
Water
Air
Glass
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
9
Sand
Water
Air
Glass
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
10
Sand
Water
Air
Glass
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
11
Sand
Water
Air
Glass
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
12
Sand
Water
Air
Glass
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
13
Sand
Water
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
bit.ly/sfm20221008
14
Sand
Water
Path ← argmin Time(path)
“Choose the path that takes the shortest time”
Weights ← argmin Error(weights)
“Choose the weights that give the smallest error”
bit.ly/sfm20221008
2
Really simple models of the
free energy principle
15
2.1 Inference
bit.ly/sfm20221008
16
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
17
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
18
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
19
Meow!
Purr…
40% | 20% |
10% | 30% |
Purr…
Meow!
bit.ly/sfm20221008
20
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
bit.ly/sfm20221008
21
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
22
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
23
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
24
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
25
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
26
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
27
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
28
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
29
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
30
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
31
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
32
Meow!
Purr…
40% | 20% |
10% | 30% |
Meow!
?
bit.ly/sfm20221008
33
| |
?
bit.ly/sfm20221008
34
| |
?
Bogacz (2017)
bit.ly/sfm20221008
35
x = w2 | |
?
Bogacz (2017)
bit.ly/sfm20221008
36
x = N(x; w2, Σx) | |
?
Bogacz (2017)
bit.ly/sfm20221008
37
x = N(x; w2, Σx) | |
?
Bogacz (2017)
bit.ly/sfm20221008
38
x = N(x; w2, Σx) | |
?
Bogacz (2017)
bit.ly/sfm20221008
39
| |
?
Bogacz (2017)
bit.ly/sfm20221008
40
| |
?
Bogacz (2017)
bit.ly/sfm20221008
2
Really simple models of the
free energy principle
41
2.2 Action
bit.ly/sfm20221008
42
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
43
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
44
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
45
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
46
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
47
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
48
Meow!
Purr…
40% | 20% |
10% | 30% |
bit.ly/sfm20221008
2
Really simple models of the
free energy principle
49
2.3 Selection
bit.ly/sfm20221008
50
bit.ly/sfm20221008
51
bit.ly/sfm20221008
52
bit.ly/sfm20221008
53
bit.ly/sfm20221008
54
bit.ly/sfm20221008
55
Parr et al (2022:7, Fig. 1.2)
bit.ly/sfm20221008
2
Really simple models of the
free energy principle
56
2.4 Extensions
bit.ly/sfm20221008
57
bit.ly/sfm20221008
58
W2
bit.ly/sfm20221008
59
W2
W3
bit.ly/sfm20221008
60
W2
W3
W4
bit.ly/sfm20221008
61
W2
W3
X2
W4
bit.ly/sfm20221008
62
W2
W3
X2
Z2
W4
bit.ly/sfm20221008
63
W2
W3
X2
Z2
W4
bit.ly/sfm20221008
3
Outstanding issues
64
bit.ly/sfm20221008
Issue 1
It’s not free energy: it’s surprisal.
65
bit.ly/sfm20221008
Issue 1
It’s not free energy: it’s surprisal.
66
F
bit.ly/sfm20221008
Issue 1
It’s not free energy: it’s surprisal.
67
F
bit.ly/sfm20221008
Issue 1
It’s not free energy: it’s surprisal.
The argument that
Everything is trying to minimise surprisal
therefore
Everything minimises free energy
needs another premise.
68
bit.ly/sfm20221008
Issue 2
It’s not surprisal: it’s probability.
69
bit.ly/sfm20221008
Issue 2
It’s not surprisal: it’s probability.
70
F
bit.ly/sfm20221008
Issue 2
It’s not surprisal: it’s probability.
71
F
bit.ly/sfm20221008
Issue 2
It’s not surprisal: it’s probability.
Things that survive long enough will tend to be found in states conducive to their survival
This is a restatement of natural selection.
72
bit.ly/sfm20221008
Define probability w.r.t past success
Everything tries to maximise probability
Everything tries to minimise surprise
Everything tries to minimise free energy
73
bit.ly/sfm20221008
Define probability w.r.t past success
Everything tries to maximise probability
Everything tries to minimise surprise
Everything tries to minimise free energy
74
Natural selection
bit.ly/sfm20221008
Define probability w.r.t past success
Everything tries to maximise probability
Everything tries to minimise surprise
Everything tries to minimise free energy
75
Natural selection
By definition!
bit.ly/sfm20221008
Define probability w.r.t past success
Everything tries to maximise probability
Everything tries to minimise surprise
Everything tries to minimise free energy
76
Natural selection
By definition!
Why not minimise surprise directly?
bit.ly/sfm20221008
Define probability w.r.t past success
Everything tries to maximise probability
Everything tries to minimise surprise
Everything tries to minimise free energy
77
Natural selection
By definition!
Why not minimise surprise directly?
Why not some other approximation?
bit.ly/sfm20221008
Issue 3
The interpretation of p(w,x) is unorthodox.
Both probabilities and preferences simultaneously?
78
bit.ly/sfm20221008
Issue 4
Realism vs instrumentalism.
Proponents tend to pick and choose depending on the case at hand.
79
bit.ly/sfm20221008
80
Parr et al (2022:7, Fig. 1.2)
bit.ly/sfm20221008
81
Parr et al (2022:7, Fig. 1.2)
bit.ly/sfm20221008
82
Parr et al (2022:7, Fig. 1.2)
bit.ly/sfm20221008
References
Bogacz, R. (2017). A tutorial on the free-energy framework for modelling perception and learning. Journal of Mathematical Psychology, 76, 198–211. https://doi.org/10.1016/j.jmp.2015.11.003
Mann, S. F., Pain, R., & Kirchhoff, M. D. (2022). Free Energy: A User’s Guide. Biology & Philosophy, 37(4), 35. https://doi.org/10.1007/s10539-022-09864-z
Parr, T., Pezzulo, G., & Friston, K. J. (2022). Active Inference: The Free Energy Principle in Mind, Brain, and Behavior. MIT Press.
83
bit.ly/sfm20221008
Active inference and the self
Allen, M., & Friston, K. J. (2018). From cognitivism to autopoiesis: Towards a computational framework for the embodied mind. Synthese, 195(6), 2459–2482. https://doi.org/10.1007/s11229-016-1288-5
Deane, G. (2020). Dissolving the self: Active inference, psychedelics, and ego-dissolution. Philosophy and the Mind Sciences, 1(I), Article I. https://doi.org/10.33735/phimisci.2020.I.39
Limanowski, J., & Friston, K. (2020). Attenuating oneself: An active inference perspective on “selfless” experiences. Philosophy and the Mind Sciences, 1(I), Article I. https://doi.org/10.33735/phimisci.2020.I.35
Seth, A. K., & Friston, K. J. (2016). Active interoceptive inference and the emotional brain. Philosophical Transactions of the Royal Society B: Biological Sciences, 371(1708), 20160007. https://doi.org/10.1098/rstb.2016.0007
84
bit.ly/sfm20221008