Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Review
. 2024 Aug;13(8):1289-1296.
doi: 10.1002/psp4.13149. Epub 2024 Jul 11.

Bridging pharmacology and neural networks: A deep dive into neural ordinary differential equations

Affiliations
Review

Bridging pharmacology and neural networks: A deep dive into neural ordinary differential equations

Idris Bachali Losada et al. CPT Pharmacometrics Syst Pharmacol. 2024 Aug.

Abstract

The advent of machine learning has led to innovative approaches in dealing with clinical data. Among these, Neural Ordinary Differential Equations (Neural ODEs), hybrid models merging mechanistic with deep learning models have shown promise in accurately modeling continuous dynamical systems. Although initial applications of Neural ODEs in the field of model-informed drug development and clinical pharmacology are becoming evident, applying these models to actual clinical trial datasets-characterized by sparse and irregularly timed measurements-poses several challenges. Traditional models often have limitations with sparse data, highlighting the urgent need to address this issue, potentially through the use of assumptions. This review examines the fundamentals of Neural ODEs, their ability to handle sparse and irregular data, and their applications in model-informed drug development.

PubMed Disclaimer

Conflict of interest statement

Idris Bachali Losada is an employee of Randstad and contributed as a paid contractor for the Merck Quantitative Pharmacology, Ares Trading SA (an affiliate of Merck KGaA, Darmstadt, Germany), Lausanne, Switzerland. Nadia Terranova is an employee of Merck Quantitative Pharmacology, Ares Trading SA (an affiliate of Merck KGaA, Darmstadt, Germany), Lausanne, Switzerland.

Figures

FIGURE 1
FIGURE 1
Neural latent ODE illustration for PK time course prediction for each individual patient. The input consists of including, TFDS, the time in hours between each dose; TIME, the time in hours since the start of the treatment; AMT, the dosing amount in milligrams; CYCL, the current dosing cycle number and finally the PK_Cycle1 as the first cycle of observation. The final hidden state summarizes key information learned. Gaussian sampling derives a latent variable from this state, offering insights into individual patient behavior for precise clinical outcome predictions. Dosing details and the first 20 PK values are added in the Neural ODE decoder, enhancing model accuracy.
FIGURE 2
FIGURE 2
Depiction of a gated recurrent unit (GRU) in our RNN encoder for irregular data. The GRU assigns weights to covariates. Accurate predictions adjust these weights using stochastic gradient descent, reducing the loss function. High loss may lead to certain covariates getting reduced weights or being deemed irrelevant. This RNN is receiving as input a covariate vector X and the hidden state function at the visit t‐k. This architecture consists of a reset gate (Pink) to discard non‐essential data, an update gate (Green), and a candidate hidden state gate (Purple) to retain pivotal covariates for predicting future clinical outcomes. Different mathematical steps are computed within GRU architecture where some activation functions are represented like tangent hyperbolic function (Tanh) and a random activation function sigma (σ).
FIGURE 3
FIGURE 3
Outlined Steps: 1. RNN encoder processes sequences of covariates for all patients, calculating a hidden state between consecutive timesteps. 2. The final hidden function captures crucial information from the patient population, identifying key covariates at a population level. 3. Gaussian sampling introduces variability, creating patient‐specific scenarios to refine individual predictions, generating initial conditions for the latent variable zt., 4. These initial conditions help determine individual latent trajectories for each patient, enabling patient‐level clinical outcome predictions.
FIGURE 4
FIGURE 4
The Gaussian sampling of the final hidden state sets the initial condition zt0 for each patient's latent variable zt., The ODE solver determines individual latent trajectories for patient‐level clinical outcome predictions. These outcomes are refitted over blue dots and extrapolated across yellow dots for multiple visits per patient.,

References

    1. Song L, He CY, Yin NG, Liu F, Jia YT, Liu Y. A population pharmacokinetic model for individualised dosage regimens of vancomycin in Chinese neonates and young infants. Oncotarget. 2017;8(62):105211‐105221. - PMC - PubMed
    1. Tornøe CW, Agersø H, Jonsson EN, Madsen H, Nielsen HA. Non‐linear mixed‐effects pharmacokinetic/pharmacodynamic modelling in NLME using differential equations. Comput Methods Prog Biomed. 2004;76(1):31‐40. - PubMed
    1. Keutzer L, You H, Farnoud A, et al. Machine learning and pharmacometrics for prediction of pharmacokinetic data: differences, similarities and challenges illustrated with rifampicin. Pharmaceutics. 2022;14(8):1530. - PMC - PubMed
    1. Chen RTQ, Rubanova Y, Betterncourt J, Duvenaud D. Neural ordinary differential equations. NeurIPS. 2018;31. 10.48550/arXiv.1806.07366 - DOI
    1. Terranova N, Renard D, Shahin MH, et al. Artificial intelligence for quantitative modeling in drug discovery and development: an Innovation & Quality (IQ) consortium perspective on use cases and best practices. Clin Pharmacol Ther. 2023;115:658‐672. doi:10.1002/cpt.3053 - DOI - PubMed

LinkOut - more resources