Simulating realistic patient profiles from pharmacokinetic models by a machine learning postprocessing correction of residual variability.
Christos KaikousidisRobert R BiesAristides DokoumetzidisPublished in: CPT: pharmacometrics & systems pharmacology (2024)
We address the problem of model misspecification in population pharmacokinetics (PopPK), by modeling residual unexplained variability (RUV) by machine learning (ML) methods in a postprocessing step after conventional model building. The practical purpose of the method is the generation of realistic virtual patient profiles and the quantification of the extent of model misspecification, by introducing an appropriate metric, to be used as an additional diagnostic of model quality. The proposed methodology consists of the following steps: After developing a PopPK model, the individual residual errors IRES = DV-IPRED, are computed, where DV are the observations and IPRED the individual predictions and are modeled by ML to obtain IRES ML . Correction of the IPREDs can then be carried out as DV ML = IPRED + IRES ML . The methodology was tested in a PK study of ropinirole, for which a PopPK model was developed while a second deliberately misspecified model was also considered. Various supervised ML algorithms were tested, among which Random Forest gave the best results. The ML model was able to correct individual predictions as inspected in diagnostic plots and most importantly it simulated realistic profiles that resembled the real data and canceled out the artifacts introduced by the elevated RUV, even in the case of the heavily misspecified model. Furthermore, a metric to quantify the extent of model misspecification was introduced based on the R 2 between IRES and IRES ML , following the rationale that the greater the extent of variability explained by the ML model, the higher the degree of model misspecification present in the original model.