Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2019 Sep 1.
Published in final edited form as: Immunol Rev. 2018 Sep;285(1):5–8. doi: 10.1111/imr.12700

Introduction to Modeling Viral Infections and Immunity

Alan S Perelson 1, Ruy M Ribeiro 1,2
PMCID: PMC6312192  NIHMSID: NIHMS1002289  PMID: 30129196

Infectious agents, such as HIV, hepatitis B virus (HBV), hepatitis C virus (HCV), malaria and influenza remain significant public health threats, with ~41 million people chronically infected by HIV, ~331 million infected by HBV, ~148 million infected by HCV and ~351 million cases of malaria, according to the Global Burden of Disease 2013 study (1). In addition, threats of new influenza pandemics or emerging viruses, such as Ebola and Zika, have created alarm in the United States and in many parts of the world. Despite intensive research efforts by public and private institutions, there are still no vaccines for HIV, HCV, malaria, Ebola, Zika and many other pathogens. And even though there has been enormous progress with antiviral therapies for chronic infections, we are still unable to cure HIV and HBV and life-long treatment is needed.

Nevertheless, the knowledge gained in the last two decades about the epidemiology, pathobiology and molecular details of many of these infections has been impressive. One of the fundamental discoveries (or perhaps, realizations) is that crucial aspects of within-host pathogen biology and immunity against pathogens depend on the dynamics of the interplay among the agents involved. The simple conceptual model that microbes and the immune cells that fight them enter the body or in the case of immune cells are generated from precursors, replicate and are lost – due to a myriad of complex mechanisms – has been a powerful driving force in our understanding of infections. This framework allows us to analyze at different levels of detail the life-cycle of the cells and microbes involved in any given infection process (Figure 1).

Figure 1.

Figure 1.

Dynamical models can be powerful tools to understand infectious diseases, immune response and outcomes of infection. Developing models of the dynamics of cell populations or subcellular compartments interacting with pathogens, computing the target cell, pathogen, and immune system kinetics under different possible scenarios, and estimating model parameters leads to predictions about the course of the disease and clinical outcome. In this volume there are multiple examples of the state-of-the-art in applying these principles to multiple important problems in infectious diseases and immunity.

While mathematical modeling of viral infections and immunity has a long history, the application of the idea of quantifying the within-host dynamics of the pathogen made a major impact in clinical practice with the publication of two seminal papers in 1995 (2, 3) using modeling to show that HIV infection was a very dynamic process, in which virus was rapidly replicating and being cleared within infected individuals. Before this realization, HIV was thought by many to be a “dormant” virus similar to other lentiviruses, because of the observation that HIV infection took close to a decade to lead to AIDS and during most of this period plasma HIV levels hardly changed. The realization of fast (and error prone) HIV replication indicated that drug resistance was inevitable, if just one or two drugs were used for which the virus could become resistant with one or two-point mutations. This lead to the conclusion that combination therapy with at least three drugs was needed. Modeling of HIV and then of other pathogens elucidated various aspects of the dynamics, such as the lifespan of infected cells, efficacy of drug treatment, modes of action of treatment, dynamics of different populations of infected cells, etc. These insights spanned the range of helping understand basic pathogen biology to influencing clinical decisions. For example, in the case of HCV infection, modeling showed how one could estimate the in vivo effectiveness of new antivirals with clinical trials that lasted days rather than the previous standard of 48 weeks (4). This ushered in the clinical evaluation of scores of new candidate agents eventually leading to the current highly successful interferon-free combination therapies with direct acting antivirals (DAA) that are curing almost all treated patients.

Over the years since these early breakthroughs, modeling has taken a prominent place in infectious disease research, as well as immunology (58). There is now a large community of researchers, both in academia and industry, working at the interface of quantitative virology, immunology, therapeutics and medicine. The purpose of this volume is to review research in these areas, to better understand the nature of the challenges that treating and curing infections bring, and to foster new therapeutic progress. We aimed for this volume to cover a broad range of topics exemplifying the impact that modelling has had in multiple fields, from molecular aspects of T-cell activation to phylodynamics of viral infections. However, we could not cover every topic and for the most part, the extremely active field of systems immunology, using “big data sets” was not included in the present volume (5). Our choice was to emphasize mechanistic models of viral infection and immunology. Our objective is to promote an interdisciplinary assessment of the state-of-the-art, the future of the field and to explore how best to navigate roadblocks and hurdles to fully realize the potential of modeling of infections for improving human health.

Given the recent history of the field, it is appropriate that this volume opens with a modern review of the impact of viral dynamics models in the treatment of HIV, including discussion of antiretroviral treatment, but also more recent modeling analyses of latency reactivation agents (9). At the same time, one of the greatest challenges in the HIV field is understanding the effector immune mechanisms, why they fail, what are the correlates of immunity and how to model immune effects. One aspect of this is the subject of the second review, where experiments depleting CD8+ cells in the simian immunodeficiency (SIV) – macaque model are discussed (10). These have led to substantial controversy on the interpretation of the ensuing viral dynamics, which depend to a large extent on the use of mathematical models with different assumptions. Next, these general ideas from HIV are applied to two other important viruses, HBV and HCV, with a contrasting recent history. Chronic HBV is still mostly an incurable disease, and the review by Ciupe discusses models of acute infection, the virus-host characteristics responsible for transition to chronic disease, and the use of optimal control ideas to design drug therapy regimes (11). On the other hand, the clinical care of HCV has seen an enormous transformation, where DAAs are able to cure a large fraction of infected patient with treatments that typically last 12 weeks or less. Although these have been very successful, there may be scope for improving protocols and Raja et al. (12) discuss the role of interferon in HCV treatment with DAAs. Here it is clear that understanding the ongoing innate immune response may be critical to designing better treatment protocols. The theme of understanding the type I interferon response is continued in the review by Talemi & Höfer (13), where the tug of war between the antiviral interferon response and virus replication is described at the single cell level. At this level, the response is very heterogeneous and typically only 10–30% of cells in a population uniformly infected by virus express interferon-β. The same preoccupation with understanding immune mechanisms is patent in the review by Best & Perelson (14) on Zika virus infection, where identifying and understanding the key mechanisms of both innate and adaptive immune control should provide the foundation for the development of effective vaccines and antiviral therapy. Zika is an emerging disease and it is associated with significant risk of morbidity especially for pregnant women and newborns. By adapting mathematical models of chronic infection to this acute virus, it is hoped that it will be possible to understand key aspects of the viral life cycle, to predict antiviral efficacy, and to define correlates of immunity and pathogenesis.

Another important acute infection that modelers have studied in detail is influenza, which can generate both seasonal (relatively mild) epidemics and (potentially devastating) pandemics. Smith reviews (15) recent advances in modeling influenza, with the important twist of considering co-infections with other microorganisms, especially bacterial co-infections, which are thought to be one of the main causes of mortality in influenza infection. Because mice represent a reasonable small-animal model for this infection, influenza studies and experiments can be designed with modeling in mind. This review discusses utilizing model-driven experimental design, which can represent a paradigm for other infectious diseases (15). An important aspect of influenza is that the infection is usually localized in the lungs and Smith shows how the virus spreads through the lungs as a function of time during infection in mice and raises the issue of to what extent the infection is target cell versus innate response limited. More generally, taking into account the spatial localization and potential production and spread of virus within tissues, both by cell-to-cell infection and by cell free virus, is becoming an important area of research (e.g., (16)). The next review deals with one such viral infection: herpes simplex virus 2 (HSV-2) (17). In this case, it is not just the viral dynamics that are modeled, but also viral containment by tissue resident CD8+ memory (TRM) T cells. The review by Schiffer et al. describes the use of mathematical models to correlate large spatial gradients in TRM density with the heterogeneity of observed shedding within a single person. They also describe how models have been leveraged for clinical trial simulation, as well as his future plans “to model the interactions of multiple cellular subtypes within mucosa, predict the mechanism of action of therapeutic vaccines, and describe the dynamics of three-dimensional infection environment during the natural evolution of an HSV-2 lesion” (17). A more abstract approach to spatial localization of infection and to develop a method to ascertain anatomical colonization pathways is presented in the review by Bons & Regoes (18), which discusses phylodynamic methods to infer not just migration of virus, but also other dynamics characteristics of within-host viral expansion.

The two reviews that follow deal with Mycobacterium tuberculosis (Mtb) and malaria. These are two very good examples of how the ideas of viral dynamics may be applied to pathogens that are potentially more complex in their life cycles, and (as in these cases) that have thwarted our efforts to control them for millennia. Cicchese et al. (19) adopt the very interesting perspective that one mechanism that allows long-term control of persistent Mtb infection without an overly deleterious immune response is for the immune system to balance pro- and anti-inflammatory cells and signals. Because this balance is dynamic, involving continuous feedback, they argue that mathematical modeling is the right framework to understand this infection and its control by the immune system. Khoury et al. (20) review work done to date on with-in host modeling of the blood stage of Plasmodium spp. infection. The approach they discuss, centered on understanding the complex dynamics of the malaria life cycle and the effect of different drugs at different stages, is more reminiscent of “traditional viral dynamics models” particularly those that are age-structured. It is extremely interesting to see how adaptation of those ideas to a new pathogen, with the necessary modifications to account for the more complex lifecycle, is already bearing novel insights into malaria biology.

The second part of this volume is dedicated to mathematical models of the immune system, with a particular focus on T-cell biology. This is an area of large expansion with many groups and pioneering studies in the last two decades or so. This in itself is very interesting, because many of the earlier quantitative models in immunology were dedicated to B-cell biology, antibody specificity and affinity maturation (2126). The work reviewed in this second part spans the scales from modeling the quantitative aspects of T-cell receptor (TCR) activation, focusing on the molecular mechanisms that underpin the exquisite sensitivity of this receptor (27); to a global theory of T cell (and B cell) fate decision. The TCR defines the cell specificity and a clonotype is the set of cells with the same specificity. There has been a long-standing interest in understanding how the diversity of clonotypes is maintained, which hinges on knowledge of how many clonotypes actually exist. This is a very difficult, nearly impossible, question to answer experimentally and mathematical models are essential to analyze this issue. Such models and interpreting experimental results in this area are the topics of the review by Lythe & Molina-Paris (28). They review statistical and heuristic models of diversity in the T-cell repertoire, but this is followed by a review of more mechanistic models of the biology of naive T cells from birth to maturity (29). These models have been developed by integrating modeling and experiments to discover a better picture of the life-history of T cells, in an exemplar long-standing collaboration among the authors of that review. A crucial component of understanding T cell life-histories is to have a good estimate of the turnover rates of different subsets of cells. The review by Borghans et al. (30) address this issue not only for T cells, but also for many other leukocytes, based on state-of-the-art experimental techniques (using deuterium as a label of newly formed DNA in replicating cells) and modeling. This provides perhaps one of the best examples of experiments that only make sense in the context of modeling. In fact, simple observation or description of experimental results are very difficult to interpret, and adequate modeling and understanding of the assumptions involved are crucial for reaching any conclusions from the data. The final review by Hodgkin (31) proposes a unifying concept for cell fate decisions, such as division, death or differentiation, based on independent functional components within the cell subject to stochastic variation, and influenced by cellular calculus integrating signals reaching the cell. In support of this concept, the author reviews a sizable body of work of very quantitative experiments measuring cell division, cell integration of multiple signals and mathematical models that provide unifying insights into these multiple processes.

The various authors of the reviews in this issue tended to emphasize biology and biological implications of mathematical modeling in the various systems. But we also asked them to include some details of the mathematical approaches used. Thus, one can see that although simple ordinary differential equations are the tool of choice in most cases, many other mathematical techniques are important in modeling pathogens and immune response. These include the gamut from stochastic models and equations (28) to agent-based models (19), including partial differential equations (27), and probabilistic models (31).

Altogether, this volume represents a unique opportunity for researchers in a variety of allied fields to learn about the state of the art in modeling viral infections and immunity. At the same time, one can already see emerging future directions in these fields. More complex biological processes, including pathogens with complicated life-cycles, interactions of both the innate and adaptive immune system with pathogens and the effects of co-infections are all areas of great research interest and where modeling has only scratched the surface.

Acknowledgements.

This work was done under the auspices of the US Department of Energy under Contract DE-AC52–06NA25396 and was supported by NIH Grants R01-AI078881, R01-OD0110955, and R01-AI028433 (to A.S.P.) and grant R01-AI104373 (to R.M.R).

References

  • 1.Vos T, Barber RM, Bell B, et al. Global, regional, and national incidence, prevalence, and years lived with disability for 301 acute and chronic diseases and injuries in 188 countries, 1990–2013: a systematic analysis for the Global Burden of Disease Study 2013. The Lancet 2015; 386: 743–800. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Ho DD, Neumann AU, Perelson AS, Chen W, Leonard JM, Markowitz M. Rapid turnover of plasma virions and CD4 lymphocytes in HIV-1 infection. Nature 1995; 373: 123–126. [DOI] [PubMed] [Google Scholar]
  • 3.Wei X, Ghosh SK, Taylor ME, et al. Viral dynamics in human immunodeficiency virus type 1 infection. Nature 1995; 373: 117–122. [DOI] [PubMed] [Google Scholar]
  • 4.Perelson AS, Guedj J. Modelling hepatitis C therapy—predicting effects of treatment. Nat. Rev. Gastroenterol. Hepatol 2015; 12: 437–445. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Arazi A, Pendergraft WF, Ribeiro RM, Perelson AS, Hacohen N. Human systems immunology: Hypothesis-based modeling and unbiased data-driven approaches. Semin. Immunol 2013; 25: 193–200. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Perelson AS, Ribeiro RM. Modeling the within-host dynamics of HIV infection. BMC Biol 2013; 11: 96. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Morel PA, Faeder JR, Hawse WF, Miskov-Zivanov N. Modeling the T cell immune response: a fascinating challenge. J. Pharmacokinet. Pharmacodyn 2014; 41: 401–413. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Castro M, Lythe G, Molina-París C, Ribeiro RM. Mathematics in modern immunology. Interface Focus 2016; 6: 20150093. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Hill AL, Rosenbloom DIS, Nowak MA, Siliciano RF. Insight into treatment of HIV infection from viral dynamics models. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Cardozon EF, Apeterei C, Pandrea I, Ribeiro RM. The dynamics of simian immunodeficiency virus (SIV) after depletion of CD8+ cells. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Ciupe SM. Modeling the dynamics of hepatitis B infection, immunity, and drug therapy. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 12.Raja R, Baral S, Dixit NM. Interferon at the cellular, individual and population level in hepatitis C virus infection: its role in the interferon-free treatment era. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Talemi SR, Höfer T. Antiviral interferon response at single-cell resolution. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 14.Best K, Perelson AS. Mathematical modeling of within host Zika virus dynamics. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Smith AM. Host-Pathogen Kinetics During Influenza Infection and Coinfection: Insights from Predictive Modeling. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Graw F, Perelson AS. Modeling viral spread. Annu. Rev. Virol 2016; 3: 555–572. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Schiffer JT, Swan DA, Prlic M, Lund JM. Herpes simplex virus-2 dynamics as a probe to measure the extremely rapid and spatially localized tissue-resident T cell response. Immunol. Rev in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Bons E, Regoes RR. Virus dynamics and phyloanatomy: merging population dynamic and phylogenetic approaches. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 19.Cicchese JM, Evans S, Hult C, et al. Dynamic balance of pro- and anti-inflammatory signals controls disease and limits pathology. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Khoury DS, Aogo R, Randriafanomezantsoa-Radohery G, et al. Within-host modelling in malaria. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 21.Perelson AS, Mirmirani M, Oster GF. Optimal strategies in immunology. I. B-cell differentiation and proliferation. J. Math. Biol 1976; 3: 325–367. [DOI] [PubMed] [Google Scholar]
  • 22.Perelson AS, Mirmirani M, Oster GF. Optimal strategies in immunology. II. B memory cell production. J. Math. Biol 1978; 5: 213–256. [DOI] [PubMed] [Google Scholar]
  • 23.Perelson AS, Oster GF. Theoretical studies of clonal selection: minimal antibody repertoire size and reliability of self-non-self discrimination. J. Theor. Biol 1979; 81: 645–670. [DOI] [PubMed] [Google Scholar]
  • 24.Kepler TB, Perelson AS. Cyclic re-entry of germinal center B cells and the efficiency of affinity maturation. Immunol. Today 1993; 14: 412–415. [DOI] [PubMed] [Google Scholar]
  • 25.Batt BC, Kompala DS. Verification of immune response optimality through cybernetic modeling. J. Theor. Biol 1990; 142: 317–340. [DOI] [PubMed] [Google Scholar]
  • 26.DeLisi C Mathematical modeling in immunology. Annu. Rev. Biophys. Bioeng 1983; 12: 117–138. [DOI] [PubMed] [Google Scholar]
  • 27.Siller-Farfan JA, Dushek O. Molecular mechanisms of T cell sensitivity to antigen. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 28.Lythe G, Molina-Paris C. Some deterministic and stochastic mathematical models of naive T-cell homeostasis. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 29.Seddon B, Yates AJ. The natural history of naive T cells from birth to maturity. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 30.Borghans JAM, Tesselaar K, de Boer RJ. Current best estimates for the average lifespans of mouse and human leukocytes: reviewing two decades of deuterium labeling experiments. Immunol. Rev 2018; in press: [DOI] [PubMed] [Google Scholar]
  • 31.Hodgki PD. Modifying clonal selection theory with a probabilistic cell. Immunol. Rev 2018; in press: [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES