CPNS Lab
Computational Psychiatry & Neuropharmacological Systems (CPNS) · University of Exeter

Mechanistic modelling for mind, brain, and intelligent systems.

We study predictive coding, neural dynamics, and active inference in computational psychiatry and neuroscience, combining experimental and clinical studies with computational modelling to understand psychiatric disorders and build intelligent agents.

Short intro to Neuro-AI Active Inference slides (PDF)

Research

People

Dr Alexander D. Shaw
Alexander D. Shaw - PI
Computational neuroscience & psychiatry; neuro-inspired AI.
Lio Berndt
Lio Berndt - Research Associate
My research focuses on computational psychiatry, developing mathematical models and computational frameworks to understand brain dynamics and neural circuit function in psychiatric disorders, with applications toward precision medicine approaches. In my current work I investigate sleep EEG patterns in children at high risk of psychosis, using these mathematical models to understand the synaptic mechanisms underlying sleep disturbances and identify early biomarkers and candidate intervention targets in high-risk neurodevelopment.
Alessia Caccamo
Alessia Caccamo - PhD Student
I develop and test mathematical and computational methods for calibrating neural mass models. The aim of my research is to ensure trustworthy inferences about the hidden neural processes encoded in neuroimaging data (M/EEG). I apply these methods to epilepsy, with particular emphasis on treatment strategies and therapeutic mechanisms.
Crow (Rosina) Diebel
Rosina (Crow) Diebel - PhD Student
My research uses computational models on patient cohorts with the goal of better understanding the pathophysiology underpinning psychiatric disorders and mapping out the biological and neural circuitry of the brain in pursuit of a more concrete and detailed picture of various psychiatric disorders.
Joy Krecke
Joy Krecke - PhD Student
Ketamine and mu-opioid receptor modelling.
Victoria Smart
Victoria Smart - PhD Student
Computational Modelling of the Pharmacodynamics of Psychedelics.
Ella J-D
Ella Jackson-Drexler - Project Student
My third year research project investigates moral cognition (Universal Moral Grammar theory) using computational methods. Specifically, I am looking at neural mechanisms underlying moral judgements in participants with varying levels of psychiatric and neurodevelopmental disorders.
Zhihao Deng
Zhihao Deng - PhD Student
Predictive coding and psychiatric disorders.
Olivia Hill-Cousins
Olivia Hill-Cousins - PhD Student
My research contributes to the field of Computational Ethics and the ongoing discourse surrounding the design and assessment of ethical AI systems. Specifically, I am investigating the computational processes underpinning human moral judgements towards AI decision-making (versus human decision-making). I use computational methods to test and analyse the explainability of moral cognitive models (the moral grammar model). The understanding gained from this, can help inform whether developing ethical AI, based on human moral cognition, could be a globally accepted solution.
Vacancy - Funded PhD
Vacancy - Funded PhD
GABA Labs: neurophysiology of GABAergic functional drinks.

Collaborators

Publications

See Google Scholar for the full list.

Computational & AI Manuscripts

Experimental, Clinical & Comp Neuro Manuscripts showing recent only

Funding & Partners

Wellcome
EPSRC
GABA Labs
Interested in partnering or co-funding a project?
Contact us See collaboration modes
Work with us

Students · Postdocs · Industry

We collaborate on computational psychiatry, neuro-inspired AI, and MEG/EEG generative modelling. We welcome PhD applicants, postdocs, clinical/industry partners, and short consultancy projects.

  • Co-develop projects (data + modelling + translation)
  • Contract research & joint studentships
  • Methodology: Variational Laplace, DCM, active inference agents
  • In-silico neuropharmacology assays; functional drinks
  • Active inference approaches to AGI
View current openings Pitch a collaboration See our code

Openings

We welcome motivated students and collaborators. If you enjoy dynamical systems, Bayesian inference, or building agents that think, reach out.

Email your CV + a short note on fit

Contact

Email: A.D.Shaw@exeter.ac.uk

School of Psychology, University of Exeter · Exeter, UK

Computational Psychiatry EEG/MEG · DCM · VL

We use task and resting-state M/EEG with biophysical generative models (DCM; Variational Laplace with thermodynamic integration) to infer synaptic and circuit mechanisms across disorders including schizophrenia, depression, catamenial epilepsy, and neurodevelopmental CNVs (e.g., 22q11.2DS).

Selected manuscripts:
Catamenial epilepsy: perimenstrual visual LTP (bioRxiv, 2025)
22q11.2DS sleep & thalamo‑cortical pathology (medRxiv, 2025)
Restoring synaptic balance in schizophrenia (Schizophrenia Bulletin, in press)
Ketamine response: FPN connectivity & GABAA (Translational Psychiatry, 2024)
Microdose LSD & visual LTP captured by TCM (BMC Neurosci, 2024)
GABAergic modulation of beta & motor adaptation (Alzheimer’s & Dementia, 2025)
Impaired GABAergic inhibition in schizophrenia (Schizophrenia Bulletin, 2020)

Neuro‑Inspired AI Active Inference · Agents

The Free Energy Principle and Active Inference originated in neuroscience as a unifying account of perception, learning, and action. We view them as the foundation for next‑generation AI: truly agentic systems that maintain beliefs about the world and themselves, minimise expected free energy, and act adaptively.

Our work spans proof‑of‑concept agents, from predictive Pong and gridworlds to autonomous drones, culminating in an 11‑node “general generative model” that demonstrates reusable active‑inference components. These agents illustrate planning, action selection, and learning with the same principles we deploy in computational psychiatry.

Preprints:
Toward a Reusable Architecture for Intelligent Agents (2025)
A Neuro‑Inspired Computational Framework for AGI: Predictive Coding, Active Inference, and Free Energy (2025)

Code: VariationalLaplace (Julia) · aLogLikeFit (MATLAB) · GitHub

Methods Thermo-VL · Low-rank · Heteroscedastic

We develop inference methods that make biophysical modelling fast, robust, and scalable. Our thermodynamic Variational Laplace (Thermo-VL) augments classical VL with annealed likelihoods, low-rank curvature, and smarter noise updates for reliable fits to nonlinear dynamical systems (e.g., neural mass models, agents).

How fitVariationalLaplaceThermo works (brief)

Core loop: refine mean m, structured covariance V,D, and noise, while annealing β and tracking ELBO.

// Pseudocode (see MATLAB implementation)
init m=m0, S0 → low-rank V,D; set β schedule; set σ²
repeat until convergence:
  // Tempered objective
  Lβ(m) = β·log p(y|m,σ²) + log p(m)
  // Curvature & low-rank update
  H ≈ ∇²Lβ(m); [U,S]=svd(H); V=U(:,1:k)·sqrt(S₁:k)
  D = diag(diag(H) - rownorm(V)^2)
  // Mean update (preconditioned / natural gradient)
  m ← m + step · (V,V,D)⁻¹ ∇Lβ(m)
  // Noise & heteroscedastic variance
  σ² ← update_per_feature(residuals)
  // Anneal β and compute ELBO / g_ELBO for line-search
until |ΔELBO| < tol

MATLAB source: fitVariationalLaplaceThermo.m · Overviews: Comp-Neuro · Neuro-AI

The Sleep Detectives CNVs · EEG · Biomarkers

We investigate how sleep disruption in neurodevelopmental CNVs (e.g., 22q11.2DS) impacts cognition and psychosis risk. We combine overnight EEG with mechanistic thalamo-cortical modelling to derive circuit-level biomarkers and candidate intervention targets.

Lead researcher: Lio Berndt. Collaborators include Prof Matt Jones, Prof Jeremy Hall, Prof Marianne Van den Bree, Prof Chris Jarrold, and others.

Preprint: Sleep as a window into thalamo-cortical pathology in 22q11.2DS (medRxiv, 2025)

Funding: Wellcome — Sleep Detectives: sleep stratification in young people

Ketamine, Depression & Network Modelling FPN · NMDA · M/EEG

Ketamine is a rapid-acting antidepressant, with downstream effects from NMDA receptor modulation that reshape cortical network dynamics within hours. We model fronto-parietal circuits (FPN) as treatment targets, integrating receptor-informed priors with M/EEG connectivity and biophysical models to explain symptom improvement and individual heterogeneity in response.

We collaborate widely, including with Dr Rachael Sumner (University of Auckland), Prof Celia Morgan (Exeter), and Joy Krecke (Exeter), among others.

Key papers:
Ketamine for depression: M/EEG connectivity and GABAA changes (Translational Psychiatry, 2024)
Generative modelling of thalamo-cortical mechanisms underlying ketamine effects on oscillations (NeuroImage, 2020)

Clinical study: BAM study (Awakn Life Sciences)

In-silico GABA receptor assays with EEG GABAA · Oscillations

We develop EEG/MEG-based in-silico assays of GABAergic function to characterise cortical dynamics in health and disease, and to compare the neuronal and behavioural effects of GABA-modulating compounds and functional drinks.

Selected papers: Tiagabine matches PET-derived GABAA receptor maps (ENP, 2021) · Propofol vs dexmedetomidine oscillations (NeuroImage, 2021) · GABA-ergic dynamics in frontotemporal networks (J. Neurosci., 2020)

We have teamed up with Prof David Nutt and GABA Labs to investigate Sentia and related GABA-ergic functional drinks, benchmarking their neural and behavioural signatures against pharmacological GABA agents.

Links: GABA Labs team · PhD project: Neurophysiology of GABAergic modulation