Uploaded May 2025 | Updated November 2026, 2 days ago
A concise mathematical description of active inference in discrete time
Jesse van Oostrum
sciencedirect.com/science/article/pii/S0022249625000227?
github.com/jessevoostrum/active-inference
In this paper we present a concise mathematical description of active inference in discrete time. The main part of the paper serves as a basic introduction to the topic, including a detailed example of the action selection mechanism. The appendix discusses the more subtle mathematical details, targeting readers who have already studied the active inference literature but struggle to make sense of the mathematical details and derivations. Throughout, we emphasize precise and standard mathematical notation, ensuring consistency with existing texts and linking all equations to widely used references on active inference. Additionally, we provide Python code that implements the action selection and learning mechanisms described in this paper and is compatible with pymdp environments.
Jesse van Oostrum, Carlotta Langer, Nihat Ay
Active Inference Institute information:
Website: https://www.activeinference.institute/
Activities: https://activities.activeinference.institute/
Discord: https://discord.activeinference.institute/
Donate: http://donate.activeinference.institute/
YouTube: youtube.com/c/ActiveInference
X: https://x.com/InferenceActive
Active Inference Livestreams: https://video.activeinference.institute/
A concise mathematical description of active inference in discrete time
Jesse van Oostrum
sciencedirect.com/science/article/pii/S0022249625000227?
github.com/jessevoostrum/active-inference
In this paper we present a concise mathematical description of active inference in discrete time. The main part of the paper serves as a basic introduction to the topic, including a detailed example of the action selection mechanism. The appendix discusses the more subtle mathematical details, targeting readers who have already studied the active inference literature but struggle to make sense of the mathematical details and derivations. Throughout, we emphasize precise and standard mathematical notation, ensuring consistency with existing texts and linking all equations to widely used references on active inference. Additionally, we provide Python code that implements the action selection and learning mechanisms described in this paper and is compatible with pymdp environments.
Jesse van Oostrum, Carlotta Langer, Nihat Ay
Active Inference Institute information:
Website: https://www.activeinference.institute/
Activities: https://activities.activeinference.institute/
Discord: https://discord.activeinference.institute/
Donate: http://donate.activeinference.institute/
YouTube: youtube.com/c/ActiveInference
X: https://x.com/InferenceActive
Active Inference Livestreams: https://video.activeinference.institute/










![ActInf GuestStream 131.1: Causal Architecture Dynamics Prior to Arrival of Self (Pigozzi and Levin)
Causal Architecture Dynamics Prior to Arrival of Self-replicators in a Model of Catalytic Networks Relevant to Origin-of-Life
Federico Pigozzi, Michael Levin
https://arxiv.org/abs/2607.28250
Agents that exert causal power in the world are thought to be the product of selection among diverse replicators; what is the causal structure of a medium before replicators appear, and evolution takes hold? We studied information-theoretic dynamics of the popular GARD model that captures several dynamics thought to be important at lifes origin and found that causal emergence predicted the initial appearance of self-replication. Moreover, interventions that drove causal emergence up increased the longevity of self-replicators, while interventions that drove causal emergence down decreased the abundance of these self-replicators, suggesting causal emergence as a functional control knob. Thus, progressive increases in integrated causality are detectable in active media before evolutionary dynamics begin to operate, which may have implications for the origin of life across highly diverse scenarios and for understanding the forces driving the rise in causal power observed in the biosphere on Earth.
[Submitted on 30 Jul 2026]
arXiv:2607.28250 [q-bio.PE]
(or arXiv:2607.28250v1 [q-bio.PE] for this version)
https://doi.org/10.48550/arXiv.2607.28250
Focus to learn more
Active Inference Institute information:
Website: https://www.activeinference.institute/
Activities: https://activities.activeinference.institute/
Discord: https://discord.activeinference.institute/
Donate: http://donate.activeinference.institute/
YouTube: https://www.youtube.com/c/ActiveInference/
X: https://x.com/InferenceActive
Active Inference Livestreams: https://video.activeinference.institute/ ActInf GuestStream 131.1: Causal Architecture Dynamics Prior to Arrival of Self (Pigozzi and Levin)](https://i.ytimg.com/vi/onxrJkX5xrY/mqdefault.jpg)