Mats Jirstrand
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Mats Jirstrand has a total of 230 co-authors. Here are the top co-authors by number of shared publications:
Joachim Almquist
Fraunhofer-Chalmers Centre, Chalmers Science Park, Göteborg, Sweden
10 shared publicationsEmil Gustavsson
8 shared publications- Gregor Ulm
Fraunhofer-Chalmers Research Centre for Industrial Mathematics Chalmers Science Park 412 88 Gothenburg Sweden
8 shared publications - Johan Gabrielsson
Department of Biomedical Sciences and Veterinary Public Health, Swedish University of Agricultural Sciences, Uppsala, Sweden
8 shared publications - Jacob Leander
Clinical Pharmacology and Quantitative Pharmacology, Clinical Pharmacology and Safety Sciences, R&D AstraZeneca Gothenburg Sweden
7 shared publications - Joachim Almquist
Fraunhofer-Chalmers Centre, Chalmers Science Park, Göteborg, Sweden
6 shared publications
Latest Publications
- Open Access
- 17 June 2026
- Published by Wiley in CPT: Pharmacometrics & Systems Pharmacology
- Vol. 15 (7) , e70280
The Empirical Bayes Variational Autoencoder—A Neural ODE Approach for Population Modeling in Pharmacology
Variational autoencoders (VAEs) combined with neural ordinary differential equations provide a flexible framework for exploring neural latent‐variable models in population pharmacokinetics. In this work, we investigate an empirical Bayes VAE formulation that integrates encoder–decoder architectures with covariate‐dependent population priors, enabling correlated latent representations and probabilistic inference. We evaluate the proposed framework using controlled simulation studies and a small clinical benchmark dataset. The simulation experiments assess the ability to recover known population structures and covariate effects, while the clinical study evaluates subject‐specific prediction and model diagnostics. In simulation studies with correlated individual parameters, the empirical Bayes VAE consistently captured population‐level variability, whereas a fixed‐prior VAE baseline exhibited systematic biases. In our experiments, extrapolation beyond the training dosing schedules showed more stable predictive behavior when using the proposed input–response normalization, relative to models trained without normalization, within a limited range. Diagnostic analyses indicated clear relationships between inferred latent variables and true parameters, and estimated observation noise was consistent with simulated values. In the clinical case study, cross‐validation experiments suggested predictive performance comparable to previously reported neural ODE–based approaches. Overall, the results illustrate the feasibility of combining empirical Bayes inference with neural ODE–based decoders for population modeling. The proposed framework should be viewed as a methodological proof‐of‐concept, highlighting both the potential and the current limitations of variational neural approaches in pharmacometric applications.
- 17 June 2026
- Published by Wiley in CPT: Pharmacometrics & Systems Pharmacology
- Vol. 15 (7) , e70280
Open AccessThe Empirical Bayes Variational Autoencoder—A Neural ODE Approach for Population Modeling in Pharmacology
Variational autoencoders (VAEs) combined with neural ordinary differential equations provide a flexible framework for exploring neural latent‐variable models in population pharmacokinetics. In this work, we investigate an empirical Bayes VAE formulation that integrates encoder–decoder architectures with covariate‐dependent population priors, enabling correlated latent representations and probabilistic inference. We evaluate the proposed framework using controlled simulation studies and a small clinical benchmark dataset. The simulation experiments assess the ability to recover known population structures and covariate effects, while the clinical study evaluates subject‐specific prediction and model diagnostics. In simulation studies with correlated individual parameters, the empirical Bayes VAE consistently captured population‐level variability, whereas a fixed‐prior VAE baseline exhibited systematic biases. In our experiments, extrapolation beyond the training dosing schedules showed more stable predictive behavior when using the proposed input–response normalization, relative to models trained without normalization, within a limited range. Diagnostic analyses indicated clear relationships between inferred latent variables and true parameters, and estimated observation noise was consistent with simulated values. In the clinical case study, cross‐validation experiments suggested predictive performance comparable to previously reported neural ODE–based approaches. Overall, the results illustrate the feasibility of combining empirical Bayes inference with neural ODE–based decoders for population modeling. The proposed framework should be viewed as a methodological proof‐of‐concept, highlighting both the potential and the current limitations of variational neural approaches in pharmacometric applications.
- Open Access
- 6 June 2026
- Published by Wiley in CPT: Pharmacometrics & Systems Pharmacology
- Vol. 15 (6) , e70281
Modeling Peak Expiratory Flow in Patients With Asthma and Quantifying Treatment Effects Using a Mixed‐Effects Hidden Markov Model
Clinical trials in asthma and chronic obstructive pulmonary disease often use exacerbation risk as the primary endpoint. However, exacerbations occur with low frequency, leading to long and costly clinical trials. Home‐measured spirometry, which is becoming more common, provides an alternative and has previously been used to shorten the necessary trial duration. In this work, we develop a mixed‐effects hidden Markov model (MEHMM) for analyzing home‐measured peak expiratory flow (PEF), combining an observation model with a latent two‐state disease process representing sustained periods of high and low PEF, respectively. An inference framework is implemented to estimate fixed and random effects together with measures of uncertainty. Data from a phase 2b dose‐finding study of velsecorat in asthma are used to investigate dose–response relationships, complemented by an extensive simulation study. The results demonstrate reliable estimation of parameters and identify statistically significant treatment effects on multiple model components. These findings support the use of latent disease‐state models for extracting meaningful information from home‐measured spirometry.
- 6 June 2026
- Published by Wiley in CPT: Pharmacometrics & Systems Pharmacology
- Vol. 15 (6) , e70281
Open AccessModeling Peak Expiratory Flow in Patients With Asthma and Quantifying Treatment Effects Using a Mixed‐Effects Hidden Markov Model
Clinical trials in asthma and chronic obstructive pulmonary disease often use exacerbation risk as the primary endpoint. However, exacerbations occur with low frequency, leading to long and costly clinical trials. Home‐measured spirometry, which is becoming more common, provides an alternative and has previously been used to shorten the necessary trial duration. In this work, we develop a mixed‐effects hidden Markov model (MEHMM) for analyzing home‐measured peak expiratory flow (PEF), combining an observation model with a latent two‐state disease process representing sustained periods of high and low PEF, respectively. An inference framework is implemented to estimate fixed and random effects together with measures of uncertainty. Data from a phase 2b dose‐finding study of velsecorat in asthma are used to investigate dose–response relationships, complemented by an extensive simulation study. The results demonstrate reliable estimation of parameters and identify statistically significant treatment effects on multiple model components. These findings support the use of latent disease‐state models for extracting meaningful information from home‐measured spirometry.
- Open Access
MCMC Correction of Score-Based Diffusion Models for Model Composition
Diffusion models can be parameterized in terms of either score or energy function. The energy parameterization is attractive as it enables sampling procedures such as Markov Chain Monte Carlo (MCMC) that incorporates a Metropolis–Hastings (MH) correction step based on energy differences between proposed samples. Such corrections can significantly improve sampling quality, particularly in the context of model composition, where pre-trained models are combined to generate samples from novel distributions. Score-based diffusion models, on the other hand, are more widely adopted and come with a rich ecosystem of pre-trained models. However, they do not, in general, define an underlying energy function, making MH-based sampling inapplicable. In this work, we address this limitation by retaining score parameterization and introducing a novel MH-like acceptance rule based on line integration of the score function. This allows the reuse of existing diffusion models while still combining the reverse process with various MCMC techniques, viewed as an instance of annealed MCMC. Through experiments on synthetic and real-world data, we show that our MH-like samplers yield relative improvements of similar magnitude to those observed with energy-based models, without requiring explicit energy parameterization.
Open AccessMCMC Correction of Score-Based Diffusion Models for Model Composition
Diffusion models can be parameterized in terms of either score or energy function. The energy parameterization is attractive as it enables sampling procedures such as Markov Chain Monte Carlo (MCMC) that incorporates a Metropolis–Hastings (MH) correction step based on energy differences between proposed samples. Such corrections can significantly improve sampling quality, particularly in the context of model composition, where pre-trained models are combined to generate samples from novel distributions. Score-based diffusion models, on the other hand, are more widely adopted and come with a rich ecosystem of pre-trained models. However, they do not, in general, define an underlying energy function, making MH-based sampling inapplicable. In this work, we address this limitation by retaining score parameterization and introducing a novel MH-like acceptance rule based on line integration of the score function. This allows the reuse of existing diffusion models while still combining the reverse process with various MCMC techniques, viewed as an instance of annealed MCMC. Through experiments on synthetic and real-world data, we show that our MH-like samplers yield relative improvements of similar magnitude to those observed with energy-based models, without requiring explicit energy parameterization.
- Open Access
- 22 September 2025
- Published by Elsevier in Energy and Buildings
- Vol. 348
Model-assisted hydronic balancing in residential heating systems using operational sensor data
- 22 September 2025
- Published by Elsevier in Energy and Buildings
- Vol. 348
Open AccessModel-assisted hydronic balancing in residential heating systems using operational sensor data
- Open Access
- 24 December 2024
- Published by Elsevier in Internet of Things
- Vol. 30
The AutoSPADA platform: User-friendly edge computing for distributed learning and data analytics in connected vehicles
- 24 December 2024
- Published by Elsevier in Internet of Things
- Vol. 30
Open AccessThe AutoSPADA platform: User-friendly edge computing for distributed learning and data analytics in connected vehicles
- Open Access
- 18 October 2024
- Published by Elsevier in Journal of Theoretical Biology
- Vol. 595, 111969
Probabilistic analysis of tumor growth inhibition models to Support trial design
- 18 October 2024
- Published by Elsevier in Journal of Theoretical Biology
- Vol. 595, 111969
Open AccessProbabilistic analysis of tumor growth inhibition models to Support trial design
- Open Access
- 8 March 2024
- Published by Elsevier in Energy and Buildings
- Vol. 309
Effects on district heating networks by introducing demand side economic model predictive control
- 8 March 2024
- Published by Elsevier in Energy and Buildings
- Vol. 309
Open AccessEffects on district heating networks by introducing demand side economic model predictive control
- Open Access
- 15 November 2023
- Published by MDPI AG in Proceedings
- Vol. 91 (1) , 38
Analysis and Prediction of Postprandial Metabolic Response to Multiple Dietary Challenges Using Dynamic Mode Decomposition
Background: In the field of precision nutrition, predicting high-dimensional metabolic response to diet and identifying groups of differential responders are two highly desirable steps towards developing tailored dietary strategies. However, proper data analysis tools are currently lacking, especially for complex settings such as crossover studies. Current methods of analysis often rely on matrix or tensor decompositions, which are well suited for identifying differential responders but lacking in predictive power, or on dynamical systems modelling, which may be used for prediction but typically requires detailed mechanistic knowledge of the system under study. Objectives: To remedy these shortcomings, we aimed to explore dynamic mode decomposition (DMD), which is a recent, data driven method for deriving low-rank linear dynamical systems from high dimensional data. Methods: To allow integration of complex data from several dietary inputs to the metabolic system, we combine parametric DMD (pDMD) with DMD with control (DMDc). The resulting method allows (i) to predict the postprandial metabolic response of a new diet given only the metabolic baseline and dietary input, and (ii) to identify inter-individual differences in metabolic regulation, useful in determining metabotypes, i.e., metabolic phenotypes in dynamic data. To our knowledge, this is the first time DMD has been applied to metabolomics data. Results: pDMDc enabled a data-driven construction of low-dimensional dynamical models, able to capture the underlying dynamics of the metabolome after three dietary challenges. We demonstrate the utility and accuracy of the model in a crossover study setting on both measured and simulated data. Using simulated data, metabolic response to a new diet was accurately predicted having trained on four diets, with an average cosine similarity score of 0.6 (SD = 0.27). In measured data, we identified previously published metabolic groups with 100% overlap. Discussion: Accurate predictions via pDMDc require data from several dietary exposures with large variation, which can be costly to collect to confirm the efficacy of the method. A possible remedy is to share data among individuals using the mixed-effects framework. Employing pDMDc paves the way towards using control theory to approach PN by estimating the optimal input given a target metabolite trajectory.
- 15 November 2023
- Published by MDPI AG in Proceedings
- Vol. 91 (1) , 38
Open AccessAnalysis and Prediction of Postprandial Metabolic Response to Multiple Dietary Challenges Using Dynamic Mode Decomposition
Background: In the field of precision nutrition, predicting high-dimensional metabolic response to diet and identifying groups of differential responders are two highly desirable steps towards developing tailored dietary strategies. However, proper data analysis tools are currently lacking, especially for complex settings such as crossover studies. Current methods of analysis often rely on matrix or tensor decompositions, which are well suited for identifying differential responders but lacking in predictive power, or on dynamical systems modelling, which may be used for prediction but typically requires detailed mechanistic knowledge of the system under study. Objectives: To remedy these shortcomings, we aimed to explore dynamic mode decomposition (DMD), which is a recent, data driven method for deriving low-rank linear dynamical systems from high dimensional data. Methods: To allow integration of complex data from several dietary inputs to the metabolic system, we combine parametric DMD (pDMD) with DMD with control (DMDc). The resulting method allows (i) to predict the postprandial metabolic response of a new diet given only the metabolic baseline and dietary input, and (ii) to identify inter-individual differences in metabolic regulation, useful in determining metabotypes, i.e., metabolic phenotypes in dynamic data. To our knowledge, this is the first time DMD has been applied to metabolomics data. Results: pDMDc enabled a data-driven construction of low-dimensional dynamical models, able to capture the underlying dynamics of the metabolome after three dietary challenges. We demonstrate the utility and accuracy of the model in a crossover study setting on both measured and simulated data. Using simulated data, metabolic response to a new diet was accurately predicted having trained on four diets, with an average cosine similarity score of 0.6 (SD = 0.27). In measured data, we identified previously published metabolic groups with 100% overlap. Discussion: Accurate predictions via pDMDc require data from several dietary exposures with large variation, which can be costly to collect to confirm the efficacy of the method. A possible remedy is to share data among individuals using the mixed-effects framework. Employing pDMDc paves the way towards using control theory to approach PN by estimating the optimal input given a target metabolite trajectory.
- Open Access
Differential Responders to a Mixed Meal Tolerance Test Associated with Type 2 Diabetes Risk Factors and Gut Microbiota—Data from the MEDGI-Carb Randomized Controlled Trial
The global prevalence of type 2 diabetes mellitus (T2DM) has surged in recent decades, and the identification of differential glycemic responders can aid tailored treatment for the prevention of prediabetes and T2DM. A mixed meal tolerance test (MMTT) based on regular foods offers the potential to uncover differential responders in dynamical postprandial events. We aimed to fit a simple mathematical model on dynamic postprandial glucose data from repeated MMTTs among participants with elevated T2DM risk to identify response clusters and investigate their association with T2DM risk factors and gut microbiota. Data were used from a 12-week multi-center dietary intervention trial involving high-risk T2DM adults, comparing high- versus low-glycemic index foods within a Mediterranean diet context (MEDGICarb). Model-based analysis of MMTTs from 155 participants (81 females and 74 males) revealed two distinct plasma glucose response clusters that were associated with baseline gut microbiota. Cluster A, inversely associated with HbA1c and waist circumference and directly with insulin sensitivity, exhibited a contrasting profile to cluster B. Findings imply that a standardized breakfast MMTT using regular foods could effectively distinguish non-diabetic individuals at varying risk levels for T2DM using a simple mechanistic model.
Open AccessDifferential Responders to a Mixed Meal Tolerance Test Associated with Type 2 Diabetes Risk Factors and Gut Microbiota—Data from the MEDGI-Carb Randomized Controlled Trial
The global prevalence of type 2 diabetes mellitus (T2DM) has surged in recent decades, and the identification of differential glycemic responders can aid tailored treatment for the prevention of prediabetes and T2DM. A mixed meal tolerance test (MMTT) based on regular foods offers the potential to uncover differential responders in dynamical postprandial events. We aimed to fit a simple mathematical model on dynamic postprandial glucose data from repeated MMTTs among participants with elevated T2DM risk to identify response clusters and investigate their association with T2DM risk factors and gut microbiota. Data were used from a 12-week multi-center dietary intervention trial involving high-risk T2DM adults, comparing high- versus low-glycemic index foods within a Mediterranean diet context (MEDGICarb). Model-based analysis of MMTTs from 155 participants (81 females and 74 males) revealed two distinct plasma glucose response clusters that were associated with baseline gut microbiota. Cluster A, inversely associated with HbA1c and waist circumference and directly with insulin sensitivity, exhibited a contrasting profile to cluster B. Findings imply that a standardized breakfast MMTT using regular foods could effectively distinguish non-diabetic individuals at varying risk levels for T2DM using a simple mechanistic model.