New phase I methods in escalation
Introducing new methods in escalation
for TPI, mTPI and Neuenschwander et al.‘s design for phase I trials, plus MCMC CRM methods.

Introduction
This week I updated the escalation
(Brock 2020) package on CRAN with new methods to implement several phase I and phase I/II dose-finding designs.
This post describes the addition of the phase I methods TPI, mTPI, and the logistic model method of Neuenschwander, Branson, and Gsponer (2008), and also the addition of MCMC-based CRM methods.
TPI
The toxicity probability interval (TPI) design was introduced by Ji, Li, and Bekele (2007). It is one of a series of dose-finding trial designs that works by partitioning the probability of toxicity into a set of intervals. These designs make dose-selection decisions that are determined by the interval in which the probability of toxicity for the current dose is believed to reside.
Core to this design is a beta-binomial Bayesian conjugate model.
For hyperparameters
If
Using this distribution, let the standard deviation of
- The underdosing interval (UI), defined as
; - The equivalence interval (EI), defined as
; - The overdosing interval (OI), defined as
;
for pre-specified model constants,
Using the posterior distribution, we can calculate the three probabilities
By definition,
Further to these rules regarding dose-selection, the following rule is used to avoid recommending dangerous doses. A dose is deemed inadmissible for being excessively toxic if
for a certainty threshold,
In their paper, the authors demonstrate acceptable operating performance using
Implementation in escalation
Let us specify the model that the authors investigate in their publication:
library(escalation)
model <- get_tpi(num_doses = 5, target = 0.3, alpha = 0.005, beta = 0.005,
k1 = 1, k2 = 1.5, exclusion_certainty = 0.95)
As with all models in escalation
, we fit the model to some outcomes using code like:
fit <- model %>% fit('1NNT')
and learn the dose recommended for the next patient(s):
fit %>% recommended_dose()
## [1] 1
In their Table 1, Ji, Li, and Bekele (2007) recommend some model choices based on notional cohort outcomes. We can reproduce their findings using, for example:
paths <- model %>%
get_dose_paths(cohort_sizes = 6, next_dose = 2)
library(dplyr)
as_tibble(paths) %>%
select(outcomes, next_dose) %>%
knitr::kable()
outcomes | next_dose |
---|---|
2 | |
NNNNNN | 3 |
NNNNNT | 2 |
NNNNTT | 2 |
NNNTTT | 1 |
NNTTTT | 1 |
NTTTTT | 1 |
TTTTTT | 1 |
I.e. if there are six patients at the current dose, this particular parameterisation will only advocate escalation if exactly zero toxicities are seen. If one or two toxicities are seen, the design advocates staying at dose 2, otherwise deescalation is recommended.
mTPI
The modified toxicity probability interval (mTPI) design was introduced by Ji et al. (2010). As the name suggests, it is a modification of the earlier TPI design. mTPI is very similar to TPI, again using a method that partitions the probability of toxicity into a set of intervals.
This design uses a beta-binomial Bayesian conjugate model.
For hyperparameters
If
The design seeks a dose with probability of toxicity close to some pre-specified target level,
- The underdosing interval (UI), defined as
; - The equivalence interval (EI), defined as
; - The overdosing interval (OI), defined as
;
for pre-specified model constants,
For a continuous random variable
Then, using the posterior distribution identified above, we calculate the three UPMs
and
The logical action in the dose-finding trial depends on which of these three quantities is the greatest.
If
Further to these rules regarding dose-selection, the following rule is used to avoid recommending dangerous doses. A dose is deemed inadmissible for being excessively toxic if
for a certainty threshold,
In their paper, the authors demonstrate acceptable operating performance using
Implementation in escalation
Again, let us investigate one of the parameterisations that the authors investigate in their publication:
library(escalation)
model <- get_mtpi(num_doses = 5, target = 0.3, alpha = 1, beta = 1,
epsilon1 = 0.05, epsilon2 = 0.05, exclusion_certainty = 0.95)
As before, we fit the model and learn the dose recommended for the next patient(s) using:
fit <- model %>% fit('1NNT')
fit %>% recommended_dose()
## [1] 1
In their Figure 2, the authors again enumerate model advice over a range of cohort outputs. Just as we did with TPI, enumerating the dose recommendations after a cohort of 6 has been treated at dose 2:
paths <- model %>%
get_dose_paths(cohort_sizes = 6, next_dose = 2)
as_tibble(paths) %>%
select(outcomes, next_dose) %>%
knitr::kable()
outcomes | next_dose |
---|---|
2 | |
NNNNNN | 3 |
NNNNNT | 3 |
NNNNTT | 2 |
NNNTTT | 2 |
NNTTTT | 1 |
NTTTTT | 1 |
TTTTTT | 1 |
We see that after 2NNNNNT
, the mTPI advocates escalation whereas TPI advocated sticking at dose 2.
The advice from the two models matches in all other outcomes in this particular example.
Neuenschwander et al.
Neuenschwander, Branson, and Gsponer (2008) (NBG) introduced a derivative of the CRM for dose-escalation clinical trials using the model:
where
Implementation in escalation
The heavy lifting required to fit the model is performed by trialr
and rstan
.
escalation
merely composes the model fit in such a way that it can be used with the other dose-selection modules.
For illustration, let us reproduce the analysis in Neuenschwander, Branson, and Gsponer (2008) that the authors used to demonstrate the flexibility of a two-parameter approach. In a trial of 15 doses, the investigators saw outcomes:
library(escalation)
dose <- c(1, 2.5, 5, 10, 15, 20, 25, 30, 40, 50, 75, 100, 150, 200, 250)
outcomes <- '1NNN 2NNNN 3NNNN 4NNNN 7TT'
Creating a dose-escalation model with NBG’s parameters:
model <- get_trialr_nbg(real_doses = dose, d_star = 250, target = 0.3,
alpha_mean = 2.15, alpha_sd = 0.84,
beta_mean = 0.52, beta_sd = 0.8,
seed = 2020)
and fitting the model to the observed outcomes:
fit <- model %>% fit(outcomes)
fit
## Patient-level data:
## # A tibble: 17 x 4
## Patient Cohort Dose Tox
## <int> <int> <int> <int>
## 1 1 1 1 0
## 2 2 1 1 0
## 3 3 1 1 0
## 4 4 2 2 0
## 5 5 2 2 0
## 6 6 2 2 0
## 7 7 2 2 0
## 8 8 3 3 0
## 9 9 3 3 0
## 10 10 3 3 0
## 11 11 3 3 0
## 12 12 4 4 0
## 13 13 4 4 0
## 14 14 4 4 0
## 15 15 4 4 0
## 16 16 5 7 1
## 17 17 5 7 1
##
## Dose-level data:
## # A tibble: 15 x 7
## RealDose dose tox n empiric_tox_rate mean_prob_tox median_prob_tox
## <dbl> <int> <int> <int> <dbl> <dbl> <dbl>
## 1 1 1 0 3 0 0.0117 0.00511
## 2 2.5 2 0 4 0 0.0306 0.0186
## 3 5 3 0 4 0 0.0644 0.0468
## 4 10 4 0 4 0 0.134 0.114
## 5 15 5 0 0 NaN 0.202 0.185
## 6 20 6 0 0 NaN 0.264 0.251
## 7 25 7 2 2 1 0.322 0.314
## 8 30 8 0 0 NaN 0.374 0.370
## 9 40 9 0 0 NaN 0.463 0.466
## 10 50 10 0 0 NaN 0.535 0.543
## 11 75 11 0 0 NaN 0.662 0.678
## 12 100 12 0 0 NaN 0.741 0.760
## 13 150 13 0 0 NaN 0.829 0.849
## 14 200 14 0 0 NaN 0.875 0.894
## 15 250 15 0 0 NaN 0.902 0.920
##
## The model targets a toxicity level of 0.3.
## The model advocates continuing at dose 7.
we see that dose 7 is selected for the next cohort using the metric of selecting the dose with posterior expected probability of toxicity closest to the target.
In the above output, mean_prob_tox
broadly matches the values plotted in the lower right panel of Figure 1 in Neuenschwander, Branson, and Gsponer (2008).
Further work
There are a few minor shortcomings of the NBG implementation in escalation
& trialr
.
Firstly, NBG propose a bivariate normal prior distribution on trialr
currently uses independent normal priors.
Hopefully, this will be addressed in a future release of trialr
.
Furthermore, NBG propose a method for selecting dose that accounts for the probability of recommending an overdose.
That logic is currently not implemented in escalation
, but will be in the near future.
MCMC CRM
escalation
already provides one-parameter CRM models via the dfcrm
package (Cheung 2013).
It now also provides MCMC implementations of those same one-parameter models:
skeleton <- c(0.05, 0.12, 0.25, 0.40, 0.55)
target <- 0.25
model1 <- get_trialr_crm(skeleton = skeleton, target = target,
model = 'empiric', beta_sd = 1)
model2 <- get_trialr_crm(skeleton = skeleton, target = target,
model = 'logistic', a0 = 3,
beta_mean = 0, beta_sd = 1)
and also adds a two-parameter logistic model:
model3 <- get_trialr_crm(skeleton = skeleton, target = target,
model = 'logistic2',
alpha_mean = 0, alpha_sd = 2,
beta_mean = 0, beta_sd = 1)
For more on the parameterisation of these methods, check out the CRM vignette in the escalation
.
Simulations and dose-paths
As with all methods in escalation
, simulations are supported right out of the box.
For illustration, Ji, Li, and Bekele (2007) present a simulation study to compare the performance of their TPI design to some alternatives. They specify a design that uses a maximum sample size of thirty patients:
model <- get_tpi(num_doses = 8, target = 0.25, k1 = 1, k2 = 1.5,
exclusion_certainty = 0.95) %>%
stop_at_n(n = 30)
and their scenario 1 assumes true probability of toxicity:
sc1 <- c(0.05, 0.25, 0.5, 0.6, 0.7, 0.8, 0.9, 0.95)
We can then reproduce their simulated characteristics by running:
set.seed(123)
sims <- model %>%
simulate_trials(num_sims = 50, true_prob_tox = sc1, next_dose = 1)
sims
## Number of iterations: 50
##
## Number of doses: 8
##
## True probability of toxicity:
## 1 2 3 4 5 6 7 8
## 0.05 0.25 0.50 0.60 0.70 0.80 0.90 0.95
##
## Probability of recommendation:
## NoDose 1 2 3 4 5 6 7 8
## 0.00 0.14 0.76 0.10 0.00 0.00 0.00 0.00 0.00
##
## Probability of administration:
## 1 2 3 4 5 6 7 8
## 0.226 0.606 0.160 0.008 0.000 0.000 0.000 0.000
##
## Sample size:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 30 30 30 30 30 30
##
## Total toxicities:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 4.00 6.00 7.00 7.44 9.00 11.00
##
## Trial duration:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 15.30 27.50 30.75 30.65 34.90 42.30
For the sake of speed, we ran just fifty iterations but in a real situation, many thousands of iterations would be more appropriate.
Conclusion
Amongst pure phase I designs, escalation
now supports:
- CRM
- TPI
- mTPI
- BOIN
- NBG
It also supports some designs that select dose by co-primary efficacy and toxicity outcomes, the so-called seamless phase I/II designs. Those will be the subect of the next post on this blog. Til then, good day.
References
Brock, Kristian. 2020. Escalation: Modular Approach to Dose Finding Clinical Trials. https://CRAN.R-project.org/package=escalation.
Cheung, Ken. 2013. Dfcrm: Dose-Finding by the Continual Reassessment Method. https://CRAN.R-project.org/package=dfcrm.
Ji, Yuan, Yisheng Li, and B. Nebiyou Bekele. 2007. “Dose-finding in phase I clinical trials based on toxicity probability intervals.” Clinical Trials 4 (3): 235–44. https://doi.org/10.1177/1740774507079442.
Ji, Yuan, Ping Liu, Yisheng Li, and B. Nebiyou Bekele. 2010. “A modified toxicity probability interval method for dose-finding trials.” Clinical Trials 7 (6): 653–63. https://doi.org/10.1177/1740774510382799.
Neuenschwander, Beat, Michael Branson, and Thomas Gsponer. 2008. “Critical aspects of the Bayesian approach to phase I cancer trials.” Statistics in Medicine 27: 2420–39. https://doi.org/10.1002/sim.3230.