Magnus Koudahl
· 6 previous affiliations
- PlantingSpaceSince 2026
- Bayesian Software Developer · Since 2026
- VERSES (United States)2022–2026
- Senior Machine Learning Research Engineer · 2024–2026
- Machine Learning Research Engineer · 2023–2024
- Researcher · 2022–2023
- Eindhoven University of Technology2018–2023
- PhD student · 2018–2023
- Nested Minds2021–2022
- Developer · 2021–2022
- 2021.AI2018
- Data Scientist · 2018
- University of Copenhagen2015–2017
- Master of Science (M.Sc.), It & Cognition · 2015–2017
Research Overview
Magnus Koudahl focuses on Bayesian inference, generative modeling, and the application of the free energy principle to artificial and biological systems. His collaborative trajectory spans from variational message passing in nonlinear system identification to large-scale frameworks for active inference and structure learning. Recently, his contributions have centered on scale-free active inference and the development of renormalising generative models for spatial and temporal compositionality.
Research Trajectory
Magnus Koudahl’s research trajectory is characterized by a consistent engagement with probabilistic modeling, particularly through the lenses of variational inference and the free energy principle. Operating primarily within large collaborative research groups, his work explores how complex systems—ranging from mathematical models of nonlinear dynamics to theoretical models of biological cognition—can be understood and optimized through self-evidencing and active inference.
In his early documented work, Koudahl contributed to methodological advances in online nonlinear system identification. As a co-author of Variational message passing for online polynomial NARMAX identification (2022), he participated in developing a variational Bayesian inference procedure designed for environments with small sample sizes and low noise regimes. This research focused on polynomial Nonlinear AutoRegressive Moving Average with eXogenous inputs (NARMAX) models. By casting these models into a probabilistic form and representing them via Forney-style factor graphs, the research team demonstrated how variational message passing could efficiently update parameter posterior distributions to form predictive distributions for future outputs, outperforming traditional online recursive least-squares estimators.
Concurrently, Koudahl’s collaborative efforts expanded into foundational theoretical frameworks for artificial intelligence. He was part of a large consortium of researchers who authored the 2022 white paper Designing Ecosystems of Intelligence from First Principles. This work articulated a long-term vision for AI grounded in active inference and the physics of self-organization. The paper conceptualized intelligence as the capacity of a system to accumulate evidence for a generative model of its sensed world—a process formally known as self-evidencing. This participation marked a clear thematic alignment with the free energy principle, which would become a central pillar of his subsequent co-authored research.
Moving into 2023, Koudahl continued to explore generative models, specifically focusing on how systems learn and select their own structural representations. He contributed to Supervised structure learning, a study investigating the discovery of discrete generative models through Bayesian model selection. A key methodological innovation in this collaborative work was the use of expected free energy to place priors on the selection of models, effectively reducing expected free energy to a constrained mutual information metric based on preferred outcomes. This approach to refining model architectures aligns with the broader research direction of Enhancing Model Performance via Structural Sparsity, as it emphasizes the principled selection and assimilation of training data to optimize discrete structures and eliminate unnecessary complexity.
In parallel with structural learning in artificial systems, Koudahl participated in applying these same first principles to theoretical biology. In Active Inference and Intentional Behaviour (2023), he joined a research team in characterizing basal cognition and sentient behavior in neuronal networks. The paper utilized the free energy principle to formally distinguish between reactive and sentient behaviors, providing a mathematical account of intentional behavior in agents that model the consequences of their own actions without relying on external reward or reinforcement.
Most recently, Koudahl’s collaborative work has sought to scale these principles to more complex, dynamic environments. He is a co-author of the 2024 paper From pixels to planning: scale-free active inference, which introduced renormalising generative models (RGM). This research generalized partially observed Markov decision processes (POMDPs) by incorporating paths as latent variables. By leveraging the renormalisation group, the team developed discrete homologues to deep convolutional neural networks capable of learning compositionality over both space and time. This scale-invariant approach furnishes generative models that are particularly suited for active inference and learning in deep or hierarchical forms.
Current Directions
The most recent papers in the evidence indicate that Koudahl’s current research interests lie at the intersection of hierarchical generative modeling and scale-free active inference. Recent work investigates the mathematical formalization of discrete state-space models that can seamlessly integrate low-level perception with higher-order cognition and planning. A major open problem in this domain is achieving compositionality over space and time without losing computational tractability. By participating in the development of renormalising generative models, Koudahl contributes to a broader effort to build scale-invariant architectures that allow artificial agents to perform active inference in highly dynamic, partially observable environments. This ongoing work continues to draw heavily on the physics of self-organization and the free energy principle to bridge the gap between sensory processing and intentional behavior.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake