Fundamentals of Active Inference (Chapter 8, Session 37) August 18, 2026 @ActiveInference
Fundamentals of Active Inference (Chapter 8, Session 37) August 18, 2026  @ActiveInference
Uploaded August 2026 | Updated November 2026, 12 hours 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; second week on Chapter 8
1:30 Recap of the previous session
3:00 Where to find the code
4:30 Translating equations into code
6:00 Precision-weighted prediction errors
7:30 Perception, learning and attention: three time scales
10:30 Action and inverting the model
12:00 Precision-weighted errors in the update equations
13:30 Errata found by the group
15:00 Algorithm 12 step by step
16:30 Predicting observations from the model
18:00 Zero indexing in code
19:30 Erratum: x* in the state transition function
22:30 What Algorithm 12 leaves out
24:00 Hidden states, parameters and precisions
25:30 Initializing and recording variables
27:00 Algorithm 13: the full algorithm
30:00 Recomputing errors with new predictions
31:30 Generalized coordinates: flows of flows
33:00 Excitatory and inhibitory messages between neurons
34:30 Normative models vs. top performance
36:00 The most advanced continuous-state algorithm in the book
37:30 Nested loops across layers
39:00 Nonlinear generative processes
42:00 Libraries: SPM, pymdp, RxInfer, ActiveInference.jl
45:00 Algorithm 13 as the basis for a library
48:00 Walkthrough: Algorithm 12 in a notebook
49:30 Priors, generating functions and learning rates
51:00 The environment function
54:00 Generating and state transition functions
57:00 Partial derivatives for each update
58:30 Running the full simulation
1:00:00 The group questions page
1:01:30 Preview: discrete states in Chapter 9
Fundamentals of Active Inference (Chapter 8, Session 37) August 18, 2026ActInf GuestStream 131.1: Causal Architecture Dynamics Prior to Arrival of Self (Pigozzi and Levin)Andrew Pashea: “Active Inference Tutorial: Perspectives, Correlates, and Future Directions”ActInf GuestStream 106.1 ~  Advances and Challenges in Foundation Agents Bang Liu et al.ActInf OrgStream 009.1 ~ The Value of Open Source Software (Hoffmann, Nagle, Zhou)ActInf ModelStream 019.1: Active Inference in Discrete State Spaces from First Principles (P. Kenny)Generalized Coordinates in RxInfer.jlActInf Textbook Group ~ Cohort 9 ~ Session 5 (Chapter 4) ~ 9/18/2025Anna Pereira: “A First Principle Perspective for AI Safety”ActInf ModelStream 025.1: IWAI 2026 ~ Introduction to Active Inference (Arun Niranjan)Fundamentals of Active Inference - Open Source code availableFundamentals of Active Inference (Chapter 4, Session 18) June 12, 2026
Active Inference Institute |

Fundamentals of Active Inference (Chapter 8, Session 37) August 18, 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER