Jonathan Ehrenreich Laursen

Mr. Jonathan Ehrenreich Laursen

orcid

Research Focus & Metrics

Academic Career Length

3Years (2024-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
1 February 2025 in Entropy
Verified
Journal Article
Open access
PDF file
PWPeter Thestrup Waade
Peter Thestrup Waade
COChristoffer Lundbak Olesen
Christoffer Lundbak Olesen
JLJonathan Ehrenreich Laursen
Jonathan Ehrenreich Laursen
SNSamuel William Nehrer
Samuel William Nehrer
CHConor Heins
Conor Heins
CMChristoph Mathys
Christoph Mathys
Active inference under the Free Energy Principle has been proposed as an across-scales compatible framework for understanding and modelling behaviour and self-maintenance. Crucially, a collective of active inference agents can, if they maintain a group-level Markov blanket, constitute a larger group-level active inference agent with a generative model of its own. This potential for computational scale-free structures speaks to the application of active inference to self-organizing systems across spatiotemporal scales, from cells to human collectives. Due to the difficulty of reconstructing the generative model that explains the behaviour of emergent group-level agents, there has been little research on this kind of multi-scale active inference. Here, we propose a data-driven methodology for characterising the relation between the generative model of a group-level agent and the dynamics of its constituent individual agents. We apply methods from computational cognitive modelling and computational psychiatry, applicable for active inference as well as other types of modelling approaches. Using a simple Multi-Armed Bandit task as an example, we employ the new ActiveInference.jl library for Julia to simulate a collective of agents who are equipped with a Markov blanket. We use sampling-based parameter estimation to make inferences about the generative model of the group-level agent, and we show that there is a non-trivial relationship between the generative models of individual agents and the group-level agent they constitute, even in this simple setting. Finally, we point to a number of ways in which this methodology might be applied to better understand the relations between nested active inference agents across scales.

12 January 2025 in Entropy
Verified
Journal Article
Open access
PDF file
SNSamuel William Nehrer
Samuel William Nehrer
JLJonathan Ehrenreich Laursen
Jonathan Ehrenreich Laursen
CHConor Heins
Conor Heins
KFKarl Friston Friston
Karl Friston Friston
CMChristoph Mathys
Christoph Mathys
PWPeter Thestrup Waade
Peter Thestrup Waade
We introduce a new software package for the Julia programming language, the library ActiveInference.jl. To make active inference agents with Partially Observable Markov Decision Process (POMDP) generative models available to the growing research community using Julia, we re-implemented the pymdp library for Python. ActiveInference.jl is compatible with cutting-edge Julia libraries designed for cognitive and behavioural modelling, as it is used in computational psychiatry, cognitive science and neuroscience. This means that POMDP active inference models can now be easily fit to empirically observed behaviour using sampling, as well as variational methods. In this article, we show how ActiveInference.jl makes building POMDP active inference models straightforward, and how it enables researchers to use them for simulation, as well as fitting them to data or performing a model comparison.

24 October 2024 in Preprints.org
Verified
Preprint
Open access
PDF file
PWPeter Thestrup Waade
Peter Thestrup Waade
COChristoffer Lundbak Olesen
Christoffer Lundbak Olesen
JLJonathan Ehrenreich Laursen
Jonathan Ehrenreich Laursen
SNSamuel William Nehrer
Samuel William Nehrer
CHConor Heins
Conor Heins
CMChristoph Mathys
Christoph Mathys
Active inference under the Free Energy Principle has been proposed as an across-scales compatible framework for understanding and modelling behaviour and self-maintenance. Crucially, a collective of active inference agents can, if they maintain a group-level Markov Blanket, constitute a larger group-level active inference agent with a generative model of its own. This potential for computational, scale-free structures speaks to the application of active inference to self-organizing systems across spatiotemporal scales, from cells to human collectives. Due to the difficulty of reconstructing the generative model — that explains the behaviour — of emergent group-level agents, there has been little research on this kind of multi-scale active inference. Here, we propose a data-driven methodology for characterising the relation between the generative model of a group-level agent and the dynamics of its constituent individual agents. We apply methods from computational cognitive modelling and computational psychiatry, applicable for active inference as well as other types of modelling approaches. Using a simple multi-armed bandit task as an example, we employ the new ActiveInference.jl library for Julia to simulate a collective of agents who are equipped with a Markov blanket. We use sampling-based parameter estimation to make inferences about the generative model of the group-level agent and we show that there is a non-trivial relationship between the generative models of individual agents and the group-level agent they constitute, even in this simple setting. Finally, we point to a number of ways in which this methodology might be applied to better understand the relations between nested active inference agents across scales.

26 November 2024 in Preprints.org
Verified
Preprint
Open access
PDF file
SNSamuel William Nehrer
Samuel William Nehrer
JLJonathan Ehrenreich Laursen
Jonathan Ehrenreich Laursen
CHConor Heins
Conor Heins
KFKarl Friston Friston
Karl Friston Friston
CMChristoph Mathys
Christoph Mathys
PWPeter Thestrup Waade
Peter Thestrup Waade
We introduce a new software package for the Julia programming language, the library ActiveInference.jl. To make active inference agents with Partially-Observable Markov Decision Process (POMDP) generative models available to the growing research community using Julia, we re-implemented the pymdp library for Python. ActiveInference.jl is compatible with cutting-edge Julia libraries designed for cognitive and behavioral modeling as it is used in computational psychiatry, cognitive science, and neuroscience. This means that POMDP active inference models can now easily be fit to empirically observed behavior, using sampling as well as variational methods. In this article, we show how ActiveInference.jl makes building POMDP active inference models straightforward, and how it enables researchers to use them for simulation as well as fitting them to data or to do model comparison.