Computational psychiatrists, systems-medicine and digital-twin researchers, medical-AI engineers, and Institute fellows applying active inference to clinical and biomedical questions.

Active Inference and Medicine

Medicine as inference under uncertainty: generative models of patients, prediction-error-driven pathology, and expected-free-energy treatment planning.

Best next actions

Active Inference and Medicine pathway

Start with the highest-signal public links for this page, then continue through the related resource and directory views.

Active inference and the free energy principle recast medicine's core activities — diagnosis, treatment selection, and the maintenance of physiological stability — as processes of building and updating generative models under uncertainty. The literature is conceptually mature in several specialties (psychiatry, pain medicine, neurology) but empirically early: most models are theoretical, phenomenological, or simulation-based, with very few fully deployed clinical systems. This page surveys why medicine fits the framework, where the literature currently stands, what concrete projects and tools exist, and what evidence is still missing.

Why the domain fits

Medicine is fundamentally about perception and action under uncertainty: clinicians infer latent disease states from noisy signs and data and choose actions to steer patients toward preferred states, while patients infer the meaning of bodily sensations and act on those inferences. The free energy principle recasts homeostasis and allostasis as inference problems, in which organisms hold prior beliefs about preferred physiological ranges and select actions that minimize expected free energy when those ranges are violated. Many diseases can then be understood as failures of inference and control — metabolic disorders as breakdowns in generative models of energy balance, affective disorders as miscalibrated interoceptive expectations, and chronic pain as maladaptive precision-weighting of nociceptive prediction errors. The framework has also been extended beyond the brain to morphogenesis, where tissues are modeled as cell ensembles minimizing free energy relative to a target morphology, giving conditions like cancer and fibrosis a parallel reading as failures of collective inference.

State of the literature

Psychiatry is the most developed application area: Moutoussis, Friston and colleagues' 2024 review argues active inference can unify psychology's subdisciplines, covering anxiety, depression, psychosis, and autism as disturbances in priors, precision, and policy selection; Badcock and Friston reinterpret depression as sampling the world in line with pessimistic priors about reward; and Barrett and Simmons', plus Smith and Friston's, work on interoceptive inference links psychosomatic and affective symptoms to miscalibrated interoceptive priors and precision. Neurology follows closely, with Schwartenbeck and colleagues' 2021 Brain paper framing movement as the realization of predicted sensory trajectories and analyzing Parkinson's disease, dystonia, and functional motor disorders as failures of that predictive machinery. Pain and placebo research (Geuter et al.; Ciaunica et al.) models placebo/nocebo effects and chronic pain as shifts in priors and precision over nociceptive prediction errors within an allostatic active-inference account. Across specialties the pattern repeats: strong theoretical development, growing behavioral and neuroimaging model-fitting, but few studies that directly compare active inference against competing frameworks like reinforcement learning or classical Bayesian models.

Key projects and tools

Concrete engineering examples are newer and concentrated in oncology, robotics, and digital twins. Liu, Friston and colleagues' "Belief-Space Control for Personalized Cancer Treatment via Active Inference" derives an expected-free-energy objective over latent tumor burden and drug sensitivity, letting treatment policies balance reducing uncertainty about tumor response against maximizing favorable outcomes — demonstrated on simulated patient trajectories, not deployed clinically. Pezzulo, Friston and colleagues propose "active digital twins" that don't merely simulate a patient but propose tests, treatments, and lifestyle changes and update their generative model from outcomes, using expected free energy for policy selection. Van de Laar and colleagues' robotics work on active-inference controllers for perception-action integration is cited as directly transferable to surgical robotics, rehabilitation devices, and assistive systems, and a 2025 Nature Digital Medicine article proposes active-inference-inspired prompting strategies to make LLM-based medical decision-support more reliable by treating human–LLM interaction as coupled inference. On the software side, the report notes general-purpose tools — SPM for Bayesian model inversion of neuroimaging/behavioral data, and community Python libraries such as pymdp for Markov-decision-process generative models — being adapted into these medical use cases, though no standardized medical active-inference library yet exists.

Open problems

The report identifies empirical validation and model comparison as the most pressing gap: active inference models in psychiatry, pain, and neurology need head-to-head testing against reinforcement learning, drift-diffusion, and classical Bayesian alternatives on real patient data, not just simulations. Identifiability and patient heterogeneity are a second challenge — generative models carry many latent parameters (priors, precision, transition probabilities) that are hard to estimate uniquely from the sparse, noisy data typical of clinical settings, motivating population-level priors and identifiability-optimized measurement design. Integrating active inference with deep learning and LLMs (using neural networks to parameterize observation/transition models while active inference handles policy selection) is flagged as an open research frontier rather than a solved pattern. Finally, clinical translation raises unresolved regulatory and ethical questions — adaptive, continuously-updating probabilistic systems don't fit regulatory frameworks built for fixed algorithms, and the report calls for pilot studies on clinician/patient trust before wider deployment, alongside a live conceptual debate over whether the free energy principle is falsifiable enough to serve as a competing paradigm at all.

Reference Backbone

Karl J. Friston (2010). The free-energy principle: a unified brain theory? Nature Reviews Neuroscience. DOI: 10.1038/nrn2787. Thomas Parr, Giovanni Pezzulo, Karl J. Friston (2022). Active Inference: The Free Energy Principle in Mind, Brain, and Behavior. MIT Press. Giovanni Pezzulo, Francesco Rigoli, Karl J. Friston (2017). Active Inference, homeostatic regulation and adaptive behavioural control. Progress in Neurobiology. DOI: 10.1016/j.pneurobio.2017.08.001. Lancelot Da Costa, Thomas Parr, Noor Sajid, Sebastijan Veselic, Victorita Neacsu, Karl J. Friston (2020). Active inference on discrete state-spaces: A synthesis. Journal of Mathematical Psychology. DOI: 10.1016/j.jmp.2020.102447.

Key surfaces

Active Inference and Medicine at a glance

Belief-Space Treatment Planning

Expected free energy lets an oncology treatment policy choose an initial exploratory drug dose specifically to reduce uncertainty about tumor sensitivity, not just to maximize immediate expected benefit.

Active Digital Twins

Proposed digital twins for chronic disease don't just simulate a patient — they recommend tests and treatments and revise their generative model as outcomes come in.

Mostly Theory, Not Deployment

Across psychiatry, pain, oncology, and robotics the literature is conceptually rich but almost entirely simulation- or small-experiment-based, with essentially no fully deployed clinical active-inference systems yet reported.

Related resources

Public links for this page

External links are resolved from the shared registry so visitor-facing destinations stay centralized and checkable.

Repository / Projects

GitHub organization

Audience: Developer

Public GitHub organization for Institute repositories and open-source work.

projectsgithub-org
Repository / Projects

GEO-INFER repository

Audience: Developer

Geospatial modeling repository connected to ecological and bioregional applications.

projectsgeo-infer

Official pages

Official Institute surfaces

Repositories

Related open-source repositories

Repository / Research

act_inf_metaanalysis

Audience: Researcher

Computational meta-analysis of Active Inference literature with nanopublication and knowledge-graph outputs.

TeX / 4 stars / updated 2026-05-04

researchknowledgetex
Repository / Research

Active_Inference_Ontology

Audience: Researcher

Ontology-oriented repository for shared Active Inference concepts and decentralized science knowledge infrastructure.

Unspecified / 14 stars / updated 2026-05-18

researchknowledgeunclassified
Repository / Projects

ActiveBlockference

Audience: Developer

Notebook-based applied Active Inference work connected to blockchain-adjacent and generative modeling examples.

Jupyter Notebook / 33 stars / updated 2026-05-27

projectrepositoryjupyter-notebook
Repository / Projects

ActiveInferAnts

Audience: Developer

Python models and materials for ant-inspired multiagent Active Inference.

Python / 29 stars / updated 2026-05-18

projectrepositorypython
Repository / Research

AEOS

Audience: Researcher

Active Entity Ontology for Science

Unspecified / 8 stars / updated 2025-05-27

researchknowledgeunclassified
Repository / Projects

ants

Audience: Developer

Public ants repository in the ActiveInferenceInstitute GitHub namespace.

Unspecified / 0 stars / updated 2021-08-29

projectrepositoryunclassified