Skip to content

Menu

WorksMathematics

Compartment-driven Gaussian processes for uncertainty quantification of pharmacokinetic exposures

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_nawrurhg. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Pharmacokinetic modeling is a crucial part of drug development. An important goal is to estimate patients' total and peak exposure to a drug over time, quantified by the area under the concentration–time curve (AUC) and the maximum concentration (Cmax⁡C_{\max}) respectively. Such exposure assessment is essential to balance efficacy and safety in medications that offer therapeutic benefits but carry risks of toxicity, such as chemotherapy drugs. Uncertainty quantification for exposure quantities, however, remains challenging, since they are functionals of an often sparsely observed concentration–time curve with measurement errors. We propose a compartment-driven Gaussian process framework that propagates uncertainty in concentration–time curves to pharmacokinetic exposure functionals. Our approach uses pharmacokinetic compartmental models to specify a mechanistically informed prior and Gaussian processes to accommodate departures from the assumed pharmacokinetic dynamics. The framework can accommodate both individual-level and group-aggregated concentration–time data commonly seen in practice. We provide straightforward computational procedures for drawing posterior inference on AUC and Cmax⁡C_{\max}. Simulations across a range of observation schemes demonstrate robustness to departures from the assumed compartmental dynamics. We apply the method to patient-level datasets on warfarin and theophylline, and aggregated data from a chemotherapy study of 5-fluorouracil and capecitabine in patients with normal or impaired hepatic function. The chemotherapy analysis quantifies drug-specific exposure differences between groups with differing liver function, with potential implications for informing dosing decisions.

Introduction

Pharmacokinetics (PK) is the quantitative study of how drug concentrations evolve in the human body after administration. The central object of study in PK is the plasma concentration of a drug, which evolves over time in response to processes related to the absorption, distribution, metabolism and excretion (ADME) of the drug [34].

The plasma concentration–time curve is frequently used to inform the therapeutic efficacy and toxicity of a drug. Quantitative characterization of the concentration–time curve forms the foundation of PK profiling, which is an explicit requirement for regulatory approval of new therapeutics [17]. Clinical decisions are also frequently made on the basis of summary quantities derived from the concentration–time curve, most notably the area under the curve (AUC), which measures total drug exposure over a time interval, and the maximum concentration (Cmax⁡C_{\max}), which measures peak exposure. Other important pharmacokinetic quantities, such as clearance and bioavailability, may be derived from AUC estimates [34].

These PK exposure quantities are particularly important to profile for drugs that have substantial toxicity, where one has to select dosages that trade off between therapeutic benefit and unwanted side effects [23]. For example, in oncology, dosing of certain chemotherapy agents is often individualized to a target AUC level with the goal of maintaining therapeutic exposure while limiting severe, exposure-related toxicity [9]. In psychiatry, mood stabilizers and antiepileptics such as lithium and valproate have concentration-dependent toxicity, making monitoring of plasma concentrations a routine clinical practice [21]. In transplantation medicine, immunosuppressants must be maintained within a narrow concentration range to balance graft rejection against infection [12].

Despite the central role of AUC and Cmax⁡C_{\max} in pharmacokinetics and clinical decision making, uncertainty quantification for the AUC and Cmax⁡C_{\max} remains challenging because they are functionals of a concentration–time curve that is reconstructed from sparse, noisy plasma measurements. It has been documented that uncertainty reporting for AUC and Cmax⁡C_{\max} is often incomplete, with many studies presenting these quantities as point estimates without confidence or credible intervals [43].

The standard approach to estimating concentration–time curves uses parametric compartmental models, in which a system of differential equations encodes the absorption, distribution, and elimination of a drug. Inference under these models generally does not account for departures from the assumed compartmental dynamics, which necessarily simplify the underlying biological processes. An alternative approach is noncompartmental analysis (NCA) [17], which avoids specifying a complete dynamic model. Instead, it estimates the AUC by trapezoidal integration directly on the observed concentration–time data and takes Cmax⁡C_{\max} to be the largest observed concentration. These estimators alone do not directly provide uncertainty quantification for an individual’s exposure given sparse, error-prone measurements.

Resampling approaches do not automatically resolve these limitations. Since the maximum is a non-smooth functional, the ordinary bootstrap can fail in this setting and requires additional conditions for validity [4, 14]. Standard nonlinear mixed-effects models [37, 3] borrow information across patients by allowing pharmacokinetic parameters to vary between individuals. However, the concentration–time curves remain constrained to a prescribed parametric family. Off-the-shelf Gaussian process (GP) approaches [32] are flexible but do not exploit known pharmacological structure nor prior knowledge. encoded in compartmental models.

Motivated by these challenges, we propose a compartment-driven Gaussian process (CD-GP) framework for inference on functionals of PK concentration–time curves, combining the mechanistic structure of compartmental pharmacokinetic models with the flexibility of Gaussian processes. We regard uncertainty in exposure summaries as arising primarily from uncertainty in the underlying concentration–time curve, which must be reconstructed from sparse and error-prone observations. Once a concentration–time curve is fixed, quantities such as AUC and Cmax⁡C_{\max} are fully specified. Consequently, the posterior distribution of the curve induces posterior distributions for these functionals, providing a principled mechanism for uncertainty propagation. This shared source of uncertainty allows us to infer multiple exposure functionals from a single model of the curve. Moreover, since our framework treats the concentration–time curve as the primary object to model, it does not depend on whether the sampled observations come from a single patient (in which case the inferential target is that patient’s exposure) or from an aggregated cohort summary (in which case the inferential target is the exposure of the population-mean curve). This allows for a unified approach to handle both individual-level and group-aggregated data commonly encountered in pharmacokinetic studies.

The CD-GP models the concentration–time curve as a GP, with the prior mean specified as the solution of a compartmental pharmacokinetic model, so that established pharmacological knowledge informs the analysis. The GP component captures residual deviations from the compartmental model and allows the posterior to depart from the parametric form when warranted by the data. The resulting posterior is a distribution over plausible concentration–time curves. Posterior distributions for any exposure functional, including AUC, Cmax⁡C_{\max}, clearance, and other downstream quantities, are obtained by applying the corresponding functional to draws from this posterior. We show that this yields a closed-form posterior distribution for AUC, owing to the closure of Gaussian processes under integration, and enables consistent posterior approximation for Cmax⁡C_{\max}. The framework retains the interpretability of mechanistically informed compartmental models, while adding the flexibility and principled uncertainty quantification of a GP component.

We apply our model to individual patient time series for warfarin and theophylline, two commonly used drugs. We also illustrate our model on aggregated concentration–time summaries for capecitabine and 5-fluorouracil (5-FU), chemotherapy agents used in colorectal and other cancers [42]. Because liver dysfunction may alter the metabolism and elimination of capecitabine and 5-FU [33], an important clinical question is whether liver dysfunction changes drug exposure sufficiently to warrant dose adjustment. Our framework enables probabilistic comparisons of drug exposure by converting the concentration–time summaries commonly reported in the pharmacokinetic literature into posterior distributions for AUC.

Our contribution in this paper is a CD-GP framework that treats incomplete knowledge of the concentration–time curve as the common source of uncertainty in different PK exposures. We combine prior pharmacological knowledge encoded in compartmental PK models with a flexible GP discrepancy that allows the concentration–time curve to depart from the assumed compartmental dynamics. By modeling the concentration–time curve directly and propagating uncertainty to its functionals, we obtain a unified Bayesian approach to inference on exposure quantities such as AUC and Cmax⁡C_{\max}. The framework accommodates individual-level and group-aggregated observations and can be extended to incorporate more sophisticated mechanistic priors and other exposure functionals.

The remainder of the paper is organized as follows. § 2 reviews related work. Section 3 establishes notation and provides the relevant background on compartmental pharmacokinetic models, GPs, and exposure functionals. Section 4 describes the proposed model and develops posterior inference for both linear and nonlinear exposure functionals, with supporting theoretical results stated alongside each inferential procedure and proofs given in the Supplementary Material. Section 5 reports the simulation study. Section 6 reports case studies on individualized data (warfarin) and on aggregated cohort-mean data (5-FU and capecitabine); a further individualized analysis of theophylline is given in Section S4.4 of the Supplementary Material. Section 7 discusses extensions and limitations.

Related work

Compartmental pharmacokinetic models trace back at least to Bateman [2] and were systematized in the latter half of the twentieth century into the one- and two-compartment forms now standard in pharmacology textbooks [44, 19, 17]. These models represent the human body as a small number of well-mixed compartments and yield analytic concentration–time curves using systems of differential equations. Noncompartmental analysis (NCA), originating with Yeh and Kwan (1978), avoids imposing structural assumptions by directly computing the AUC from the observed data via the trapezoidal rule and reporting the largest observed concentration as Cmax⁡C_{\max}. Both approaches provide point estimates of exposures with limited tools for uncertainty quantification.

Population pharmacokinetics extends compartmental modeling to hierarchical analyses of multi-patient datasets, often through the nonlinear mixed-effects framework. Sheiner and Beal [37, 38] introduced the NONMEM software for estimation of population pharmacokinetic parameters. Lindstrom and Bates [28] and Pinheiro and Bates [31] developed the broader statistical theory and software for nonlinear mixed-effects models. Bayesian formulations were developed by Wakefield [46] and Wakefield et al. [47], and surveyed by Davidian and Giltinan [10, 11]. Stochastic-approximation expectation–maximization algorithms [13, 27] have made population pharmacokinetic estimation routine in large datasets. Software implementations, including Monolix and the nlme package in R, are now widely used in clinical pharmacology.

The use of Gaussian processes (GPs) for regression and functional modeling has a long history in statistics and machine learning [29, 32]. GP methods have been applied to longitudinal biomedical data in settings such as disease-trajectory modeling [36] and clinical time-series prediction [16]. Bayesian frameworks for calibrating computer models [25, 22, 8] use physical observations to infer unknown simulator parameters while accounting for systematic discrepancies between model predictions and the underlying physical processes.

Direct application of GP regression to pharmacokinetic concentration–time data remains comparatively rare. Closest in spirit to our construction is Wheeler et al. [48], who built hierarchical GP priors that favor curves consistent with a linear ordinary differential equation system that describes muscle mechanics. Our work differs in its inferential goal. Rather than estimating mechanistic parameters or borrowing strength across curves, we take the concentration–time curve itself as the object of inference and derive posterior distributions for the exposure functionals of clinical interest.

Inference for functionals of GPs is a crucial part of our proposed framework. Linear functionals of GPs remain Gaussian and admit explicit expressions for their means and variances, a fact used in Bayesian quadrature [30, 7] and in the broader theory of linear operators on GP priors [35]. Inference for nonlinear functionals, in particular the supremum, has been studied in the theoretical literature on the geometry of Gaussian random fields [1] and concentration inequalities for Lipschitz functionals of Gaussian vectors [5, 41, 6]. These tools to our knowledge have not been applied to posterior inference for Cmax⁡C_{\max} in pharmacokinetics.

Preliminaries

This section establishes the notation used throughout the paper, introduces the compartmental pharmacokinetic models that will serve as the mechanistically informed prior in our framework, and reviews Gaussian processes together with the relevant covariance functions.

Setup and notation

The primary inferential object throughout is the concentration–time curve C:T→RC : \mathcal{T} \to\mathbb{R}, where T=[a,b]\mathcal{T} = [a,b]. Exposure summaries such as AUC and Cmax⁡C_{\max} are obtained as functionals of CC. Depending on the available data, CC represents either the curve of an individual patient or the mean curve of a clinically defined group.

When individual-level measurements are available for patient ii, indexed by i=1,…,Ni = 1, \ldots, N, we write Ti=(ti1,…,tini)TT_i = (t_{i1}, \ldots, t_{in_i})^{\mathsf{T}} and Yi=(Yi1,…,Yini)TY_i = (Y_{i1}, \ldots, Y_{in_i})^{\mathsf{T}}, where TiT_i contains the observation times and YiY_i contains the corresponding plasma concentrations. The data are Di={(tij,Yij):j=1,…,ni}\mathcal{D}_i = \{(t_{ij}, Y_{ij}) : j = 1, \ldots, n_i\}, and the observation model is Yi=Ci(Ti)+ϵiY_i = C_i(T_i) + \epsilon_i, where ϵi∼N(0,Ri)\epsilon_i \sim\mathcal{N}(0, R_i). The inferential target is the individual curve CiC_i and its exposure functionals.

In pharmacokinetic studies, concentrations may be reported only as averages over patients within a clinically defined group. Such data take the form D‾={(tj,Y‾j,SEj):j=1,…,n}\overline{D}=\{(t_j,\overline{Y}_j,\mathrm{SE}_j):j=1,\ldots,n\}, where Y‾j\overline{Y}_j is the reported mean concentration at time tjt_j and SEj\mathrm{SE}_j is its standard error. The target is then the group-mean curve C‾(t)=Ei{Ci(t)}\overline{C}(t)=\mathbb{E}_i\{C_i(t)\}, where the expectation is over patients represented by that clinical group. Writing T=(t1,…,tn)TT=(t_1,\ldots,t_n)^\mathsf{T}, Y‾=(Y‾1,…,Y‾n)T\overline{Y}=(\overline{Y}_1,\ldots,\overline{Y}_n)^\mathsf{T}, we use the observation model Y‾=C‾(T)+ϵ‾\overline{Y}=\overline{C}(T)+\overline{\epsilon}, where ϵ‾∼N(0,R)\overline{\epsilon}\sim\mathcal{N}(0,R). When only marginal standard errors are reported, we take R=diag⁡(SE12,…,SEn2)R=\operatorname{diag}(\mathrm{SE}_1^2,\ldots,\mathrm{SE}_n^2).

The two data sources target different exposure quantities. By linearity,

∫abC‾(t) dt=Ei{∫abCi(t) dt},\int_a^b \overline{C}(t)\,\mathrm{d}t=\mathbb{E}_i\left\{\int_a^b C_i(t)\,\mathrm{d}t\right\},

so the AUC of the group-mean curve equals the mean of the individual AUCs. In contrast, sup⁡t∈TC‾(t)≤Ei{sup⁡t∈TCi(t)}\sup_{t\in\mathcal{T}}\overline{C}(t)\leq\mathbb{E}_i\{\sup_{t\in\mathcal{T}}C_i(t)\}, so the peak of the group-mean curve is generally not the mean of the individual peaks. Accordingly, posterior intervals obtained from the two data sources have different clinical interpretations. The results below apply to either setting by taking CC to denote the relevant target curve.

We write N(μ,Σ)\mathcal{N}(\mu,\Sigma) for a multivariate normal distribution, and GP(m,k)\mathcal{GP}(m,k) for a Gaussian process with mean function mm and covariance kernel kk. The standard normal cumulative distribution function is denoted by Φ\Phi, and IdI_d denotes the d×dd\times d identity matrix. For a function ff and evaluation points T=(t1,…,tn)TT=(t_1,\ldots,t_n)^\mathsf{T}, we write f(T)=(f(t1),…,f(tn))Tf(T)=(f(t_1),\ldots,f(t_n))^\mathsf{T}. For T∈RnT\in\mathbb{R}^n, U∈RqU\in\mathbb{R}^q, and a kernel function kk, let k(T,U)∈Rn×qk(T,U)\in\mathbb{R}^{n\times q} have (r,s)(r,s)th entry k(tr,us)k(t_r,u_s), and write KTT=k(T,T)K_{TT}=k(T,T).

Compartment models in pharmacokinetics

Compartmental pharmacokinetic models represent the body as a small number of well-mixed kinetic compartments connected by first-order transfer rates [19, 34]. Each compartment corresponds to a physiological space. where the drug can reside. For example, blood plasma and tissues receiving high blood flow are often represented collectively as the so-called central compartment. Transfers between compartments and elimination from the system are governed by rate constants, and the dynamics form a system of linear ordinary differential equations. We write mi(t;θi)m_i(t; \theta_i) for the plasma concentration predicted by the model at time tt for patient ii. Here, θi\theta_i collects the pharmacokinetic parameters of patient ii. Compartmental PK models can be formulated in terms of either the total amount of drug in each compartment or the drug concentration within each compartment. The concentration is obtained by dividing the drug amount by the corresponding compartment’s apparent volume of distribution [34]. We use the concentration formulation throughout because the concentration–time curve is our primary object of interest. Accordingly, c0,ic_{0,i} denotes the initial dose normalized by the drug’s so-called apparent volume of distribution.

The simplest PK compartment model describes a single dose of drug injected rapidly into the bloodstream, a form of administration known as an intravenous bolus [34]. In the one-compartment intravenous bolus model, the dose is delivered to the central compartment instantaneously and is thereafter eliminated by a first-order process at the elimination rate constant κe,i\kappa_{e,i}:

dmi(t;θi)dt=−κe,imi(t;θi),mi(0;θi)=c0,i.\frac{\mathrm{d}m_i(t;\theta_i)}{\mathrm{d}t}=-\kappa_{e,i}m_i(t;\theta_i), \qquad m_i(0;\theta_i)=c_{0,i}.

This gives the plasma concentration mi(t;θi)=c0,iexp⁡(−κe,it)m_i(t;\theta_i)=c_{0,i}\exp(-\kappa_{e,i}t), with parameter vector θi=(κe,i,c0,i)\theta_i=(\kappa_{e,i},c_{0,i}).

For a drug that is administered orally, the simplest one-compartment model assumes absorption from a so-called depot, which represents drug remaining in the gut that has not yet been absorbed into the bloodstream. Drug passes from the depot into the central compartment by a first-order process with absorption rate constant κa,i\kappa_{a,i}. Writing ξi(t)\xi_i(t) for the drug concentration in the depot, we have:

d ξi(t)dt=−κa,iξi(t),d mi(t;θi)dt=κa,iξi(t)−κe,imi(t;θi),\frac{d\,\xi_i(t)}{dt}=-\kappa_{a,i}\xi_i(t), \qquad\frac{d\,m_i(t;\theta_i)}{dt}=\kappa_{a,i}\xi_i(t)-\kappa_{e,i}m_i(t;\theta_i),

with initial conditions ξi(0)=c0,i\xi_i(0)=c_{0,i} and mi(0;θi)=0m_i(0;\theta_i)=0. For κa,i≠κe,i\kappa_{a,i}\ne\kappa_{e,i}, solving the system gives the plasma concentration [2, 19]

mi(t;θi)=c0,i κa,iκa,i−κe,i{e−κe,it−e−κa,it},(1)m_i(t;\theta_i)=\frac{c_{0,i}\,\kappa_{a,i}}{\kappa_{a,i}-\kappa_{e,i}}\left\{e^{-\kappa_{e,i}t}-e^{-\kappa_{a,i}t}\right\}, \tag*{(1)}

where θi=(κa,i,κe,i,c0,i)\theta_i=(\kappa_{a,i},\kappa_{e,i},c_{0,i}) collects the absorption rate constant, the elimination rate constant, and the initial dose on the concentration scale. When κa,i=κe,i=κi\kappa_{a,i}=\kappa_{e,i}=\kappa_i, the continuous limiting expression is mi(t;θi)=c0,iκite−κitm_i(t;\theta_i)=c_{0,i}\kappa_i t e^{-\kappa_i t}.

More complex compartment models can be built by adding compartments or by replacing the linear elimination term with a nonlinear one. For example, the two-compartment model couples the central compartment to a peripheral tissue compartment. The exchange of drug between the compartments is described by the transfer rate constants κ12\kappa_{12} and κ21\kappa_{21}, with elimination occurring only from the central compartment. The resulting plasma concentration is a sum of two decaying exponentials, c1e−λ1t+c2e−λ2tc_1e^{-\lambda_1t}+c_2e^{-\lambda_2t}, where c1c_1, c2c_2, λ1\lambda_1, λ2\lambda_2 are explicit functions of the rate constants and the dose [19].

Linear compartmental models with constant coefficients often admit closed-form expressions that are available in standard pharmacokinetic references [44, 19, 17] and admit straightforward extension to multi-dose settings. Closed-form solutions for more complex nonlinear compartmental models, such as those incorporating Michaelis–Menten elimination [17], are not in general available, and the corresponding initial-value problem is solved numerically, typically via the Runge–Kutta method.

Pharmacokinetic functionals

The main inferential targets of interest in this work can be stated as functionals of the concentration–time curve CC. The total area under the concentration–time curve over the observation window is given by the linear functional

AUC⁡a:b=∫abC(t) dt.(2)\operatorname{AUC}_{a:b} = \int_{a}^{b} C(t)\,\mathrm{d}t. \tag*{(2)}

On the other hand, the maximum concentration over T\mathcal{T}, written Cmax⁡C_{\max} throughout this paper, is

Cmax⁡=sup⁡t∈TC(t),(3)C_{\max} = \sup_{t \in\mathcal{T}} C(t), \tag*{(3)}

which is a nonlinear functional of the curve CC. Where a particular patient is referred to, we add a subscript ii, as in Cmax⁡,iC_{\max,i}.

A number of other clinically relevant pharmacokinetic quantities are built upon the AUC functional. An important example is the systemic clearance of a drug for an intravenous dose DD, which is given by

CL=DAUC⁡0:∞.(4)\mathrm{CL} = \frac{D}{\operatorname{AUC}_{0:\infty}}. \tag*{(4)}

In practice, AUC⁡0:∞\operatorname{AUC}_{0:\infty} may be approximated by AUC⁡0:b\operatorname{AUC}_{0:b} over a finite time interval when the unobserved tail contribution is negligible. Other examples include the bioavailability and the elimination half-life of a drug. Because these quantities can be written as functionals of the concentration–time curve, if a posterior distribution over the concentration–time curve is available, the posterior distribution of each PK quantity can be obtained by evaluating its corresponding functional on posterior draws of the concentration–time curve.

Gaussian processes

A Gaussian process (GP) is a collection of random variables {g(t):t∈T}\{g(t):t\in\mathcal{T}\} such that, for every finite set of evaluation points t1,…,tn∈Tt_1,\ldots,t_n\in\mathcal{T}, the vector (g(t1),…,g(tn))T(g(t_1),\ldots,g(t_n))^{\mathsf{T}} is multivariate normal [32]. It is fully specified by a mean function m:T→Rm:\mathcal{T}\to\mathbb{R} and a symmetric positive semidefinite covariance kernel k:T×T→Rk:\mathcal{T}\times\mathcal{T}\to\mathbb{R}, and we write g∼GP⁡(m,k)g\sim\operatorname{GP}(m,k). When a GP is observed under additive Gaussian noise, the conditional distribution of the process given the observations is again a GP with closed-form mean and covariance functions [32]; we defer the explicit posterior formulas to § 4.2, where they appear in the context of the proposed model.

In this work we focus on stationary covariance kernels of the form kϕ(s,t)=σf2ρν(∣t−s∣/ℓ)k_{\phi}(s,t)=\sigma_f^2\rho_{\nu}(|t-s|/\ell), parameterized by a marginal variance σf2>0\sigma_f^2>0 and a length-scale ℓ>0\ell>0, collected as ϕ=(σf2,ℓ)\phi=(\sigma_f^2,\ell). The radial profile ρν\rho_{\nu} is taken from the Matérn family, indexed by a smoothness parameter ν\nu: the process is ⌈ν⌉−1\lceil\nu\rceil-1 times mean-square differentiable, so that larger ν\nu yields smoother realizations, with the squared-exponential kernel arising in the limit ν→∞\nu\to\infty.

Matérn kernels are widely used in spatial statistics and GP regression because they permit explicit control over prior regularity [40, 20, 32]. Kernel hyperparameters may be fixed using prior knowledge, selected by cross-validation, estimated by maximizing the marginal likelihood, or assigned prior distributions and inferred jointly with the latent process [32 Chapter 5].

Compartment-driven Gaussian process model

We now introduce our proposed compartment-driven Gaussian process model and develop posterior inference for the pharmacokinetic exposure functionals defined in § 3.3.

The goal is to produce a posterior distribution over the concentration–time curve CC and, by direct propagation, obtain posterior distributions over functionals such as AUCa:b\mathrm{AUC}_{a:b} and Cmax⁡C_{\max} given the observed data D\mathcal{D}. Theoretical results are stated alongside the inferential procedures, whereas proofs are deferred to the Supplementary Material.

Compartment-driven Gaussian process (CD-GP)

Let CC denote the target concentration–time curve of § 3.1, observed at times TT with concentrations YY. Conditional on a hyperparameter vector ψ=(θ,ϕ,σε2)\psi= (\theta, \phi, \sigma_{\varepsilon}^{2}), the proposed model is

Y∣C,ψ∼N(C(T),R),C(t)=m(t;θ)+g(t),g∣ϕ∼GP(0,kϕ),(5)\begin{aligned} Y \mid C, \psi&\sim\mathcal{N}\left(C(T), R\right),\\ C(t) &= m(t;\theta) + g(t),\\ g \mid\phi&\sim\mathcal{GP}(0, k_{\phi}), \tag*{(5)} \end{aligned}

or equivalently C∣ψ∼GP(m,kϕ)C \mid\psi\sim\mathcal{GP}(m, k_{\phi}). The prior mean function mm is the solution of a compartmental pharmacokinetic model as described in § 3.2, where the practitioner can choose a pharmacokinetic model appropriate for the drug under study. The one-compartment model with oral absorption (Equation (1)) is our default. When patient covariates xx are available, they may be incorporated into the specification of mm. The covariance kernel kϕk_{\phi} is a stationary kernel introduced in § 3.4.

The two data types of § 3.1 are recovered as special cases. For individual patient data, we can take CC to be the patient’s curve CiC_i and RR to be the observation covariance σε2Ini\sigma_{\varepsilon}^{2}I_{n_i}. For aggregated clinical data, we can take CC to be the mean curve C‾\overline{C} over the clinical cohort and RR to be diag⁡(SE12,…,SEn2)\operatorname{diag}(\mathrm{SE}_1^2,\ldots,\mathrm{SE}_n^2). Everything that follows is stated for generic CC and RR, and therefore applies to either setting without modification.

The model is motivated by two requirements. First, established knowledge encoded in compartmental and population pharmacokinetic models should inform the prior, which helps to stabilize inference under sparse observations and anchor estimated curves to pharmacologically plausible dynamics. Second, compartmental models are necessarily simplifications of the underlying biology. We therefore use a GP residual to capture systematic departures from the assumed compartmental dynamics. The additive decomposition of CC into a mechanistic mean function mm and a GP residual gg gives a simple approach to achieve both objectives. Here the mean mm governs interpolations and extrapolations across time, whereas the kernel kϕk_{\phi} governs the size and smoothness of deviations from the mean.

The Gaussian specification (Equation (5)) does not impose nonnegativity on either the latent curve or the observations. For most applications focused on AUC and Cmax⁡C_{\max}, this Gaussian formulation can be appropriate when concentrations are appreciably above zero relative to their uncertainty over the dosing interval of interest. When substantial probability is assigned to negative concentrations over an appreciable part of the interval, a log transformation or another positivity-preserving formulation may be more appropriate.

We use the Matérn-5/2 kernel throughout, giving a twice mean-square differentiable process.

Posterior concentration–time curve

All exact posterior statements below are conditional on fixed hyperparameters. Let KTT=k(T,T)∈Rn×nK_{TT} = k(T,T) \in\mathbb{R}^{n \times n}, let ΣY=KTT+R\Sigma_Y = K_{TT} + R denote the marginal covariance of the observations, and assume that ΣY\Sigma_Y is positive definite. Set m(T)=(m(t1),…,m(tn))Tm(T) = (m(t_1), \ldots, m(t_n))^{\mathsf{T}} and k(t,T)=(k(t,t1),…,k(t,tn))k(t,T) = (k(t,t_1), \ldots, k(t,t_n)).

The posterior distribution C∣YC \mid Y of the concentration–time curve is the object from which the posterior distributions of all exposure functionals are derived. We give a characterization of C∣YC \mid Y below.

Theorem 4.1 (Posterior Gaussian process). Under the model in Equation (5), the posterior distribution over the concentration–time curve is given by the GP

C∣Y=y∼GP(μ,K+),(6)C \mid Y = y \sim\mathcal{GP}(\mu, K^{+}), \tag*{(6)}

with posterior mean and covariance

μ(t)=m(t)+k(t,T)ΣY−1{y−m(T)},(7)\mu(t) = m(t) + k(t,T)\Sigma_Y^{-1}\{y-m(T)\}, \tag*{(7)}
K+(s,t)=k(s,t)−k(s,T)ΣY−1k(T,t).(8)K^{+}(s,t) = k(s,t) - k(s,T)\Sigma_Y^{-1}k(T,t). \tag*{(8)}

In practice, ΣY−1\Sigma_Y^{-1} need not be formed explicitly. A common computational trick in the GP literature is to compute a Cholesky factorization of ΣY\Sigma_Y once, after which the linear systems required for the posterior mean and covariance are evaluated efficiently by forward and backward substitution.

Posterior inference for linear exposure functionals

The posterior C∣Y=yC \mid Y = y (Equation (6)) characterizes uncertainty in the entire concentration–time curve. This uncertainty propagates simply to linear functionals. In particular, since AUCa:b=∫abC(t) dt\mathrm{AUC}_{a:b} = \int_a^b C(t)\,dt is the integral of the concentration–time curve over the exposure window, it is a linear functional of CC and its posterior is exactly Gaussian. This is elaborated below.

Theorem 4.2 (Gaussianity of AUC). Under the posterior in Equation (6), assume that the mean and covariance functions are continuous and that CC has almost surely continuous sample paths on the compact interval [a,b][a,b], with a<ba < b. Then

AUCa:b∣Y=y∼N(μA,σA2),\mathrm{AUC}_{a:b} \mid Y = y \sim\mathcal{N}(\mu_A,\sigma_A^2),

where

μA=∫abμ(t) dt,σA2=∫ab∫abK+(s,t) ds dt.\mu_A = \int_a^b \mu(t)\,dt,\qquad\sigma_A^2 = \int_a^b \int_a^b K^{+}(s,t)\,ds\,dt.

The corresponding (1−α)(1-\alpha)-level credible interval for AUCa:b\mathrm{AUC}_{a:b} is

[μA−z1−α/2σA, μA+z1−α/2σA],[\mu_A-z_{1-\alpha/2}\sigma_A,\ \mu_A+z_{1-\alpha/2}\sigma_A],

where z1−α/2z_{1-\alpha/2} is the standard normal quantile.

We evaluate the integrals defining the AUC posterior mean and variance using deterministic Gaussian quadrature, which enjoys strong guarantees on consistency. Table 1 provides a summary of the computation, whereas § 13 of the Supplementary Material provides background on quadrature and our related consistency results. The practical implication of these results is that the closed-form Gaussian posterior of AUCa:b\mathrm{AUC}_{a:b} can be evaluated to arbitrary precision numerically. Posterior means and credible intervals then follow directly from the resulting univariate normal distribution, without the need for any Monte Carlo simulation.

Input: data (T,Y)(T,Y); mechanistic mean m(⋅)m(\cdot); kernel kϕk_{\phi}; observation covariance RR; quadrature/grid nodes UqU_q and weights ωq\omega_q; number of posterior paths SS; jitter η\eta.
Step 1. Compute KTT=kϕ(T,T)K_{TT}=k_{\phi}(T,T) and ΣY=KTT+R\Sigma_Y=K_{TT}+R.
Step 2. Compute Cholesky factor LΣL_{\Sigma} of ΣY\Sigma_Y and solve LΣβ1=Y−m(T)L_{\Sigma}\beta_1=Y-m(T), LΣTβ=β1L_{\Sigma}^{\mathsf{T}}\beta=\beta_1.
Step 3. Posterior mean on UqU_q: μ(Uq)=m(Uq)+kϕ(Uq,T)β\mu(U_q)=m(U_q)+k_{\phi}(U_q,T)\beta.
Step 4. Posterior covariance on UqU_q: K+(Uq,Uq)=kϕ(Uq,Uq)−kϕ(Uq,T)ΣY−1kϕ(T,Uq)K^{+}(U_q,U_q)=k_{\phi}(U_q,U_q)-k_{\phi}(U_q,T)\Sigma_Y^{-1}k_{\phi}(T,U_q), computed via Cholesky solves.
Step 5. Quadrature approximation to the AUC posterior: μA,q=ωqTμ(Uq)\mu_{A,q}=\omega_q^{\mathsf{T}}\mu(U_q), σA,q2=ωqTK+(Uq,Uq)ωq\sigma_{A,q}^{2}=\omega_q^{\mathsf{T}}K^{+}(U_q,U_q)\omega_q.
Step 6. Posterior paths: factor K+(Uq,Uq)+ηIq=LKLKTK^{+}(U_q,U_q)+\eta I_q=L_KL_K^{\mathsf{T}}. For s=1,…,Ss=1,\ldots,S, draw Zs∼N(0,Iq)Z_s\sim\mathcal{N}(0,I_q) and set C(s)(Uq)=μ(Uq)+LKZsC^{(s)}(U_q)=\mu(U_q)+L_KZ_s.
Step 7. Path summaries: A(s)=ωqTC(s)(Uq)A^{(s)}=\omega_q^{\mathsf{T}}C^{(s)}(U_q), M(s)=max⁡vC(s)(uv)M^{(s)}=\max_v C^{(s)}(u_v).
Step 8. Report posterior summaries: mean, median, and (1−α)(1-\alpha)-credible intervals for AUCa:b_{a:b} and Cmax⁡C_{\max}.

Table 1. Posterior inference for AUC and Cmax⁡C_{\max}.

Posterior inference for nonlinear exposure functionals

The posterior of Cmax⁡C_{\max} is generally not available in closed form because it is a nonlinear functional of the GP. We approximate this posterior by drawing concentration vectors on a dense grid from the posterior Gaussian distribution and taking the maximum of each draw. Posterior summaries and credible intervals are obtained from these simulated maxima. Table 1 summarizes the computational procedures, and § 14.3 of the Supplementary Material establishes convergence of the grid approximation.

The posterior maximum satisfies a two-sided concentration bound around its posterior expectation.

Theorem 4.3 (Posterior concentration of Cmax⁡C_{\max}). Suppose C∣Y=y∼GP(μ,K+)C \mid Y=y \sim\mathcal{GP}(\mu,K^{+}) has continuous mean and covariance functions and almost surely continuous sample paths on

Figure 1. Posterior path samples for a single target curve. Left: twenty posterior paths (light gray) and posterior mean (solid black), with observed data points overlaid. Right top: histogram of the posterior of AUCa:b\mathrm{AUC}_{a:b}, overlaid with the Gaussian density implied by the closed-form posterior mean and variance. Right bottom: histogram of the posterior of Cmax⁡C_{\max}.

[a,b][a,b]. Let

m⋆=E(Cmax⁡∣Y=y)<∞,σ⋆2=sup⁡t∈[a,b]K+(t,t)>0.m_{\star} = \mathbb{E}(C_{\max} \mid Y = y) < \infty,\qquad\sigma_{\star}^{2} = \sup_{t \in[a,b]} K^{+}(t,t) > 0.

Then, for every r>0r > 0,

P(∣Cmax⁡−m⋆∣≥r∣Y=y)≤2exp⁡(−r22σ⋆2).\mathbb{P}(\lvert C_{\max} - m_{\star}\rvert\ge r \mid Y = y) \le2\exp\left(-\frac{r^{2}}{2\sigma_{\star}^{2}}\right).

Consequently, for every α∈(0,1)\alpha\in(0,1),

P(∣Cmax⁡−m⋆∣≤σ⋆2log⁡(2/α)∣Y=y)≥1−α.\mathbb{P}\left(\lvert C_{\max} - m_{\star}\rvert\le\sigma_{\star}\sqrt{2\log(2/\alpha)} \mid Y = y\right) \ge1-\alpha.

Here σ⋆\sigma_{\star} is the largest posterior pointwise standard deviation. The bound quantifies uncertainty in peak drug concentration. The bound depends on the largest posterior pointwise standard deviation over the full interval. The proof and supporting results are provided in § 14.4 of the Supplementary Material.

Table 1 summarizes posterior inference for individual curves and group-mean curves. The two settings are distinguished by the observation covariance RR.

Practical considerations

We discuss several implementation considerations for our compartment-driven GP model.

Hyperparameter selection. The kernel hyperparameters (σf,ℓ)(\sigma_f,\ell) and, for individualized data, the observation-noise scale σϵ\sigma_{\epsilon} can be chosen in different ways. A common approach is type-II maximum likelihood, or empirical Bayes, which maximizes the marginal likelihood of the observations with the latent process integrated out. This can be convenient here because that marginal likelihood is available in closed form [32].

When few observations are available, often the case in pharmacology applications, unpenalized likelihood-based estimates are prone to degeneracy. For example, variance parameters might collapse towards zero and length scale parameters can drift beyond the observation window. A common remedy is to penalize the likelihood with weakly-informative priors, applied either through a maximum a posteriori estimate or through a fully Bayesian treatment that integrates the hyperparameters out [18, 39, 15]. A further option is to fix a hyperparameter outright at a value implied by subject-matter knowledge. This is often the pragmatic choice in pharmacokinetic applications, where there is usually ample prior information on the relevant quantities for commonly used drugs. Any of these approaches may be reasonable depending on the length of the observed trajectories, the sampling design, and the functional of interest. We give detailed documentation of the hyperparameters that we choose in our simulations and experiments in § 12 of the Supplementary Material.

Quadrature node count. The closed-form AUC posterior requires a one- and a two-dimensional integral against μ\mu and K+K^{+}. We use q=64q = 64 Gauss–Legendre nodes for the numerical analyses, which we find to be accurate for the low-dimensional numerical integrals relevant to this work.

Posterior path simulation. For Cmax⁡C_{\max}, the grid UqU_q used for path simulation needs to be dense enough that the discrete maximum approximates the continuous-time supremum. Over a 24-hour observation window, q=200q = 200 uniformly spaced nodes give a spacing of approximately 7 minutes. This provides a comparatively fine starting grid relative to the clinical sampling schedules recommended for characterizing peaks in rapidly absorbed oral products (International Council for Harmonisation of Technical Requirements for Pharmaceuticals for Human Use, 2024). The grid resolution can be increased as needed to capture faster dynamics or sharper peaks. The number of paths SS controls Monte Carlo error in the empirical Cmax⁡C_{\max} posterior; we use S=2000S = 2000 by default.

Computational complexity. For a single curve with nn observations and a prediction grid of size qq, Step 2 costs O(n3)O(n^{3}) and the covariance factorization in Step 6 costs O(q3)O(q^{3}). For typical pharmacokinetic studies with nn on the order of 5–20 and qq on the order of 200–500, these matrices are modest in size. Generating SS posterior paths in Step 6 additionally costs O(Sq2)O(Sq^{2}).

Simulation study

We evaluate whether the proposed method delivers well-calibrated patient-level uncertainty for AUC and Cmax⁡C_{\max} across a range of pharmacokinetic settings. The design contrasts nine scenarios where simulated datasets are generated and analyzed by both our proposed model and alternative methods.

Simulation design

Scenarios. The nine scenarios that we consider are listed in Table 2. We group them as compartmental curves with standard sampling (S1–S3), compartmental curves with sparse sampling (S4–S6), and curves with an added discrepancy that makes them deviate from compartmental structure (S7–S9). Scenario 1 generates data from the same one-compartment oral model used as the prior mean, so that the mechanistic mean is correctly specified. Scenario 2 generates data from a two-compartment model while the fitted prior mean remains a one-compartment model, testing the GP’s ability to absorb structural misspecification. Scenario 3 generates data from a one-compartment intravenous bolus model and fits the corresponding intravenous mean. Scenarios 4–6 mirror Scenarios 1–3 but with a sparse sampling design, to assess robustness when only a few post-dose measurements per patient are available. Scenarios 7–9 deviate from the exact compartmental model specification. The true curve includes an additive non-compartmental perturbation, so it does not belong to the compartmental family. Scenario 7 pairs the perturbation with a correctly specified one-compartment oral mean, Scenario 8 adds structural misspecification by generating from a two-compartment model, and Scenario 9 repeats Scenario 7 under the sparse design.

ScenarioGenerating modelFitted meanSampling designnin_i
S11-compartment oral1-compartment oralStandard grid10
S22-compartment1-compartment oralStandard grid10
S31-compartment IV bolus1-compartment IV bolusStandard grid10
S41-compartment oral1-compartment oralSparse5
S52-compartment1-compartment oralSparse5
S61-compartment IV bolus1-compartment IV bolusSparse5
S71-compartment oral + discrepancy1-compartment oralStandard grid10
S82-compartment + discrepancy1-compartment oralStandard grid10
S91-compartment oral + discrepancy1-compartment oralSparse5

Table 2. Simulation scenarios to evaluate the compartment-driven GP model. Sample size per subject nin_i is the number of post-dose concentration measurements. The standard design grid we use is t∈{0.5,1,1.5,2,3,4,6,8,12,24}t \in\{0.5, 1, 1.5, 2, 3, 4, 6, 8, 12, 24\} hr post-dose; the sparse design grid we use is t∈{1,2,4,8,16}t \in\{1, 2, 4, 8, 16\} hr. Here IV denotes intravenous administration.

Ground truth. The population pharmacokinetic parameters for the simulations are fixed at κapop=1.5 hr−1\kappa_a^{\mathrm{pop}} = 1.5\ \mathrm{hr}^{-1}, κepop=0.1 hr−1\kappa_e^{\mathrm{pop}} = 0.1\ \mathrm{hr}^{-1}, and c0pop=10 mg/Lc_0^{\mathrm{pop}} = 10\ \mathrm{mg/L}. For each patient ii, the patient-specific parameters are drawn as

κa,i∼N(κapop,σκa2),κe,i∼N(κepop,σκe2),c0,i∼N(c0pop,σc02).\kappa_{a,i} \sim\mathcal{N}\left(\kappa_a^{\mathrm{pop}}, \sigma_{\kappa_a}^{2}\right), \qquad\kappa_{e,i} \sim\mathcal{N}\left(\kappa_e^{\mathrm{pop}}, \sigma_{\kappa_e}^{2}\right), \qquad c_{0,i} \sim\mathcal{N}\left(c_0^{\mathrm{pop}}, \sigma_{c_0}^{2}\right).

with between-patient standard deviations σκa=0.3\sigma_{\kappa_a} = 0.3, σκe=0.02\sigma_{\kappa_e} = 0.02, and σc0=2\sigma_{c_0} = 2. These numbers are chosen so that each parameter has a coefficient of variation of 20%. The two-compartment scenarios additionally specify inter-compartmental rate constants κ12pop=0.2 hr−1\kappa_{12}^{\mathrm{pop}} = 0.2\ \mathrm{hr}^{-1} and κ21pop=0.1 hr−1\kappa_{21}^{\mathrm{pop}} = 0.1\ \mathrm{hr}^{-1}, with analogous Gaussian draws around these means. The observation model is Yij=Ci(tij)+ϵijY_{ij} = C_i(t_{ij}) + \epsilon_{ij} with ϵij∼N(0,σϵ2)\epsilon_{ij} \sim\mathcal{N}(0,\sigma_{\epsilon}^{2}) and σϵ=0.1 mg/L\sigma_{\epsilon} = 0.1\ \mathrm{mg/L}. In Scenarios 7–9 there is an additional non-compartmental discrepancy,

Ci(t)=max⁡{mi(t;θi)+δi(t),0},δi∼iidGP(0,τ2ρ5/2(∣s−t∣/ℓδ)),C_i(t) = \max\{m_i(t;\theta_i) + \delta_i(t), 0\}, \qquad\delta_i \overset{\mathrm{iid}}{\sim} \mathcal{GP}\left(0,\tau^2\rho_{5/2}(|s-t|/\ell_\delta)\right),

drawn independently for each patient with τ=0.6 mg/L\tau= 0.6\ \mathrm{mg/L} and ℓδ=4 hr\ell_\delta= 4\ \mathrm{hr}.

Competing methods to the compartment-driven GP model. We list the competing methods compared below.

  1. Trapezoidal noncompartmental analysis (NCA+B) with a nonparametric bootstrap over time points, giving AUC^=∑j12(ti,j+1−tij)(Yi,j+1+Yij)\widehat{\mathrm{AUC}} = \sum_j \frac{1}{2}(t_{i,j+1}-t_{ij})(Y_{i,j+1}+Y_{ij}) and C^max⁡=max⁡jYij\widehat{C}_{\max} = \max_j Y_{ij} with bootstrap intervals.

  1. Parametric one-compartment fit (P-1cpt).

  1. Parametric two-compartment fit (P-2cpt).

  1. Pure GP with a zero mean function, carrying no pharmacokinetic structure.

  1. Compartment-driven GP (CD-GP; ours).

Metrics for comparison. Throughout the simulation the exposure window is [a,b]=[0,24][a,b] = [0,24] hr, so AUC below means AUC0:24_{0:24}. We generate B=50B = 50 simulated datasets of N=10N = 10 patients each per scenario. For each simulated dataset rr and each patient ii, we compute the point estimate AUC^i(r)\widehat{\mathrm{AUC}}_i^{(r)} and a 95% interval CIi(r)\mathrm{CI}_i^{(r)} for AUC, and analogously for Cmax⁡C_{\max}. Writing AUCi,true(r)\mathrm{AUC}_{i,\mathrm{true}}^{(r)} for the corresponding true value, and averaging over all BNBN patient–dataset pairs, we report bias, root mean squared error (RMSE), coverage, and interval width:

Bias=1BN∑r∑i(AUC^i(r)−AUCi,true(r)),RMSE=[1BN∑r∑i(AUC^i(r)−AUCi,true(r))2]1/2.Coverage=1BN∑r∑i1{AUCi,true(r)∈CIi(r)},Width=1BN∑r∑i∣CIi(r)∣,\begin{aligned} \mathrm{Bias} &= \frac{1}{BN}\sum_r\sum_i\left(\widehat{\mathrm{AUC}}_i^{(r)}-\mathrm{AUC}_{i,\mathrm{true}}^{(r)}\right),\\ \mathrm{RMSE} &= \left[\frac{1}{BN}\sum_r\sum_i\left(\widehat{\mathrm{AUC}}_i^{(r)}-\mathrm{AUC}_{i,\mathrm{true}}^{(r)}\right)^2\right]^{1/2}.\\ \mathrm{Coverage} &= \frac{1}{BN}\sum_r\sum_i\mathbf{1}\{\mathrm{AUC}_{i,\mathrm{true}}^{(r)}\in\mathrm{CI}_i^{(r)}\},\qquad \mathrm{Width} = \frac{1}{BN}\sum_r\sum_i|\mathrm{CI}_i^{(r)}|, \end{aligned}

Here ∣CI∣|\mathrm{CI}| denotes interval length; the GP intervals are posterior credible intervals.

Results

We first assess uncertainty in total exposure across the three scenario groups. Across Scenarios 1–9, AUC coverage for our method is approximately at or above the nominal 95% (Table 3, S1–S9, CD-GP rows). The intervals for our method are generally substantially narrower than those of the competitors that also attain high coverage. In the compartmental-curve scenarios S1–S6, coverage is conservative (0.976–1.000). This conservatism can be interpreted as a cost of robustness. The GP component accommodates departures from compartmental dynamics, but the additional flexibility can yield more conservative coverage when the compartmental structure already describes the data well. Related phenomena have been documented in the literature [26, 49]. For curves with an added discrepancy (Table 3, S7–S9), the parametric compartmental fits exhibit undercoverage, whereas CD-GP maintains coverage much closer to the nominal level. The Pure GP competitor, which carries no pharmacokinetic structure, has conservative coverage and substantially wider AUC credible intervals than CD-GP (Table 3, S1–S9). These results support using the mechanistic mean to constrain exposure uncertainty while allowing departures from compartmental dynamics.

We next assess uncertainty in peak exposure in the oral-administration scenarios (Table 3, S1–S2, S4–S5, and S7–S9). The noncompartmental and parametric compartmental methods generally undercover Cmax⁡C_{\max}, whereas the Pure GP comparator yields conservative coverage and wider credible intervals than CD-GP. CD-GP generally achieves coverage closer to nominal, suggesting that combining mechanistic structure with a flexible discrepancy improves the balance between coverage and interval width in the settings examined.

ScenarioMethodAUC BiasAUC RMSEAUC CoverageAUC WidthCmax⁡C_{\max} BiasCmax⁡C_{\max} RMSECmax⁡C_{\max} CoverageCmax⁡C_{\max} Width
A. Standard sampling: S1, one-compartment oral; S2, two-compartment; S3, intravenous bolus.
S1NCA+B1.121.591.00059.9−0.000.090.5140.61
S1P-1cpt−0.061.030.7682.8−0.000.050.7980.13
S1P-2cpt0.021.090.7122.60.000.060.6920.13
S1Pure GP−5.506.131.000137.10.520.560.9964.82
S1CD-GP−0.353.090.99817.70.010.120.9360.40
S2NCA+B−0.541.251.00039.6−0.020.100.4360.90
S2P-1cpt−8.608.970.15011.0−0.220.240.8680.66
S2P-2cpt−0.111.090.7162.6−0.010.060.6940.14
S2Pure GP−3.784.081.000105.50.190.251.0003.32
S2CD-GP1.612.261.00023.30.040.120.9220.40
S3NCA+B−2.192.480.99057.8————
S3P-1cpt0.020.960.8142.8————
S3P-2cpt−0.142.690.7085.3————
S3Pure GP−5.946.511.000134.2————
S3CD-GP−0.533.131.00017.3————
B. Sparse sampling: S4, one-compartment oral; S5, two-compartment; S6, intravenous bolus.
S4NCA+B−16.1517.620.04459.9−0.040.130.3721.33
S4P-1cpt−0.011.280.6482.6−0.010.070.5600.14
S4P-2cpt0.221.380.3941.60.010.090.3680.09
S4Pure GP−4.085.221.000118.70.850.930.9945.62
S4CD-GP−0.613.910.97616.6−0.010.130.9760.55

Table 3. Simulation results for AUC and Cmax⁡C_{\max} across Scenarios S1–S9. Columns report bias, root mean squared error (RMSE), empirical coverage of nominal 95% intervals, and mean interval width across B×N=500B \times N = 500 patient–dataset pairs; GP intervals are posterior credible intervals. Bias, RMSE, and width are in mg·hr/L for AUC and mg/L for Cmax⁡C_{\max}. Nominal coverage is 0.95; the Monte Carlo standard error of coverage near nominal is approximately 0.010. Methods: NCA+B, NCA with bootstrap; P-1cpt/P-2cpt, parametric one-/two-compartment fits; Pure GP, zero-mean GP; CD-GP, compartment-driven GP. Em dashes indicate Cmax⁡C_{\max} results omitted for the intravenous-bolus scenarios S3 and S6, whose generating curves decay monotonically from administration and attain their maximum at the initial concentration c0c_0.

Continued on next page.

ScenarioMethodAUC BiasAUC RMSEAUC CoverageAUC WidthCmax⁡C_{\max} BiasCmax⁡C_{\max} RMSECmax⁡C_{\max} CoverageCmax⁡C_{\max} Width
S5NCA+B−13.0213.500.75247.3−0.140.190.1442.35
P-1cpt−5.726.080.72014.4−0.020.400.9361.44
P-2cpt0.011.610.1220.60.010.080.1460.03
Pure GP−3.333.741.00089.90.350.391.0003.58
CD-GP0.852.001.00020.9−0.010.120.9920.59
S6NCA+B−20.0721.100.01460.1————
P-1cpt0.051.180.7343.1————
P-2cpt1.2210.280.45612.4————
Pure GP−6.086.751.000127.9————
CD-GP−0.533.580.98016.1————
S7NCA+B1.434.050.96462.7−0.000.100.4820.64
P-1cpt0.164.260.6008.3−0.010.150.7820.39
P-2cpt0.584.030.5326.30.010.110.8040.32
Pure GP−5.437.041.000140.80.550.590.9965.00
CD-GP−0.324.760.95218.7−0.000.120.9200.41
S8NCA+B−0.634.100.96841.3−0.020.090.3800.89
P-1cpt−8.1110.040.35412.3−0.220.270.8160.74
P-2cpt−0.364.290.4786.00.010.090.8380.32
Pure GP−3.965.611.000105.50.200.271.0003.38
CD-GP1.414.230.99824.10.040.130.9220.42
S9NCA+B−16.1317.570.09660.9−0.060.130.2941.36
P-1cpt0.013.650.6709.10.000.180.7400.49
P-2cpt0.974.410.3704.80.040.140.4820.80
Pure GP−4.025.621.000119.80.850.920.9885.66
CD-GP−0.584.320.96817.1−0.010.140.9700.56

Table 3 (PDF p. 26). C. Added non-compartmental discrepancy: S7/S9, one-compartment oral; S8, two-compartment; S9, sparse.

Case studies

We now illustrate the compartment-driven GP framework on several real pharmacokinetic datasets that span the two data types described in § 3.1. The first case concerns individualized patient-level time-series via the warfarin dataset, distributed in the nlmixr2data R package. This dataset is commonly used as a benchmark in pharmacokinetic modeling.

A second individualized analysis, of the theophylline dataset from the same package, is reported in Section S4.4 of the Supplementary Material. The remaining two cases are aggregated concentration–time curves digitized from a clinical-pharmacology study of the chemotherapy agents capecitabine and 5-fluorouracil (5-FU) in patients with normal liver function and in patients with hepatic dysfunction due to liver metastases [42]. For each chemotherapy drug, the framework produces posterior distributions over the cohort-mean AUC for the two patient populations. This allows for a probabilistic assessment of the extent to which the hepatic-dysfunction cohort received higher total exposure to 5-FU and capecitabine than the cohort with normal liver function.

Throughout this section, the prior mean function is a one-compartment oral absorption model as in Equation (1) with population-typical rate parameters taken from the pharmacokinetic literature. All case studies use the Matérn-5/2 kernel with the length scale held fixed and the remaining hyperparameter priors (Supplementary Material Section S1) scaled to the concentration range of each drug. Posterior path simulation uses S=2000S = 2000 paths per case on a 200-point grid spanning the inferential window.

Warfarin

The warfarin dataset includes 32 adult patients (ages 21–63, body weights 40–102 kg) who each received a single oral loading dose of warfarin between 60 and 153 mg (weight-scaled), followed by 6–17 plasma-concentration measurements over the subsequent 120 hours (Supplementary Figure S2). Warfarin is an oral anticoagulant with a narrow therapeutic window. Population-typical adult values κa=0.8 hr−1\kappa_a = 0.8\ \mathrm{hr}^{-1} and κe=0.012 hr−1\kappa_e = 0.012\ \mathrm{hr}^{-1} (half-life ≈58\approx58 hr) were used to inform the mechanistic prior mean. The administered dose enters on the concentration scale through c0,i=Di/(vkgWi)c_{0,i} = D_i/(v_{\mathrm{kg}}W_i), where DiD_i and WiW_i are patient ii’s dose and body weight and vkg=0.14 L/kgv_{\mathrm{kg}} = 0.14\ \mathrm{L/kg} is the apparent volume of distribution reported for warfarin.

Figure 2 shows patient-level posterior 95% credible intervals for AUC over [tdose,tdose+168 hr][t_{\mathrm{dose}}, t_{\mathrm{dose}} + 168\ \mathrm{hr}] and for Cmax⁡C_{\max}, with posterior median exposures spanning a broad range across patients. In particular, AUC medians range from 483 to 961 mg·hr/L (median 796), and Cmax⁡C_{\max} medians range from 8.8 to 17.3 mg/L (median 10.9). Two patients (IDs 8 and 12) have markedly higher Cmax⁡C_{\max} intervals than the others. These higher peak exposures may be relevant when clinicians assess bleeding risk and consider dose reduction. The posterior credible intervals provide uncertainty quantification that could help guide such clinical decisions.

Figure 2. Warfarin case study: posterior 95% credible intervals per patient for AUC over [tdose,tdose+168 hr][t_{\mathrm{dose}}, t_{\mathrm{dose}} + 168\ \mathrm{hr}] (left) and for Cmax⁡C_{\max} (right). Patients are sorted by posterior median.

Chemotherapy: 5-fluorouracil and capecitabine

We now consider aggregated concentration–time data for two related chemotherapy agents, digitized from the clinical-pharmacology study of Twelves et al. [42]. That study reports plasma concentration–time profiles of capecitabine and its principal active metabolite 5-fluorouracil (5-FU) in 27 patients with cancer who were evaluable for pharmacokinetic analysis: 14 patients with normal liver function and 13 patients with mild-to-moderate hepatic dysfunction due to liver metastases. 5-FU is one of the most widely used cytotoxic agents in treating colorectal cancer and several other tumor types. It has a narrow therapeutic window and substantial elimination through hepatic metabolism. Capecitabine is an oral prodrug that is metabolized to 5-FU. It is given as a chemotherapeutic agent in colorectal, breast, and gastric cancers. Because capecitabine itself is eliminated by hepatic metabolism, liver function is expected to be a determinant of plasma exposure. Our framework converts the cohort-mean concentration–time curves and standard errors at observed time points into posterior distributions for each group’s AUC. These distributions allow us to probabilistically assess whether exposure is higher in the hepatic dysfunction group.

Posterior fits to the cohort-mean concentration–time curves are shown in § 17.3 of the Supplementary Material. Comparing the posterior distributions suggests higher exposure in the hepatic dysfunction cohort for both 5-FU and capecitabine (Figure 3). We estimate the posterior probability that AUCdysfunction>AUCnormal\mathrm{AUC}^{\mathrm{dysfunction}} > \mathrm{AUC}^{\mathrm{normal}} by repeatedly drawing AUC values from each cohort’s posterior distribution and calculating the proportion of comparisons in which the dysfunction-cohort value is larger. For 5-FU, the posterior probability is approximately 0.77, with a posterior mean difference of approximately +0.10 μg⋅hr/mL+0.10\ \mu\mathrm{g}\cdot\mathrm{hr}/\mathrm{mL}. For capecitabine, the posterior probability is approximately 0.93, with a posterior mean difference of approximately +3.9 μg⋅hr/mL+3.9\ \mu\mathrm{g}\cdot\mathrm{hr}/\mathrm{mL}. The posterior comparisons favor a positive difference for both drugs. These findings highlight the potential value of accounting for liver function when assessing exposure and considering individualized dosing for 5-FU and capecitabine.

Figure 3. Chemotherapy case study: posterior densities of cohort-mean AUC for the hepatic dysfunction cohort (purple) and the normal liver function cohort (green), shown for 5-FU (left) and capecitabine (right). The title of each panel reports the estimated posterior probability that cohort-mean AUC is higher in the hepatic dysfunction group than in the normal liver function group. AUC is measured in μg⋅hr/mL\mu\mathrm{g}\cdot\mathrm{hr}/\mathrm{mL}.

Discussion

We have presented a general probabilistic framework for uncertainty quantification of functionals of pharmacokinetic concentration–time curves, combining a compartment model-driven prior with a Gaussian process component. Although AUC and Cmax⁡C_{\max} are the two functionals of primary clinical interest, the posterior over the latent concentration–time curve can be propagated to many other pharmacokinetic summary statistics. Examples include clearance, elimination half-life and time above a therapeutic or toxicity threshold. While some functionals may not admit closed-form posterior distributions, their uncertainty can be evaluated by applying the relevant functional to posterior draws of the latent curve.

Our approach reveals a deliberate trade-off between precision and robustness. If a compartmental model fully describes the data-generating process, a purely parametric compartmental analysis can produce narrower intervals by exploiting that structure. When the compartmental dynamics are only approximate, however, such intervals may be overconfident because they do not account for misspecification. Our model allows for added flexibility that alleviates undercoverage under misspecification, but may yield more conservative coverage when the compartmental model is correct.

Several future directions could broaden the framework further. A hierarchical formulation could jointly analyze multiple patients, allowing information to be shared across individuals while retaining patient-specific posterior exposure summaries. Nonstationary covariance structures may also be useful because the rapid absorption phase and slower elimination phase may have substantially different temporal scales. The posterior uncertainty quantified by the framework could be used prospectively rather than only for retrospective analysis. For example, it can provide a basis for selecting sampling times that are most informative about AUC and Cmax⁡C_{\max}, for adapting measurement schedules to individual patients, and potentially for evaluating dose-adjustment decisions under explicit efficacy–toxicity trade-offs.

Acknowledgements

ET acknowledges funding support from the Warren Alpert Foundation and the Croucher Foundation. BEE was funded in part by grants from the Parker Institute for Cancer Immunology (PICI), the Chan-Zuckerberg Institute (CZI), NIH NHGRI R01 HG012967, and NIH NHGRI R01 HG013736. BEE is a CIFAR Fellow in the Multiscale Human Program. BEE is on the Scientific Advisory Board for ArrePath Inc and Freenome; she consults for Neumora.

AI Use Disclosure

AI tools (GPT 6 Astra and Claude Opus 5.5) assisted with coding, refining text, and the derivation of mathematical proofs. The authors are responsible for the content of this manuscript.

Supplementary Material

This Supplementary Material accompanies the main paper. § 12 records application-specific hyperparameters and numerical settings. § 13 introduces quadrature and gives the numerical AUC formulas and convergence results. § 14 provides proofs of the main-text theorems and supporting results for maximum functionals. § 17 collects supporting simulation and application figures and the additional theophylline analysis.

Hyperparameter prior specification across applications

We report here the hyperparameter priors used across the simulation study and the four case studies. In all applications, we place a log-normal prior on the kernel standard deviation σf\sigma_f and estimate it by MAP penalized marginal likelihood (§ 4.1). For individual-level data, we also estimate the observation-noise standard deviation σϵ\sigma_\epsilon by MAP, assigning it an independent log-normal prior. For aggregated data, the observation-noise standard deviation at each observed time point is fixed at the reported standard error. All log-normal priors have a common log-standard-deviation ς=0.2\varsigma= 0.2. Table S1 reports the prior medians used in each application.

ApplicationUnitsKernelsσfs_{\sigma_f}sσϵs_{\sigma_\epsilon}ℓ\ell (fixed)
Simulation S1–S9mg/LMatérn-5/20.60.24 hr
Warfarinmg/LMatérn-5/21.50.224 hr
Theophyllinemg/LMatérn-5/21.50.20.5 hr
5-Fluorouracil (aggregated)μ\mug/mLMatérn-5/20.3reported SE1.5 hr
Capecitabine (aggregated)μ\mug/mLMatérn-5/24.0reported SE1.5 hr

Table S1. Prior medians sσfs_{\sigma_f} and sσϵs_{\sigma_\epsilon} for the log-normal hyperparameter priors (common log-SD ς=0.2\varsigma= 0.2), together with the fixed length scale ℓ\ell, used in the simulation study and the case studies. “Reported SE” denotes the reported standard error at each observed time point in aggregated data. Concentrations are reported in the units used by the source of each dataset; note that mg/L and μ\mug/mL are numerically identical.

The prior medians in Table S1 were chosen by inspection of the concentration scale and sampling cadence of each dataset. The prior median for the kernel standard deviation σf\sigma_f is set to be of the same order as the empirical standard deviation of the residuals Yij−mi(tij;θpop)Y_{ij} - m_i(t_{ij}; \theta^{\mathrm{pop}}) between the observed concentrations and the population-typical mechanistic prior mean. For the warfarin and theophylline datasets, both of which are on the order of approximately 10 mg/L, this prescription gives sσf=1.5s_{\sigma_f} = 1.5 mg/L. For the chemotherapy Table S1: Prior medians sσfs_{\sigma_f} and sσϵs_{\sigma_\epsilon} for the log-normal hyperparameter priors (common log-SD ς=0.2\varsigma= 0.2), together with the fixed length scale ℓ\ell, used in the simulation study and the case studies. “Reported SE” denotes the reported standard error at each observed time point in aggregated data. Concentrations are reported in the units used by the source of each dataset; note that mg/L and μ\mug/mL are numerically identical.

apy aggregated cohort-mean curves, the concentration scales differ between 5-fluorouracil (peak cohort-mean of approximately 0.2 μ\mug/mL, with maximum standard error of approximately 0.07 μ\mug$/mL) and capecitabine (peak cohort-mean of approximately 5.6 μ\mug/mL, with maximum standard error of approximately 1.8 μ\mug/mL), and the prior medians are scaled accordingly to 0.3 and 4.0 μ\mug/mL.

The prior median for the observation-noise standard deviation σϵ\sigma_\epsilon is set at a level consistent with reported assay precision in the relevant plasma-pharmacokinetic literature for the warfarin and theophylline datasets, and at a comparable level for the simulation study, giving σϵ\sigma_\epsilon prior median 0.2 mg/L throughout the individualized cases. For the aggregated chemotherapy case studies, the observation-noise standard deviations are fixed at the reported per-timepoint standard errors, so no prior on σϵ\sigma_\epsilon is needed.

The length scale ℓ\ell is not estimated. Across applications considered in this study it is held fixed at the value in Table S1. For the chemotherapy cohort-mean curves we choose ℓ=1.5\ell= 1.5 hr based on the observation cadence, which is on the order of 1 to 2 hours around the absorption phase. For theophylline a short ℓ=0.5\ell= 0.5 hr is chosen. For warfarin, we use ℓ=24\ell= 24 hr, which is well inside the 58 hr elimination half-life of the drug.

For the simulation study we use the Matérn-5/2 kernel with σf\sigma_f prior median sσf=0.6s_{\sigma_f} = 0.6 mg/L and the length scale fixed at ℓ=4\ell= 4 hr. In Scenarios 7–9 the discrepancy of the data-generating process uses the same scale and length scale, τ=0.6\tau= 0.6 mg/L and ℓδ=4\ell_\delta= 4 hr.

Exposure windows. The chemotherapy analyses compute AUC over [0,7][0, 7] hr for 5-FU and [0,6][0, 6] hr for capecitabine.

Quadrature for AUC inference

Numerical quadrature is an approach that approximates an integral by a weighted sum of function evaluations. Given locations (known as nodes) u1,…,uqu_1, \ldots, u_q and weights ω1,…,ωq\omega_1, \ldots, \omega_q, a quadrature rule approximates ∫abf(t) dt\int_a^b f(t)\,\mathrm{d}t by ∑v=1qωvf(uv)\sum_{v=1}^{q} \omega_v f(u_v). The nodes specify where the function is evaluated, and the weights determine each evaluation’s contribution to the integral. Gaussian quadrature selects nodes and weights using polynomials to obtain accurate integration of smooth functions.

Writing Uq=(u1,…,uq)⊤U_q = (u_1, \ldots, u_q)^\top and ωq=(ω1,…,ωq)⊤\omega_q = (\omega_1, \ldots, \omega_q)^\top, and recalling that CC denotes the concentration–time curve, the quadrature approximation to the AUC is

Aq=ωq⊤C(Uq).(9)A_q = \omega_q^\top C(U_q). \tag*{(9)}

Applying the rule to the posterior mean and covariance in Theorem 4.2 gives

μA,q=ωq⊤μ(Uq),σA,q2=ωq⊤K+(Uq,Uq)ωq.\mu_{A,q} = \omega_q^\top\mu(U_q), \qquad\sigma^2_{A,q} = \omega_q^\top K^+(U_q,U_q)\omega_q.

These calculations approximate the integrals defining the Gaussian AUC posterior without requiring posterior path simulation. Gaussianity follows from the linearity of the functional, while the quadrature approach provides a way to numerically evaluate the resulting integral. The following results give the distribution of AqA_q and its consistency for estimating AUCa:b\mathrm{AUC}_{a:b}.

Quadrature AUC distribution

Theorem S2.1 (Quadrature AUC distribution). Let Uq=(u1,…,uq)TU_q = (u_1,\ldots,u_q)^{\mathsf{T}} be quadrature nodes and ωq=(ω1,…,ωq)T\boldsymbol{\omega}_q = (\omega_1,\ldots,\omega_q)^{\mathsf{T}} be quadrature weights. Define Aq=ωqTC(Uq)=∑v=1qωvC(uv)A_q = \boldsymbol{\omega}_q^{\mathsf{T}} C(U_q) = \sum_{v=1}^{q} \omega_v C(u_v). Then

Aq∣Y=y∼N(ωqTμ(Uq),ωqTK+(Uq,Uq)ωq)A_q \mid Y=y \sim\mathcal{N}\left(\boldsymbol{\omega}_q^{\mathsf{T}}\mu(U_q),\boldsymbol{\omega}_q^{\mathsf{T}}K^{+}(U_q,U_q)\boldsymbol{\omega}_q\right)

Proof. By Theorem S3.1, C(Uq)∣Y=y∼Nq(μ(Uq),K+(Uq,Uq))C(U_q)\mid Y=y \sim\mathcal{N}_q(\mu(U_q),K^{+}(U_q,U_q)). Then Aq=ωqTC(Uq)A_q=\boldsymbol{\omega}_q^{\mathsf{T}}C(U_q) is a linear combination of a multivariate normal vector, hence normally distributed with

E(Aq∣Y=y)=ωqTμ(Uq),Var⁡(Aq∣Y=y)=ωqTK+(Uq,Uq)ωq.\mathbb{E}(A_q\mid Y=y)=\boldsymbol{\omega}_q^{\mathsf{T}}\mu(U_q),\qquad\operatorname{Var}(A_q\mid Y=y)=\boldsymbol{\omega}_q^{\mathsf{T}}K^{+}(U_q,U_q)\boldsymbol{\omega}_q.

Quadrature consistency

Theorem S2.2 (Quadrature consistency). Assume C∣Y=yC\mid Y=y has almost surely continuous sample paths on [a,b][a,b]. Let Qq(f)=∑v=1qωvqf(uvq)Q_q(f)=\sum_{v=1}^{q}\omega_{vq}f(u_{vq}) be a sequence of quadrature rules satisfying:

(i) Qq(f)→∫abf(t) dtQ_q(f)\to\int_a^b f(t)\,\mathrm{d}t for every continuous function ff on [a,b][a,b];

(ii) Λ:=sup⁡q∑v=1q∣ωvq∣<∞\Lambda:=\sup_q\sum_{v=1}^{q}\lvert\omega_{vq}\rvert<\infty.

Define Aq=Qq(C)A_q = Q_q(C) and A=∫abC(t) dtA = \int_a^b C(t)\,dt. Then Aq→AA_q \to A almost surely. If additionally E[sup⁡t∈[a,b]∣C(t)∣∣Y=y]<∞\mathbb{E}[\sup_{t\in[a,b]}|C(t)| \mid Y=y] < \infty, then Aq→AA_q \to A in L1L^1. If E[sup⁡t∈[a,b]∣C(t)∣2∣Y=y]<∞\mathbb{E}[\sup_{t\in[a,b]}|C(t)|^2 \mid Y=y] < \infty, then Aq→AA_q \to A in L2L^2.

Proof. For almost every sample path, t↦C(t)t \mapsto C(t) is continuous on [a,b][a,b]. Hence by (i), Qq(C)→∫abC(t) dtQ_q(C) \to\int_a^b C(t)\,dt for that path, so Aq→AA_q \to A almost surely.

For LpL^p convergence, bound the deviation pathwise:

∣Aq∣=∣∑ν=1qωvqC(uvq)∣≤(∑ν=1q∣ωvq∣)sup⁡t∈[a,b]∣C(t)∣≤Λsup⁡t∣C(t)∣.|A_q| = \left|\sum_{\nu=1}^{q}\omega_{v_q}C(u_{v_q})\right| \le\left(\sum_{\nu=1}^{q}|\omega_{v_q}|\right)\sup_{t\in[a,b]}|C(t)| \le\Lambda\sup_t|C(t)|.

and ∣A∣≤(b−a)sup⁡t∣C(t)∣|A| \le(b-a)\sup_t|C(t)|. Thus

∣Aq−A∣≤{Λ+(b−a)}sup⁡t∣C(t)∣.|A_q-A| \le\{\Lambda+(b-a)\}\sup_t|C(t)|.

If sup⁡t∣C(t)∣\sup_t|C(t)| is integrable, the dominated convergence theorem applied to ∣Aq−A∣|A_q-A| gives L1L^1 convergence. If sup⁡t∣C(t)∣2\sup_t|C(t)|^2 is integrable, ∣Aq−A∣2|A_q-A|^2 is dominated by an integrable random variable (with constant {Λ+(b−a)}2\{\Lambda+(b-a)\}^2), and dominated convergence yields L2L^2 convergence.

Proofs of theoretical results

We now state supplemental theoretical results as well as related proofs. Throughout this section we adopt the notation of § 4 of the main paper. Unless stated otherwise, C∼GP(m,k)C \sim\mathcal{GP}(m,k) on T=[a,b]\mathcal{T}=[a,b], observations satisfy Y=C(T)+ϵY=C(\mathcal{T})+\epsilon with ϵ∼N(0,R)\epsilon\sim\mathcal{N}(0,R) and RR positive definite, and we condition on Y=yY=y. The posterior is C∣Y=y∼GP(μ,K+)C \mid Y=y \sim\mathcal{GP}(\mu,K^+) with

μ(t)=m(t)+k(t,T)(KTT+R)−1{y−m(T)},\mu(t)=m(t)+k(t,T)(K_{TT}+R)^{-1}\{y-m(T)\},
K+(s,t)=k(s,t)−k(s,T)(KTT+R)−1k(T,t),K^+(s,t)=k(s,t)-k(s,T)(K_{TT}+R)^{-1}k(T,t),

where KTT=k(T,T)K_{TT}=k(T,T) and k(t,T)=(k(t,t1),…,k(t,tn))k(t,T)=(k(t,t_1),\ldots,k(t,t_n)).

Posterior GP conjugacy

For self-containment, we give a standard result below on the posterior distribution of a Gaussian process. See Rasmussen and Williams [32] for an authoritative reference.

Theorem S3.1 (Posterior Gaussian process; corresponds to Theorem 4.1 of the main paper). Assume C∼GP(m,k)C \sim\mathcal{GP}(m,k) and Y=C(T)+ϵY = C(T) + \epsilon with ϵ∼N(0,R)\epsilon\sim\mathcal{N}(0,R), RR positive definite, and ϵ\epsilon independent of CC. Let KTT=k(T,T)K_{TT} = k(T,T), k(t,T)={k(t,t1),…,k(t,tn)}k(t,T) = \{k(t,t_1), \ldots, k(t,t_n)\}, and m(T)=(m(t1),…,m(tn))Tm(T) = (m(t_1), \ldots, m(t_n))^{\mathsf{T}}. Then

C∣Y=y∼GP(μ,K+).C \mid Y = y \sim\mathcal{GP}(\mu,K^{+}).

where μ(t)=m(t)+k(t,T)(KTT+R)−1{y−m(T)}\mu(t) = m(t) + k(t,T)(K_{TT}+R)^{-1}\{y-m(T)\} and K+(s,t)=k(s,t)−k(s,T)(KTT+R)−1k(T,t)K^{+}(s,t) = k(s,t)-k(s,T)(K_{TT}+R)^{-1}k(T,t).

Proof. Let U=(u1,…,uq)U = (u_1,\ldots,u_q) be any finite set of prediction points. By the definition of a Gaussian process, C(U)={C(u1),…,C(uq)}TC(U) = \{C(u_1),\ldots,C(u_q)\}^{\mathsf{T}} and C(T)C(T) are jointly Gaussian. Since Y=C(T)+ϵY = C(T) + \epsilon with ϵ∼N(0,R)\epsilon\sim\mathcal{N}(0,R) independent of CC, the stacked vector

(C(U)Y)\begin{pmatrix} C(U) \\ Y \end{pmatrix}

is jointly Gaussian with mean (m(U)T,m(T)T)T(m(U)^{\mathsf{T}},m(T)^{\mathsf{T}})^{\mathsf{T}} and covariance

(KUUKUTKTUKTT+R).\begin{pmatrix} K_{UU} & K_{UT} \\ K_{TU} & K_{TT}+R \end{pmatrix}.

The standard multivariate normal conditioning formula gives

C(U)∣Y=y∼N(m(U)+KUT(KTT+R)−1{y−m(T)},KUU−KUT(KTT+R)−1KTU).C(U) \mid Y = y \sim\mathcal{N}\left(m(U)+K_{UT}(K_{TT}+R)^{-1}\{y-m(T)\}, K_{UU}-K_{UT}(K_{TT}+R)^{-1}K_{TU}\right).

This holds for every finite collection of prediction points UU, so the conditional finite-dimensional distributions are consistent. By the Kolmogorov extension theorem, these finite-dimensional distributions determine a Gaussian process with mean function μ\mu and covariance function K+K^{+} as stated.

Gaussianity of AUC

We now give a result that certifies the Gaussianity of the AUC under our model.

Theorem S3.2 (Gaussianity of AUC; corresponds to Theorem 4.2 of the main paper). Under the posterior in Equation (6), assume that the mean and covariance functions are continuous and that CC has almost surely continuous sample paths on the compact interval [a,b][a,b], with a<ba < b. Then

AUC⁡a:b∣Y=y∼N(μA,σA2),\operatorname{AUC}_{a:b} \mid Y = y \sim\mathcal{N}(\mu_A,\sigma_A^2),

where

μA=∫abμ(t) dt,σA2=∫ab∫abK+(s,t) ds dt.\mu_A = \int_a^b \mu(t)\,\mathrm{d}t,\qquad\sigma_A^2 = \int_a^b \int_a^b K^{+}(s,t)\,\mathrm{d}s\,\mathrm{d}t.

Proof. All expectations below are conditional on Y=yY = y. Write C(t)=μ(t)+X(t)C(t) = \mu(t) + X(t), where X∼GP(0,K+)X \sim\mathcal{GP}(0,K^{+}). Continuous sample paths ensure that W=∫abX(t) dtW = \int_a^b X(t)\,\mathrm{d}t exists almost surely, and AUC⁡a:b=μA+W\operatorname{AUC}_{a:b} = \mu_A + W.

Choose partitions of [a,b][a,b] whose mesh tends to zero. Write hj,nh_{j,n} for the length of the jjth interval and choose a tag ξj,n\xi_{j,n} in that interval. Define the piecewise constant process Xn(t)=X(ξj,n)X_n(t) = X(\xi_{j,n}) on the jjth interval and

Wn=∫abXn(t) dt=∑jhj,nX(ξj,n).W_n = \int_a^b X_n(t)\,\mathrm{d}t = \sum_j h_{j,n}X(\xi_{j,n}).

Each WnW_n is a finite linear combination of jointly Gaussian evaluations. Consequently, Wn∼N(0,vn)W_n \sim\mathcal{N}(0,v_n), where

vn=∑j∑ℓhj,nhℓ,nK+(ξj,n,ξℓ,n)⟶σA2v_n = \sum_j \sum_\ell h_{j,n}h_{\ell,n}K^{+}(\xi_{j,n},\xi_{\ell,n}) \longrightarrow\sigma_A^2

by continuity of K+K^{+}.

Uniform continuity of K+K^{+} on [a,b]2[a,b]^2 implies

sup⁡t∈[a,b]E∣Xn(t)−X(t)∣2⟶0.\sup_{t\in[a,b]} \mathbb{E}\lvert X_n(t)-X(t)\rvert^2 \longrightarrow0.

The Cauchy–Schwarz inequality and Tonelli’s theorem therefore give

E∣Wn−W∣2≤(b−a)∫abE∣Xn(t)−X(t)∣2 dt⟶0.\mathbb{E}\lvert W_n-W\rvert^2 \le(b-a)\int_a^b \mathbb{E}\lvert X_n(t)-X(t)\rvert^2\,dt \longrightarrow0.

Thus Wn→WW_n \to W in L2L^2 and hence in distribution. Since vn→σA2v_n \to\sigma_A^2, the Gaussian characteristic functions converge to exp⁡(−u2σA2/2)\exp(-u^2\sigma_A^2/2). Therefore W∼N(0,σA2)W \sim\mathcal{N}(0,\sigma_A^2). Adding μA\mu_A proves the result.

Maximum functionals

We now give relevant theoretical results concerning Cmax⁡C_{\max}. We first give an existence result.

Theorem S3.3 (Existence of Cmax⁡C_{\max}). If C∣Y=yC \mid Y=y has almost surely continuous sample paths on the compact interval T=[a,b]\mathcal{T}=[a,b], then Cmax⁡=sup⁡t∈TC(t)C_{\max}=\sup_{t\in\mathcal{T}} C(t) is finite almost surely and is attained almost surely; that is, arg max⁡t∈TC(t)\operatorname{arg\,max}_{t\in\mathcal{T}} C(t) is nonempty almost surely.

Proof. For almost every sample path, t↦C(t)t\mapsto C(t) is continuous on the compact set [a,b][a,b]. By the extreme value theorem, every continuous function on a compact set is bounded and attains its maximum. Hence for almost every sample path, Cmax⁡=max⁡t∈[a,b]C(t)<∞C_{\max}=\max_{t\in[a,b]}C(t)<\infty and arg max⁡t∈[a,b]C(t)≠∅\operatorname{arg\,max}_{t\in[a,b]}C(t)\ne\varnothing.

We now give a result regarding our approach to estimating Cmax⁡C_{\max} via grids.

Theorem S3.4 (Finite-grid Cmax⁡C_{\max} distribution). Let Uq=(u1,…,uq)TU_q=(u_1,\ldots,u_q)^{\mathsf{T}} and suppose C(Uq)∣Y=y∼Nq(μq,Kq)C(U_q)\mid Y=y\sim\mathcal{N}_q(\mu_q,K_q). Define Mq=max⁡v=1,…,qC(uv)M_q=\max_{v=1,\ldots,q}C(u_v). Then

P(Mq≤x∣Y=y)=Φq(x1q;μq,Kq),\mathbb{P}(M_q\le x\mid Y=y)=\Phi_q(x\mathbf{1}_q;\mu_q,K_q),

where Φq(⋅;μq,Kq)\Phi_q(\cdot;\mu_q,K_q) is the qq-dimensional Gaussian CDF and x1q=(x,…,x)T\mathbf{x}_{1q}=(x,\ldots,x)^{\mathsf{T}}.

Proof. The event {Mq≤x}\{M_q\le x\} is equivalent to ⋂u∈Gq{C(u)≤x}\bigcap_{u\in G_q}\{C(u)\le x\}, that is, {C(Uq)≤x1q}\{C(\mathbf{U}_q)\le\mathbf{x}_{1q}\} componentwise. Since C(Uq)∣Y=y∼Nq(μq,Kq)C(\mathbf{U}_q)\mid Y=y\sim\mathcal{N}_q(\mu_q,K_q), this probability is by definition Φq(x1q;μq,Kq)\Phi_q(\mathbf{x}_{1q};\mu_q,K_q).

We now give two convergence results.

Theorem S3.5 (Grid convergence of Cmax⁡C_{\max}). Suppose C∣Y=yC\mid Y=y has almost surely continuous sample paths on T=[a,b]\mathcal{T}=[a,b]. Let Gq⊂TG_q\subset\mathcal{T} be a sequence of grids satisfying

Δ(Gq):=sup⁡t∈Tmin⁡u∈Gq∣t−u∣→0,\Delta(G_q):=\sup_{t\in\mathcal{T}}\min_{u\in G_q}|t-u|\to0,

and define Mq=max⁡u∈GqC(u)M_q=\max_{u\in G_q}C(u) and Cmax⁡=sup⁡t∈TC(t)C_{\max}=\sup_{t\in\mathcal{T}}C(t). Then Mq→Cmax⁡M_q\to C_{\max} almost surely. If additionally E[sup⁡t∣C(t)∣∣Y=y]<∞\mathbb{E}[\sup_t|C(t)|\mid Y=y]<\infty, then Mq→Cmax⁡M_q\to C_{\max} in L1L^1.

Proof. Fix a sample path C(⋅)C(\cdot) that is continuous on [a,b][a,b]. By Theorem S3.3, there exists t⋆∈[a,b]t^\star\in[a,b] with C(t⋆)=Cmax⁡C(t^\star)=C_{\max}. Because CC is continuous on the compact interval [a,b][a,b] it is uniformly continuous, so for every ε>0\varepsilon>0 there exists δ>0\delta>0 with ∣t−s∣<δ⇒∣C(t)−C(s)∣<ε|t-s|<\delta\Rightarrow|C(t)-C(s)|<\varepsilon. Since Δ(Gq)→0\Delta(G_q)\to0, for all sufficiently large qq there exists uq∈Gqu_q\in G_q with ∣uq−t⋆∣<δ|u_q-t^\star|<\delta, so

C(uq)>C(t⋆)−ε=Cmax⁡−ε.C(u_q)>C(t^\star)-\varepsilon=C_{\max}-\varepsilon.

Therefore Mq=max⁡u∈GqC(u)≥C(uq)>Cmax⁡−εM_q=\max_{u\in G_q}C(u)\ge C(u_q)>C_{\max}-\varepsilon. Also Mq≤Cmax⁡M_q\le C_{\max} since Gq⊂TG_q\subset\mathcal{T}. For all sufficiently large qq, 0≤Cmax⁡−Mq<ε0\le C_{\max}-M_q<\varepsilon, and as ε>0\varepsilon>0 was arbitrary, Mq→Cmax⁡M_q\to C_{\max}. This holds for every continuous path, so convergence is almost sure.

For L1L^1, observe ∣Mq−Cmax⁡∣≤∣Mq∣+∣Cmax⁡∣≤2sup⁡t∣C(t)∣|M_q-C_{\max}|\le|M_q|+|C_{\max}|\le2\sup_t|C(t)|. If sup⁡t∣C(t)∣\sup_t|C(t)| is integrable, dominated convergence yields E[∣Mq−Cmax⁡∣∣Y=y]→0\mathbb{E}[|M_q-C_{\max}|\mid Y=y]\to0.

Corollary S3.6 (Distribution-function convergence for Cmax⁡C_{\max}). Under the assumptions of Theorem S3.5, the distribution functions FqF_q of MqM_q converge to the distribution function FF of Cmax⁡C_{\max} at every continuity point of FF.

Proof. Theorem S3.5 gives Mq→Cmax⁡M_q \to C_{\max} almost surely, hence in distribution. Convergence in distribution is equivalent to convergence of distribution functions at all continuity points of the limit.

Maximum concentration inequalities

We give relevant concentration inequalities here regarding the maxima of Gaussian distributions in this Section. We first document an upper tail bound and a lower tail bound, which together yield a two-sided interval result.

Elementary finite-grid bounds

Theorem S3.7 (Elementary finite-grid upper-tail bound). Let X=(X1,…,Xq)⊤∼Nq(μX,Σ)X = (X_1,\ldots,X_q)^\top\sim\mathcal{N}_q(\mu_X,\Sigma), μX=(μX,1,…,μX,q)⊤\mu_X = (\mu_{X,1},\ldots,\mu_{X,q})^\top, Mq=max⁡jXjM_q = \max_j X_j, mq=max⁡jμX,jm_q = \max_j \mu_{X,j}, and σq2=max⁡jΣjj>0\sigma_q^2 = \max_j \Sigma_{jj} > 0. Then for every r≥0r \ge0,

P(Mq≥mq+r)≤qexp⁡(−r22σq2).\mathbb{P}(M_q \ge m_q + r) \le q \exp\left(-\frac{r^2}{2\sigma_q^2}\right).

Proof. For r=0r = 0, the bound is trivial because q≥1q \ge1. Suppose r>0r > 0. The event {Mq≥mq+r}\{M_q \ge m_q+r\} implies Xj≥mq+rX_j \ge m_q+r for some jj, which in turn implies Xj−μX,j≥rX_j-\mu_{X,j} \ge r since μX,j≤mq\mu_{X,j} \le m_q. By the union bound,

P(Mq≥mq+r)≤∑j=1qP(Xj−μX,j≥r).\mathbb{P}(M_q \ge m_q + r) \le\sum_{j=1}^{q} \mathbb{P}(X_j-\mu_{X,j} \ge r).

If Σjj=0\Sigma_{jj} = 0, then Xj−μX,j=0X_j-\mu_{X,j} = 0 almost surely, so P(Xj−μX,j≥r)=0\mathbb{P}(X_j-\mu_{X,j} \ge r) = 0. For each coordinate with Σjj>0\Sigma_{jj} > 0, the Gaussian tail bound gives

P(Xj−μX,j≥r)≤exp⁡(−r22Σjj)≤exp⁡(−r22σq2).\mathbb{P}(X_j-\mu_{X,j} \ge r) \le\exp\left(-\frac{r^2}{2\Sigma_{jj}}\right) \le\exp\left(-\frac{r^2}{2\sigma_q^2}\right).

Summing over jj yields the claim.

Theorem S3.8 (Elementary finite-grid lower-tail bound). Under the assumptions of Theorem S3.7, for every r≥0r \ge0,

P(Mq≤mq−r)≤exp⁡(−r22σq2).\mathbb{P}(M_q \le m_q-r) \le\exp\left(-\frac{r^2}{2\sigma_q^2}\right).

Proof. For r=0r=0, the bound is trivial. Suppose r>0r>0. Pick any j⋆∈arg⁡max⁡jμX,jj^\star\in\arg\max_j \mu_{X,j}, so μX,j⋆=mq\mu_{X,j^\star}=m_q. The event {Mq≤mq−r}\{M_q \le m_q-r\} implies Xj⋆≤mq−r=μX,j⋆−rX_{j^\star}\le m_q-r=\mu_{X,j^\star}-r. If Σj⋆j⋆=0\Sigma_{j^\star j^\star}=0, then Xj⋆=mqX_{j^\star}=m_q almost surely, so P(Mq≤mq−r)=0\mathbb{P}(M_q \le m_q-r)=0. Otherwise, Xj⋆−μX,j⋆∼N(0,Σj⋆j⋆)X_{j^\star}-\mu_{X,j^\star}\sim\mathcal{N}(0,\Sigma_{j^\star j^\star}), and the Gaussian lower-tail bound gives

P(Xj⋆−μX,j⋆≤−r)≤exp⁡(−r22Σj⋆j⋆)≤exp⁡(−r22σq2).\mathbb{P}(X_{j^\star}-\mu_{X,j^\star}\le-r)\le\exp\left(-\frac{r^2}{2\Sigma_{j^\star j^\star}}\right)\le\exp\left(-\frac{r^2}{2\sigma_q^2}\right).

Corollary S3.9 (Finite-grid Cmax⁡C_{\max} interval). Under the assumptions of Theorem S3.7, let α∈(0,1)\alpha\in(0,1). With probability at least 1−α1-\alpha, Mq≤mq+σq2log⁡(q/α)M_q\le m_q+\sigma_q\sqrt{2\log(q/\alpha)}. With probability at least 1−α1-\alpha, Mq≥mq−σq2log⁡(1/α)M_q\ge m_q-\sigma_q\sqrt{2\log(1/\alpha)}. Hence with probability at least 1−2α1-2\alpha,

mq−σq2log⁡(1/α)≤Mq≤mq+σq2log⁡(q/α).m_q-\sigma_q\sqrt{2\log(1/\alpha)}\le M_q\le m_q+\sigma_q\sqrt{2\log(q/\alpha)}.

Proof. Set r=σq2log⁡(q/α)r=\sigma_q\sqrt{2\log(q/\alpha)} in Theorem S3.7 to obtain

qexp⁡{−r22σq2}=α.q\exp\left\{-\frac{r^2}{2\sigma_q^2}\right\}=\alpha.

Similarly, setting r=σq2log⁡(1/α)r=\sigma_q\sqrt{2\log(1/\alpha)} in Theorem S3.8 gives

exp⁡{−r22σq2}=α.\exp\left\{-\frac{r^2}{2\sigma_q^2}\right\}=\alpha.

A union bound yields the two-sided statement.

Gaussian Lipschitz concentration

We now give related Lipschitz concentration results, which can lead to sharper bounds.

Lemma S3.10 (Gaussian Lipschitz concentration). Let Z∼Nd(0,Id)Z \sim\mathcal{N}_{d}(0,I_{d}) and let f:Rd→Rf:\mathbb{R}^{d} \to\mathbb{R} be LL-Lipschitz with L>0L > 0: ∣f(z)−f(z′)∣≤L∥z−z′∥2|f(z)-f(z')| \le L\lVert z-z'\rVert_{2}. Then for every r≥0r \ge0,

P{f(Z)−Ef(Z)≥r}≤exp⁡(−r22L2),P{f(Z)−Ef(Z)≤−r}≤exp⁡(−r22L2).\mathbb{P}\{f(Z)-\mathbb{E}f(Z) \ge r\} \le\exp\left(-\frac{r^{2}}{2L^{2}}\right), \qquad\mathbb{P}\{f(Z)-\mathbb{E}f(Z) \le-r\} \le\exp\left(-\frac{r^{2}}{2L^{2}}\right).

Proof. This is the classical Gaussian-Lipschitz concentration inequality, due in this form to Borell [5] and Sudakov and Tsirel’son [41]; a textbook presentation appears in Boucheron et al. [6] as well as in Wainwright [45].

We now apply this bound to get a sharper finite-grid concentration result of the maximum.

Theorem S3.11 (Sharper finite-grid maximum concentration). Let X=(X1,…,Xq)⊤∼Nq(μX,Σ)X=(X_{1},\ldots,X_{q})^{\top} \sim\mathcal{N}_{q}(\mu_{X},\Sigma) and Mq=max⁡jXjM_{q}=\max_{j}X_{j}. Let σq2=max⁡jΣjj>0\sigma_{q}^{2}=\max_{j}\Sigma_{jj}>0. Then for every r≥0r \ge0,

P(Mq−EMq≥r)≤exp⁡(−r22σq2),P(Mq−EMq≤−r)≤exp⁡(−r22σq2).\mathbb{P}(M_{q}-\mathbb{E}M_{q} \ge r) \le\exp\left(-\frac{r^{2}}{2\sigma_{q}^{2}}\right), \qquad\mathbb{P}(M_{q}-\mathbb{E}M_{q} \le-r) \le\exp\left(-\frac{r^{2}}{2\sigma_{q}^{2}}\right).

Proof. Let Γ\Gamma be a matrix with ΓΓ⊤=Σ\Gamma\Gamma^{\top}=\Sigma (e.g., a Cholesky factor), and let Z∼Nq(0,Iq)Z \sim\mathcal{N}_{q}(0,I_{q}). Then X=dμX+ΓZX \mathrel{\overset{d}{=}} \mu_{X}+\Gamma Z. Write Γj⊤\Gamma_{j}^{\top} for the jj-th row of Γ\Gamma, and define

f(z)=max⁡j=1,…,q{μX,j+Γj⊤z},z∈Rq.f(z)=\max_{j=1,\ldots,q}\{\mu_{X,j}+\Gamma_{j}^{\top}z\}, \qquad z\in\mathbb{R}^{q}.

Then Mq=df(Z)M_{q} \mathrel{\overset{d}{=}} f(Z). For any z,z′z,z',

∣f(z)−f(z′)∣≤max⁡j∣Γj⊤(z−z′)∣≤max⁡j∥Γj∥2∥z−z′∥2.|f(z)-f(z')| \le\max_{j}|\Gamma_{j}^{\top}(z-z')| \le\max_{j}\lVert\Gamma_{j}\rVert_{2}\lVert z-z'\rVert_{2}.

Since ∥Γj∥22=Σjj\lVert\Gamma_{j}\rVert_{2}^{2}=\Sigma_{jj}, ff is Lipschitz with constant σq=max⁡jΣjj\sigma_{q}=\sqrt{\max_{j}\Sigma_{jj}}. Lemma S3.10, applied with Lipschitz constant L=σqL=\sigma_{q}, yields the bound.

We now extend to the continuous-time case.

Theorem S3.12 (Continuous-time maximum concentration). Let X(t)X(t), t∈Tt \in\mathcal{T}, be a centered separable Gaussian process with almost surely continuous sample paths on compact T=[a,b]\mathcal{T} = [a,b]. Let μ:T→R\mu:\mathcal{T} \to\mathbb{R} be deterministic and continuous, C(t)=μ(t)+X(t)C(t) = \mu(t) + X(t), and M=sup⁡t∈TC(t)M = \sup_{t\in\mathcal{T}} C(t). Let σT2=sup⁡t∈TVar⁡{X(t)}>0\sigma_{\mathcal{T}}^2 = \sup_{t\in\mathcal{T}} \operatorname{Var}\{X(t)\} > 0. Assume EM<∞\mathbb{E}M < \infty. Then for every r≥0r \ge0,

P(M−EM≥r)≤exp⁡(−r22σT2),P(M−EM≤−r)≤exp⁡(−r22σT2).\mathbb{P}(M-\mathbb{E}M \ge r) \le\exp\left(-\frac{r^2}{2\sigma_{\mathcal{T}}^2}\right), \qquad\mathbb{P}(M-\mathbb{E}M \le-r) \le\exp\left(-\frac{r^2}{2\sigma_{\mathcal{T}}^2}\right).

Proof. Let G1⊂G2⊂⋯G_1 \subset G_2 \subset\cdots be an increasing sequence of finite grids containing a point of positive variance, with ⋃qGq\bigcup_q G_q dense in T\mathcal{T} and Δ(Gq)→0\Delta(G_q) \to0. Define Mq=max⁡t∈GqC(t)M_q = \max_{t\in G_q} C(t). By Theorem S3.5, Mq→MM_q \to M almost surely; because the grids are nested, Mq↑MM_q \uparrow M. Since M1M_1 has finite expectation and MM has finite expectation, monotone convergence applied to Mq−M1M_q-M_1 gives EMq→EM\mathbb{E}M_q \to\mathbb{E}M.

For each finite grid GqG_q, X(Gq)=(X(t))t∈GqX(G_q) = (X(t))_{t\in G_q} is multivariate Gaussian, and Theorem S3.11 yields

P(Mq−EMq≥r)≤exp⁡(−r22σq2),σq2=max⁡t∈GqVar⁡{X(t)}.\mathbb{P}(M_q-\mathbb{E}M_q \ge r) \le\exp\left(-\frac{r^2}{2\sigma_q^2}\right), \qquad\sigma_q^2 = \max_{t\in G_q}\operatorname{Var}\{X(t)\}.

Because σq2≤σT2\sigma_q^2 \le\sigma_{\mathcal{T}}^2, we have P(Mq−EMq≥r)≤exp⁡(−r2/(2σT2))\mathbb{P}(M_q-\mathbb{E}M_q \ge r) \le\exp(-r^2/(2\sigma_{\mathcal{T}}^2)). Now Mq−EMq→M−EMM_q-\mathbb{E}M_q \to M-\mathbb{E}M in distribution by the almost-sure convergence combined with EMq→EM\mathbb{E}M_q \to\mathbb{E}M. Taking limits at continuity points gives the upper-tail bound there. For any r>0r > 0, choose continuity points rn↑rr_n \uparrow r and use {M−EM≥rn}↓{M−EM≥r}\{M-\mathbb{E}M \ge r_n\} \downarrow\{M-\mathbb{E}M \ge r\} to obtain the bound at rr; the case r=0r=0 is immediate. Apply the same argument to the lower-tail inequalities from Theorem S3.11. □\square

Posterior concentration

We now apply the above results to prove Theorem 4.3 in the main text.

Proof. of Theorem 4.3. Conditional on Y=yY = y, the centered process X(t)=C(t)−μ(t)X(t) = C(t) - \mu(t) satisfies Theorem S3.12, with M=Cmax⁡M = C_{\max} and σT=σ⋆\sigma_T = \sigma_\star. Applying its two one-sided bounds and taking a union bound gives the first inequality. Setting r=σ⋆2log⁡(2/α)r = \sigma_\star\sqrt{2\log(2/\alpha)} gives the second.

Supporting illustrations and case studies

Sparse-sampling simulation

Figure S1 illustrates the fitted concentration–time curve for a representative patient in the sparse oral scenario S4 of § 6.

Figure S1. Sparse one-compartment oral scenario (S4). For a representative patient with sampling times t∈{1,2,4,8,16}t \in\{1, 2, 4, 8, 16\} hr: observed points; true curve (gray); posterior means of the compartment-driven GP (solid), pure GP (dotted), and parametric one-compartment fit (dashed); 95% credible band of the compartment-driven GP shaded. The posterior band widens in the terminal phase beyond the last sample at 16 hr.

Warfarin concentration–time fits

Figure S2 shows posterior concentration–time fits for two representative patients from the warfarin analysis in § 7.1.

Figure S2. Warfarin case study: posterior fits for two representative patients. Each panel shows observed plasma concentrations (black dots), the posterior mean (red solid), and the posterior 95% pointwise band (red shaded).

Chemotherapy concentration–time fits

Figures S3 and S4 show the cohort-mean concentration–time fits underlying the chemotherapy AUC comparisons in § 7.2.

Figure S3. 5-FU case study: compartment-driven GP fits to the cohort-mean concentration–time curves digitized from the source clinical-pharmacology study. Left panel: hepatic dysfunction cohort. Right panel: normal liver function cohort. Each panel shows observed cohort-mean concentrations with per-timepoint standard errors (black with bars), the posterior mean curve (red solid), and the posterior 95% pointwise band (red shaded).

Figure S4. Capecitabine case study: compartment-driven GP fits to the cohort-mean concentration–time curves digitized from the source clinical-pharmacology study. Left panel: hepatic dysfunction cohort. Right panel: normal liver function cohort. Each panel shows observed cohort-mean concentrations with per-timepoint standard errors (black with bars), the posterior mean curve (red solid), and the posterior 95% pointwise band (red shaded).

Theophylline case study

This section reports a second individualized case study, analyzed with the same model and the settings tabulated in § 12. The theophylline dataset contains plasma concentrations of theophylline measured at 11 timepoints in each of 12 healthy adult subjects after a single oral dose of approximately 3–6 mg/kg. This is a widely used benchmark dataset for pharmacokinetic modeling. Textbook adult population values κa=1.5 hr−1\kappa_a = 1.5\ \mathrm{hr}^{-1} and κe=0.08 hr−1\kappa_e = 0.08\ \mathrm{hr}^{-1} (half-life ≈9\approx9 hr) were used to specify the compartment model prior mean, with the dose entering on the concentration scale as c0,i=Di/(vkgWi)c_{0,i} = D_i/(v_{\mathrm{kg}}W_i) and vkg=0.5v_{\mathrm{kg}} = 0.5 L/kg.

Figure S5 shows posterior fits for two representative patients.

Figure S5. Theophylline case study: posterior fits for representative patients, with the same legend convention as Figure S2.

Patient-level posterior 95% intervals for AUC over [tdose,tdose+30 hr][t_{\mathrm{dose}}, t_{\mathrm{dose}} + 30\ \mathrm{hr}] and for Cmax⁡C_{\max} are shown in Figure S6. The cohort displays the expected one-compartment oral profile, with posterior median exposures spanning 81–131 mg·hr/L for AUC and 7.5–11.9 mg/L for Cmax⁡C_{\max}.

Figure S6. Theophylline case study: posterior 95% credible intervals per patient for AUC over [tdose,tdose+30 hr][t_{\mathrm{dose}}, t_{\mathrm{dose}} + 30\ \mathrm{hr}] (left) and for Cmax⁡C_{\max} (right). Patients are sorted by posterior median.

Aggregate posterior summaries are reported in Table S2.

QuantityMinimumMedianMaximum
Posterior AUC median (mg·hr/L)81104131
Posterior Cmax⁡C_{\max} median (mg/L)7.59.311.9
AUC 95% interval width (mg·hr/L)232840
Cmax⁡C_{\max} 95% interval width (mg/L)1.152.442.98

Table S2. Theophylline case study: cohort summary of patient-level posterior exposures and credible interval widths across the 12 patients.

References

  1. [1]Adler, R. J. and J. E. Taylor (2007). Random Fields and Geometry. New York: Springer.DOI
  2. [2]Bateman, H. (1910). The solution of a system of differential equations occurring in the theory of radio-active transformations. Proceedings of the Cambridge Philosophical Society 15, 423–427.
  3. [3]Bauer, R. J. (2019). NONMEM tutorial part i: Description of commands and options, with simple examples of population analysis. CPT: Pharmacometrics & Systems Pharmacology 8(8), 525–537.DOI
  4. [4]Bickel, P. J. and D. A. Freedman (1981). Some asymptotic theory for the bootstrap. The Annals of Statistics 9(6), 1196–1217.DOI
  5. [5]Borell, C. (1975). The Brunn–Minkowski inequality in Gauss space. Inventiones Mathematicae 30(2), 207–216.DOI
  6. [6]Boucheron, S., G. Lugosi, and P. Massart (2013). Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford: Oxford University Press.
  7. [7]Briol, F.-X., C. J. Oates, M. Girolami, M. A. Osborne, and D. Sejdinovic (2019). Probabilistic integration: a role in statistical computation? Statistical Science 34(1), 1–22.
  8. [8]Brynjarsdóttir, J. and A. O’Hagan (2014). Learning about physical parameters: the importance of model discrepancy. Inverse Problems 30(11), 114007.DOI
  9. [9]Calvert, A. H., D. R. Newell, L. A. Gumbrell, S. O’Reilly, M. Burnell, F. E. Boxall, Z. H. Siddik, I. R. Judson, M. E. Gore, and E. Wiltshaw (1989). Carboplatin dosage: prospective evaluation of a simple formula based on renal function. Journal of Clinical Oncology 7(11), 1748–1756.
  10. [10]Davidian, M. and D. M. Giltinan (1995). Nonlinear Models for Repeated Measurement Data. London: Chapman & Hall.
  11. [11]Davidian, M. and D. M. Giltinan (2003). Nonlinear models for repeated measurement data: an overview and update. Journal of Agricultural, Biological, and Environmental Statistics 8(4), 387–419.DOI
  12. [12]de Jonge, H., M. Naesens, and D. R. J. Kuypers (2009). New insights into the pharmacokinetics and pharmacodynamics of the calcineurin inhibitors and mycophenolic acid: possible consequences for therapeutic drug monitoring in solid organ transplantation. Therapeutic Drug Monitoring 31(4), 416–435.DOI
  13. [13]Delyon, B., M. Lavielle, and E. Moulines (1999). Convergence of a stochastic approximation version of the EM algorithm. Annals of Statistics 27(1), 94–128.
  14. [14]Fang, Z. and A. Santos (2019). Inference on directionally differentiable functions. The Review of Economic Studies 86(1), 377–412.arxiv.org/abs/1404.3763
  15. [15]Fuglstad, G.-A., D. Simpson, F. Lindgren, and H. Rue (2019). Constructing priors that penalize the complexity of Gaussian random fields. Journal of the American Statistical Association 114(525), 445–452.arxiv.org/abs/1503.00256
  16. [16]Futoma, J., S. Hariharan, K. Heller, M. Sendak, N. Brajer, M. Clement, A. Bedoya, and C. O’Brien (2017). An improved multi-output Gaussian process RNN with real-time validation for early sepsis detection. In Proceedings of the 2nd Machine Learning for Healthcare Conference, Volume 68 of Proceedings of Machine Learning Research, pp. 243–254. PMLR.arxiv.org/abs/1708.05894
  17. [17]Gabrielsson, J. and D. Weiner (2016). Pharmacokinetic and Pharmacodynamic Data Analysis: Concepts and Applications (5th ed.). Stockholm: Swedish Pharmaceutical Press.
  18. [18]Gelman, A. (2006). Prior distributions for variance parameters in hierarchical models (comment on article by Browne and Draper). Bayesian Analysis 1(3), 515–534.DOI
  19. [19]Gibaldi, M. and D. Perrier (1982). Pharmacokinetics (2nd ed.). Boca Raton: CRC Press.
  20. [20]Guttorp, P. and T. Gneiting (2006). Studies in the history of probability and statistics XLIX: On the Matérn correlation family. Biometrika 93(4), 989–995.DOI
  21. [21]Hiemke, C., N. Bergemann, H. W. Clement, A. Conca, J. Deckert, K. Domschke, G. Eckermann, K. Egberts, M. Gerlach, C. Greiner, G. Gründer, E. Haen, U. Havemann-Reinecke, G. Hefner, R. Helmer, G. Janssen, E. Jaquenoud, G. Laux, T. Messer, R. Mössner, M. J. Müller, M. Paulzen, B. Pfuhlmann, P. Riederer, A. Saria, B. Schoppek, G. Schoretsanitis, M. Schwarz, M. S. Gracia, B. Stegmann, W. Steimer, J. C. Stingl, M. Uhr, S. Ulrich, S. Unterecker, R. Wasch gler, G. Zernig, G. Zurek, and P. Baumann (2018). Consensus guidelines for therapeutic drug monitoring in neuropsychopharmacology: Update 2017. Pharmacopsychiatry 51(1-02), 9–62.
  22. [22]Higdon, D., J. Gattiker, B. Williams, and M. Rightley (2008). Computer model calibration using high-dimensional output. Journal of the American Statistical Association 103(482), 570–583.DOI
  23. [23]Holford, N. H. G. and L. B. Sheiner (1981). Understanding the dose–effect relationship: clinical application of pharmacokinetic-pharmacodynamic models. Clinical Pharmacokinetics 6(6), 429–453.DOI
  24. [25]Kennedy, M. C. and A. O’Hagan (2001). Bayesian calibration of computer models. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 63(3), 425–464.DOI
  25. [26]Knapik, B. T., A. W. van der Vaart, and J. H. van Zanten (2011). Bayesian inverse problems with Gaussian priors. The Annals of Statistics 39(5), 2626–2657.DOI
  26. [27]Lavielle, M. (2014). Mixed Effects Models for the Population Approach: Models, Tasks, Methods and Tools. Boca Raton, FL: Chapman & Hall/CRC.
  27. [28]Lindstrom, M. J. and D. M. Bates (1990). Nonlinear mixed effects models for repeated measures data. Biometries 46(3), 673–687.pubmed.ncbi.nlm.nih.gov/2242409
  28. [29]O’Hagan, A. (1978). Curve fitting and optimal design for prediction. Journal of the Royal Statistical Society: Series B (Methodological) 40(1), 1–24.DOI
  29. [30]O’Hagan, A. (1991). Bayes–Hermite quadrature. Journal of Statistical Planning and Inference 29(3), 245–260.DOI
  30. [31]Pinheiro, J. C. and D. M. Bates (2000). Mixed-Effects Models in S and S-PLUS. New York: Springer.DOI
  31. [32]Rasmussen, C. E. and C. K. I. Williams (2006). Gaussian Processes for Machine Learning. Cambridge, MA: MIT Press.DOI
  32. [33]Reigner, B., K. Blesch, and E. Weidekamm (2001). Clinical pharmacokinetics of capecitabine. Clinical Pharmacokinetics 40(2), 85–104.pubmed.ncbi.nlm.nih.gov/11286326
  33. [34]Rowland, M. and T. N. Tozer (2011). Clinical Pharmacokinetics and Pharmacodynamics: Concepts and Applications (4th ed.). Philadelphia: Lippincott Williams & Wilkins.
  34. [35]Särkkä, S. (2011). Linear operators and stochastic partial differential equations in Gaussian process regression. In Artificial Neural Networks and Machine Learning – ICANN 2011, Volume 6792 of Lecture Notes in Computer Science, Berlin, pp. 151–158. Springer.DOI
  35. [36]Schulam, P. and S. Saria (2015). A framework for individualizing predictions of disease trajectories by exploiting multi-resolution structure. In Advances in Neural Information Processing Systems, Volume 28, pp. 748–756.arxiv.org/abs/1601.04674
  36. [37]Sheiner, L. B. and S. L. Beal (1980). Evaluation of methods for estimating population pharmacokinetic parameters. I. Michaelis–Menten model: routine clinical pharmacokinetic data. Journal of Pharmacokinetics and Biopharmaceutics 8(6), 553–571.pubmed.ncbi.nlm.nih.gov/7229908
  37. [38]Sheiner, L. B. and S. L. Beal (1981). Evaluation of methods for estimating population pharmacokinetic parameters. II. Biexponential model and experimental pharmacokinetic data. Journal of Pharmacokinetics and Biopharmaceutics 9(5), 635–651.pubmed.ncbi.nlm.nih.gov/7334463
  38. [39]Simpson, D., H. Rue, A. Riebler, T. G. Martins, and S. H. Sørbye (2017). Penalising model component complexity: A principled, practical approach to constructing priors. Statistical Science 32(1), 1–28.arxiv.org/abs/1403.4630
  39. [40]Stein, M. L. (1999). Interpolation of Spatial Data: Some Theory for Kriging. New York: Springer.
  40. [41]Sudakov, V. N. and B. S. Tsirel’son (1978). Extremal properties of half-spaces for spherically invariant measures. Journal of Soviet Mathematics 9(1), 9–18.DOI
  41. [42]Twelves, C., R. Glynne-Jones, J. Cassidy, J. Schüller, T. Goggin, B. Roos, L. Banken, M. Utoh, E. Weidekamm, and B. Reigner (1999). Effect of hepatic dysfunction due to liver metastases on the pharmacokinetics of capecitabine and its metabolites. Clinical Cancer Research 5(7), 1696–1702.pubmed.ncbi.nlm.nih.gov/10430071
  42. [43]van der Meersch, A., A. Dechartres, and P. Ravaud (2011). Quality of reporting of bioequivalence trials comparing generic to brand name drugs: a methodological systematic review. PLoS One 6(8), e23611.DOI
  43. [44]Wagner, J. G. (1975). Fundamentals of Clinical Pharmacokinetics. Hamilton, IL: Drug Intelligence Publications.
  44. [45]Wainwright, M. J. (2019). High-Dimensional Statistics: A Non-Asymptotic Viewpoint. Cambridge University Press.
  45. [46]Wakefield, J. (1996). The Bayesian analysis of population pharmacokinetic models. Journal of the American Statistical Association 91(433), 62–75.DOI
  46. [47]Wakefield, J. C., A. F. M. Smith, A. Racine-Poon, and A. E. Gelfand (1994). Bayesian analysis of linear and non-linear population models by using the Gibbs sampler. Journal of the Royal Statistical Society: Series C (Applied Statistics) 43(1), 201–221.DOI
  47. [48]Wheeler, M. W., D. B. Dunson, S. P. Pandalai, B. A. Baker, and A. H. Herring (2014). Mechanistic hierarchical Gaussian processes. Journal of the American Statistical Association 109(507), 894–904.pubmed.ncbi.nlm.nih.gov/25541568
  48. [49]Yang, Y., A. Bhattacharya, and D. Pati (2017). Frequentist coverage and sup-norm convergence rate in Gaussian process regression. arXiv preprint arXiv:1708.04753.arxiv.org/abs/1708.04753

AI tools statement

This work lists 2 AI tools.

  • GPT 6 Astra · AI tool

    Roles
    Formal AnalysisSoftwareWriting — review & editing
    Verification
    self-declared at submission
  • Claude Opus 5.5 · AI tool

    Roles
    Formal AnalysisSoftwareWriting — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type