Modeling the effects of exposure heterogeneity on vaccine clinical efficacy.
This repository includes a set of model-based explorations of the effect of HIV exposure heterogeneity on vaccine efficacy.
IDM:
Josh Herbeck (jherbeck@idmod.org)
Adam Akullian (aakullian@idmod.org)
Allen Roberts
David Kong
Minerva Enriquez
FHCRC: Paul Edlefsen (pedlefse@fredhutch.org)
It has been hypothesized that exposure or risk heterogeneity can affect estimates of vaccine efficacy for leaky vaccines, which improve survival or reduce symptoms without preventing viral replication and transmission (e.g. Halloran et al., 1992; White et al., 2010; O'Hagan et al.,2013; Edlefsen, 2014; Coley et al., 2016; Gomes et al., 2016; Kahn et al., 2018; Langwig et al., 2019). The potential outcome is that the vaccine efficacy measured from the trial (i.e. the "clinical efficacy") is lower than the biological vaccine efficacy (i.e. the "per-exposure" or "per-contact vaccine efficacy"). This distinction is important and is a main focus of this work: the per-exposure vaccine efficacy is not necessarily equal to the clinical efficacy or the population effectiveness of the same vaccine.
Let's start with one approach to thinking about this issue. Exposure heterogeneity can impact vaccine efficacy measures within and across populations. Within-population heterogeneity is the variation in risk of HIV infection within a single (trial) population: a portion of individuals are at higher risk of infection, due to a combination of higher contact rate (e.g. number of sexual partners), higher per-exposure probability of transmission, or higher HIV prevalence in sexual partners. If this pattern exists within the vaccine and placebo arms of a clinical trial, it can result in decreasing clinical vaccine efficacy over the course of the trial. This happens as high-risk individuals in both arms are infected (and effectively removed from the susceptible population) at a higher rate than the low-risk individuals; incidence declines over the course of this depletion, as the high-risk individuals get infected and only the lower-risk individuals remain. If the vaccine at trial has some effect, this incidence decline occurs faster in the placebo arm, resulting in vaccine and placebo arms with unbalanced risk structure.
Across-population heterogeneity describes a situation where two or more populations have different forces of infection (e.g. there is variation in the population incidence or exposure rate). For leaky vaccines, which in theory partially protect all vaccinated individuals on a per-exposure basis, repeated exposures will lead to lower vaccine efficacy: in populations with high HIV risk, the cumulative effect of multiple exposures can result in clinical efficacy lower than the per-exposure vaccine efficacy. This situation may describe HIV vaccine trials in South Africa and Thailand; even if the per-exposure efficacy of the vaccine is the same, would we expect substantial differences in clinical vaccine efficacy that are due to the different incidences in the trial settings?
To quote from Gomes et al., 2016: "This effect is more pronounced in the control group as individuals within it experience higher rates of infection overall. Consequently, the ratio of disease rates in vaccinated over control groups increases, and vaccine efficacy, as measured by simple rate ratios, decreases as the trial progresses. Finally, the magnitude of this effect increases with the intensity of transmission."
Here we use epidemic models to simulate this process, within and across populations, in the context of HIV prevention trials or longitudinal studies. Some initial questions that we address include:
Can we raise awareness of the distinction between per-exposure vaccine efficacy, clinical vaccine efficacy, and population vaccine effectiveness?
Did across-population exposure heterogeneity contribute to the differences between the RV144 and HVTN 702 HIV vaccine trial outcomes?
Can exposure heterogeneity explain waning efficacies seen in other HIV prevention trials (e.g. the AMP VRC01 bnAb trials and the different results seen in the sub-studies, 703 and 704)?
In HIV cohort studies incidence often declines over the course of the study. How much of this effect may be due to frailty bias (i.e. individuals with high-risk exposure or high exposure rates becoming infected early in the observation period, while individuals with lower risk become infected later)?
To simulate an HIV vaccine trial we use a simple deterministic compartmental model. The model includes two compartments: S, susceptible individuals; and I, infected individuals. Individuals start as S and move to I over the course of the trial if they get infected. We do not model infections back from I to S; we assume that changes in the size of I do not affect the infection rate of S.
The infection rate of individuals in S is based on: prev
, the population prevalence (of viremic individuals); c
, the exposure rate (serodiscordant sexual contacts per time); and p
, the per-exposure transmission probability.
The per-exposure (i.e. per-contact) effect of vaccination is epsilon
, and with this iteration of the model epsilon
is: 1) not time-varying (the per contact vaccine effect does not decay over time); and 2) assumes a homogeneous effect (does not vary by mark / viral genotype). This model structure also removes the possibility of indirect effects from vaccination.
The risk structure is controlled by the size of the high-, medium-, and low-risk subgroups, and by risk
, the risk multiplier, which is used to increase or decrease the relative risk for each of the subgroups.
beta
= transmission rate (per contact)
c
= exposure rate (serodiscordant sexual contacts per time)
prev
= prevalence (prevalence of viremic individuals)
lambda = beta * c * prev
risk
= risk multiplier
epsilon
= per-exposure vaccine efficacy; the vaccine-induced reduction in the risk of HIV infection from a single exposure
The model's basic equations are:
dS/dt = -lambda*S
dI/dt = lambda*S
The basic compartments are:
Homogeneous exposure (risk) population
Sp = susceptible placebo
Sp = susceptible placebo
Ip = infected placebo
Sv = susceptible vaccinated
Iv = infected vaccinated
Heterogeneous exposure population
Svh = susceptible vaccinated high exposure
Svm = susceptible vaccinated medium exposure
SvL = susceptible vaccinated low exposure
Ivh = infected vaccinated high exposure
Ivm = infected vaccinated medium exposure
Ivl = infected vaccinated low exposure
We use the EpiModel (http://www.epimodel.org/, Sam Jenness et al., Emory University) framework to build the model.
library(EpiModel)
library(deSolve)
library(tidyverse)
library(survival)
library(EasyABC)
si_ode <- function(times, init, param){
with(as.list(c(init, param)), {
# Flows (the number of people moving from S to I at each time step)
# Homogeneous exposure population
SIp.flow <- lambda*Sp #placebo
SIv.flow <- lambda*(1-epsilon)*Sv #vaccine
# Heterogeneous exposure
# Placebo
SIph.flow <- risk*lambda*Sph #placebo, high risk
SIpm.flow <- lambda*Spm #placebo, medium risk
SIpl.flow <- 0*lambda*Spl #placebo, low risk; 0 to give this group zero exposures
# Vaccine
SIvh.flow <- risk*lambda*(1-epsilon)*Svh
SIvm.flow <- lambda*(1-epsilon)*Spm
SIvl.flow <- 0*lambda*(1-epsilon)*Svl
# ODEs
# placebo; homogeneous risk
dSp <- -SIp.flow
dIp <- SIp.flow #lambda*Sp
# vaccine; homogeneous risk
dSv <- -SIv.flow
dIv <- SIv.flow # lambda*(1-epsilon)*Sv, from Flows, above
# placebo; heterogeneous risk
dSph <- -SIph.flow
dIph <- SIph.flow #risk*lambda*Sph
dSpm <- -SIpm.flow
dIpm <- SIpm.flow #lambda*Spm
dSpl <- -SIpl.flow
dIpl <- SIpl.flow #0*lambda*Spl
# vaccine; heterogeneous risk
dSvh <- -SIvh.flow
dIvh <- SIvh.flow #risk*lambda*(1-epsilon)*Svh
dSvm <- -SIvm.flow
dIvm <- SIvm.flow #lambda*Svm
dSvl <- -SIvl.flow
dIvl <- SIvl.flow #0*lambda*(1-epsilon)*Svl
#Output
list(c(dSp,dIp,
dSv,dIv,
dSph,dIph,
dSpm,dIpm,
dSpl,dIpl,
dSvh,dIvh,
dSvm,dIvm,
dSvl,dIvl,
SIp.flow,SIv.flow,
SIph.flow,SIpm.flow,SIpl.flow,
SIvh.flow,SIvm.flow,SIvl.flow))
})
}
beta <- 0.004 #transmission rate (per contact)
c <- 90/365 #contact rate (contacts per day)
prev <- 0.10 #needs some more consideration
lambda <- beta*c*prev
epsilon <- 0.30 #per contact vaccine efficacy
risk <- 10.0 #risk multiplier
We eyeball-calibrated the incidence to \~3.5% per 100 person years, to be reasonably consistent with HVTN 702 in South Africa. (More rigorous ABC calibration is planned in the future.) We used an initial set of transmission parameters for sub-Saharan Africa borrowing from Alain Vandormael (2018):
"We used realistic parameter values for the SIR model, based on earlier HIV studies that have been undertaken in the sub-Saharan Africa context. To this extent, we varied `c` within the range of 50 to 120 sexual acts per year based on data collected from serodiscordant couples across eastern and southern African sites. Previous research has shown considerable heterogeneity in the probability of HIV transmission per sexual contact, largely due to factors associated with the viral load level, genital ulcer disease, stage of HIV progression, condom use, circumcision and use of ART. Following a systematic review of this topic by Boily et al., we selected values for `beta` within the range of 0.003–0.008. ... Here, we chose values for `v` within the range of 0.15–0.35, which are slightly conservative, but supported by population-based estimates from the sub-Saharan African context."
c
varies from 50 to 120 per year
beta
varies from 0.003 to 0.008
prev
, which here is population prevalence of unsuppressed VL, varies from 0.15 to 0.35
epsilon
could be parameterized using the RV144 Thai Trial results: VE = 61% at 12 months, 31% at 42 months, but below we start with 30% and not waning. Duration is not needed because we are only modeling a 3-year trial without boosters.
Our first pass at the size of the high-, medium-, and low-risk subgroups are: 10% high risk, 80% medium risk, and 10% no (zero) risk. (This parameterization is tough: Dimitrov et al 2015 even suggest that the MAJORITY of individuals in trials are NOT exposed; https://pubmed.ncbi.nlm.nih.gov/25569838/)
The following sets up and runs the model.
param <- param.dcm(lambda = lambda, epsilon = epsilon, risk = risk)
init <- init.dcm(Sp = 5000, Ip = 0,
Sv = 5000, Iv = 0,
Sph = 1000, Iph = 0, #placebo, high risk
Spm = 6000, Ipm = 0, #placebo, medium risk
Spl = 3000, Ipl = 0, #placebo, low risk
Svh = 1000, Ivh = 0, #vaccine, high
Svm = 6000, Ivm = 0, #vaccine, medium
Svl = 3000, Ivl = 0, #vaccine, low
SIp.flow = 0, SIv.flow = 0,
SIph.flow = 0, SIpm.flow = 0, SIpl.flow = 0,
SIvh.flow = 0, SIvm.flow = 0, SIvl.flow = 0)
control <- control.dcm(nsteps = 365*3, new.mod = si_ode)
mod <- dcm(param, init, control)
mod
This function (mod.maniputate()
) just takes the model output (an Epimodel mod
file) and uses the data to create other data (e.g. incidence and clinical vaccine efficacy estimates) for plotting or downstream analyses, including calibration or parameter optimization analyses.
mod.manipulate <- function(mod){
mod <- mutate_epi(mod, total.Svh.Svm.Svl = Svh + Svm + Svl) #all susceptible in heterogeneous risk vaccine pop
mod <- mutate_epi(mod, total.Sph.Spm.Spl = Sph + Spm + Spl) #all susceptible in heterogeneous risk placebo pop
mod <- mutate_epi(mod, total.Ivh.Ivm.Ivl = Ivh + Ivm + Ivl) #all infected in heterogeneous risk vaccine pop
mod <- mutate_epi(mod, total.Iph.Ipm.Ipl = Iph + Ipm + Ipl) #all infected in heterogeneous risk placebo pop
mod <- mutate_epi(mod, total.SIvh.SIvm.SIvl.flow = SIvh.flow + SIvm.flow + SIvl.flow) #all infections per day in heterogeneous risk vaccine pop
mod <- mutate_epi(mod, total.SIph.SIpm.SIpl.flow = SIph.flow + SIpm.flow + SIpl.flow) #all infections in heterogeneous risk placebo pop
#Instantaneous ncidence (hazard) estimates, per 100 person years
#Instantaneous incidence / hazard
mod <- mutate_epi(mod, rate.Vaccine = (SIv.flow/Sv)*365*100)
mod <- mutate_epi(mod, rate.Placebo = (SIp.flow/Sp)*365*100)
mod <- mutate_epi(mod, rate.Vaccine.het = (total.SIvh.SIvm.SIvl.flow/total.Svh.Svm.Svl)*365*100)
mod <- mutate_epi(mod, rate.Placebo.het = (total.SIph.SIpm.SIpl.flow/total.Sph.Spm.Spl)*365*100)
#Cumulative incidence
mod <- mutate_epi(mod, cumul.Sv = cumsum(Sv))
mod <- mutate_epi(mod, cumul.Sp = cumsum(Sp))
mod <- mutate_epi(mod, cumul.Svh.Svm.Svl = cumsum(total.Svh.Svm.Svl))
mod <- mutate_epi(mod, cumul.Sph.Spm.Spl = cumsum(total.Sph.Spm.Spl))
mod <- mutate_epi(mod, cumul.rate.Vaccine = (Iv/cumul.Sv)*365*100)
mod <- mutate_epi(mod, cumul.rate.Placebo = (Ip/cumul.Sp)*365*100)
mod <- mutate_epi(mod, cumul.rate.Vaccine.het = (total.Ivh.Ivm.Ivl/cumul.Svh.Svm.Svl)*365*100)
mod <- mutate_epi(mod, cumul.rate.Placebo.het = (total.Iph.Ipm.Ipl/cumul.Sph.Spm.Spl)*365*100)
#Vaccine efficacy (VE) estimates
#VE <- 1 - Relative Risk; this is clinical VE for hazard
mod <- mutate_epi(mod, VE1.inst = 1 - rate.Vaccine/rate.Placebo)
mod <- mutate_epi(mod, VE2.inst = 1 - rate.Vaccine.het/rate.Placebo.het)
#VE <- 1 - Relative Risk; this is clincial VE from cumulative incidence
mod <- mutate_epi(mod, VE1.cumul = 1 - cumul.rate.Vaccine/cumul.rate.Placebo)
mod <- mutate_epi(mod, VE2.cumul = 1 - cumul.rate.Vaccine.het/cumul.rate.Placebo.het)
return(mod)
}
First we can plot hazard/instantaneous incidence in the homogeneous and heterogeneous risk populations.
mod <- mod.manipulate(mod)
plot(mod, y=c("rate.Placebo", "rate.Placebo.het"),
alpha = 0.8,
ylim = c(0, 4.5),
main = "Hazard",
xlab = "days",
ylab = "infections per 100 person yrs",
legend = FALSE,
col = c("blue", "red"))
legend("bottomright", legend = c("homogeneous risk", "heterogeneous risk"), col = c("blue", "red"), lwd = 2, cex = 0.9, bty = "n")