Uploaded November 2026 | Updated November 2026, 1 day ago
Book: Fundamentals of Active Inference
Principles, Algorithms, and Applications of the Free Energy Principle for Engineers, by Sanjeev V. Namjoshi https://mitpress.mit.edu/9780262050951/fundamentals-of-active-inference/
Register: http://textbook-group.activeinference.institute/
Code: github.com/ActiveInferenceInstitute/fundamentals
Playlist of Textbook Group: youtube.com/playlist?list=PLNm0u2n1IwdrpoTg-9l37YIBiDrrOzTw-
Direct link to group document: coda.io/d/_dZHp_UGhVZE/Meetings_su3ToqMp
------
Active Inference Institute information:
Website: https://activeinference.institute/
X: https://x.com/InferenceActive
Discord: https://discord.activeinference.institute/
Donate: https://donate.activeinference.institute/
YouTube: youtube.com/c/ActiveInference
Active Inference Livestreams: https://video.activeinference.institute/
------
CHAPTERS
0:00 Welcome and Chapter 12 overview
3:00 Plan: sections 12.1 to 12.4 today
4:30 12.1 Introducing Forney-style factor graphs
7:30 Recap: Bayesian network notation
10:30 What a factor graph is: factors as nodes, variables as edges
13:30 Why naive global marginalization is costly
16:30 Figure 12.4: Bayesian network vs. factor graph
18:00 Observed (clamped) variables and the Dirac delta
21:00 Posteriors as colliding messages; normalization
24:00 Local inference that exploits model structure
27:00 12.2 Belief propagation (sum-product)
30:00 Example 12.2: sum of products into product of sums
34:30 Message-passing schedules
37:30 Discrete state spaces and equality factors
40:30 The hidden Markov model as a factor graph
43:30 12.3 Forward and backward (smoothing) messages
46:30 12.4 Variational message passing
51:00 The mean-field approximation
55:30 The VMP update rule (Eq. 12.18)
57:00 Preview: generalized filtering on factor graphs
1:00:00 Discussion: why factor graphs help model design
1:03:00 Q&A: variational vs. marginal message passing
1:07:30 Next session (12.5 onward)
Book: Fundamentals of Active Inference
Principles, Algorithms, and Applications of the Free Energy Principle for Engineers, by Sanjeev V. Namjoshi https://mitpress.mit.edu/9780262050951/fundamentals-of-active-inference/
Register: http://textbook-group.activeinference.institute/
Code: github.com/ActiveInferenceInstitute/fundamentals
Playlist of Textbook Group: youtube.com/playlist?list=PLNm0u2n1IwdrpoTg-9l37YIBiDrrOzTw-
Direct link to group document: coda.io/d/_dZHp_UGhVZE/Meetings_su3ToqMp
------
Active Inference Institute information:
Website: https://activeinference.institute/
X: https://x.com/InferenceActive
Discord: https://discord.activeinference.institute/
Donate: https://donate.activeinference.institute/
YouTube: youtube.com/c/ActiveInference
Active Inference Livestreams: https://video.activeinference.institute/
------
CHAPTERS
0:00 Welcome and Chapter 12 overview
3:00 Plan: sections 12.1 to 12.4 today
4:30 12.1 Introducing Forney-style factor graphs
7:30 Recap: Bayesian network notation
10:30 What a factor graph is: factors as nodes, variables as edges
13:30 Why naive global marginalization is costly
16:30 Figure 12.4: Bayesian network vs. factor graph
18:00 Observed (clamped) variables and the Dirac delta
21:00 Posteriors as colliding messages; normalization
24:00 Local inference that exploits model structure
27:00 12.2 Belief propagation (sum-product)
30:00 Example 12.2: sum of products into product of sums
34:30 Message-passing schedules
37:30 Discrete state spaces and equality factors
40:30 The hidden Markov model as a factor graph
43:30 12.3 Forward and backward (smoothing) messages
46:30 12.4 Variational message passing
51:00 The mean-field approximation
55:30 The VMP update rule (Eq. 12.18)
57:00 Preview: generalized filtering on factor graphs
1:00:00 Discussion: why factor graphs help model design
1:03:00 Q&A: variational vs. marginal message passing
1:07:30 Next session (12.5 onward)










