Charting a Course on Immune Response

[from LLNL’s Science & Technology Review, by Sheridan Hyland]

Lawrence Livermore scientists Dina Weilhammer (right), Feliza Bourguet (middle), and Nicholas Hum (left) prep samples for analysis to study Rift Valley fever virus behavior and immune response.

Respiratory diseases can balloon from a few cases to epidemics or pandemics, making them a consideration in national security planning and preparation. Understanding how a pathogen behaves in different circumstances and environments is complex and depends upon many factors, including genetics. COVID-19 remains a stark example of how understanding of pathogen behavior can be tenuous. Scientists continue to grapple with answering questions of why some carriers are asymptomatic while others produce symptoms of the disease, why some of the infected suffer the effects of long COVID while others do not, and why some individuals passed away and others survived. COVID-19 is only one example of a pathogen that raises questions among medical researchers: Valley Fever, variations of encephalitis, and other diseases also present additional challenges. 

Lawrence Livermore scientists are taking a comprehensive approach to understanding pathogen behavior and immune system response, building on past research that focused on individual molecules and interactions. Dina Weilhammer, a staff scientist in Livermore’s Biosciences Division, explains, “We’ve made significant inroads in understanding how the immune system recognizes foreign agents such as bacteria and viruses, as well as how the immune system can separate what should be eliminated and what should be protected. Today’s biotechnology tools can overcome earlier limitations. They enable us to interrogate the immune system more holistically than ever before to address questions and uncover unexpected considerations and answers.”

Through its research, the Livermore team—which includes Weilhammer, Nicholas Hum, Aimy Sebastian, Oscar Davalos, Margarita Rangel, Deepa Murugesh, Bria Gorman, Gregory Lum, Nicole Leon, Patrick Hurley, and Ashlee Phillips—is sharpening its understanding of the differences between one immune system that clears infection compared to another that cannot. Using a combination of controlled pathogen exposure; single-cell RNA sequencing (scRNA-seq); spatial transcriptomics to collect data; and computational platforms to organize, analyze, and interpret the data, the Laboratory is developing an immune system atlas that could help the medical field better understand and predict disease outcomes in the future.

Livermore’s biologists combine multiple tools and research methods— controlled pathogen exposure, single-cell RNA sequencing, spatial transcriptomics, and AI integration of data—to understand how different pathogens that impact the lungs, brain, and blood behave in different environments and how an individual’s immune system responds. As studies progress, the data could be used to predict disease outcomes in individuals and offer therapeutic screening, validation, and treatment options.

Mapping the Methodology

To address their research questions, scientists developing the immune atlas have focused on pathogens that impact the lungs and brain. “We have viral, fungal, and bacterial models of disease that specifically target the lungs,” says Hum, a staff scientist. “At the same time, many diseases do not start in the lungs but can still affect them over time through systemic immune and inflammatory responses. The next natural question is how signals from elsewhere in the body reshape the lung environment and influence lung function.” Data from multiple techniques combine to provide a fuller picture of immune system response.

Using uniform manifold approximation and projection (UMAP), Livermore biologists can create a visualization of cell clusters in experimental groups. Pictured here, a variety of cells in mice have been identified in a healthy (left) and infected (right) lung, including epithelial cells in the airways; endothelial cells in the blood vessels; fibroblasts that provide structural integrity and tissue remodeling; and immune cells (lymphoid and myeloid), which identify defense and inflammatory response. Myeloid cells demonstrate the largest difference observed between healthy and infected cell tissue.

Experiments in which mice are exposed to a known pathogen under managed conditions (controlled pathogen exposure), enable researchers to study the development of an infection and the immune system response. By controlling the exact strain of the pathogen, the dosage levels, routes of exposure, timing, host factors, and environment, the team can establish potential cause and effect related to the immune system’s immediate response after infection, which cell populations respond first, how the disease progresses, and what leads to recovery or more severe illness. Another tool, scRNA-seq, measures gene expression in individual cells rather than averaging signals across an entire tissue sample, enabling researchers to identify which cells are inflammatory compared to which cells are behaving normally. In traditional bulk RNA sequencing, RNA extracted from thousands or millions of cells is pooled together before sequencing, obscuring differences among rare or functionally distinct cell populations. In contrast, scRNA-seq preserves cell-specific transcriptional information, enabling researchers to resolve how immune and nonimmune cells respond uniquely to infection and injury. To perform the analysis, lung tissue is first dissociated into a suspension of individual cells. Using a microfluidic droplet platform, single cells are encapsulated together with gel beads carrying unique molecular barcodes. Inside each droplet, messenger RNA released from the lysed (ruptured or broken) lung cell is captured and reverse-transcribed into complementary DNA (cDNA). During this process, each transcript receives both a cell-specific barcode and a unique molecular identifier (UMI), allowing researchers to distinguish where RNA molecules originated while also correcting for amplification bias introduced during polymerase chain reaction (PCR) amplification.

Livermore’s high-performance computing tools enable visualization of pathogens and immune response in tissue cells, as well as patterns of host responses across different disease states. The UMAP plot pictured here shows cell behavior across healthy and diseased conditions (from left to right: viral, bacterial, or fungal infection) in a mouse lung, based on single-cell RNA sequencing data from animal studies. Each dot represents a single cell, colored by its general cell-type identity. Spatial transcriptomic maps can also reveal the cellular neighborhoods that emerge during disease.

After barcoding and amplification, the team breaks the droplets and sequences the pooled cDNA libraries at high depth, generating hundreds of millions to billions of reads per experiment. Using computational pipelines to align the reads to the genome, Livermore’s scientists reconstruct transcriptomes for tens of thousands of individual cells simultaneously. The team uses graph-based clustering and dimensionality-reduction approaches such as uniform manifold approximation and projection (UMAP) to identify distinct cellular populations in infected and noninfected cells and visualize transcriptional relationships across experimental conditions.

A third method the team applies is spatial transcriptomics, which measures gene activity in specific locations in the tissue. Cells do not act in isolation from each other, and in the case of infection, cancer, or tissue repair, location in the tissue is important. For example, a macrophage near a blood vessel could behave differently from one next to a damaged epithelium (densely packed cells that cover external body surfaces such as skin, line internal cavities and organs, and form glands). In infection studies, spatial transcriptomics, a visual representation of the location and clusters of different cell populations, can show where inflammatory cells accumulate, where antiviral or antimicrobial genes are activated, how immune cells organize around lesions and infected areas, how responses differ between damaged tissue and nearby healthy tissue, and how cell neighborhoods change over time. In the lung specifically, spatial transcriptomics can reveal inflammatory cells clustered around infected airways, repair programs in surrounding tissue, and distinguish immune zones in severe compared to mild diseases.

Exploring New Ground

Livermore’s biologists have conducted several individual studies on Valley fever (Coccidioides posadasii), Rift Valley fever virus, Venezuelan equine encephalitis virus, influenza, respiratory syncytial virus, bacterial pneumonia (Streptococcus pneumoniae), and COVID-19. “Our work didn’t start with the intent to generate an immune atlas,” says Sebastian, a Livermore staff scientist. “We were working on individual projects and asking specific questions. However, as we started to generate more data, we began to discuss standardizing the process of how and when we collect data and putting it into one big data set.” The immune atlas combines the data gathered from cells’ immune responses to the different diseases and then uses computational software to build visualization tools that map the varying responses across infected and noninfected cells. 

Using scRNA-seq and spatial transcriptomics, the team sought to answer how the immune system responds inside an infected organ and why that response shifts from protective to damaging. “As we pulled together the data from millions of reads, we saw what cells were doing for tens of thousands of reads compared to other cells,” says Hum. “By putting the pictures together, we can tell the difference between a T cell and a normal epithelial cell, for example. And from this stage, once we have the resolution of what the cells are doing and how many there are, we can start comparing all the different time points, trajectories, and infection models.” Through several studies, the Livermore team found that severe disease is often driven not just by the pathogen itself but by specific immune programs that become harmful. The team’s methods helped identify which cells responded first (such as microglia in the brain and resident lung macrophages and stromal cells in the lungs), which cells entered later, where the cells went in the tissue, and whether they were helping or harming the individual.

To analyze this data and compare results across pathogens and different parts of the tissues being studied, Livermore’s team used a variety of computational tools. In each study, they collected data at multiple infection stages, looking for when changes occurred and when recovery signatures began to appear. Since every experiment was slightly different, the team integrated and visualized the data sets such that they could be superimposed over each other and compared. “As we quantify what cells enter and at what point in time, we can study how their profiles change,” says Sebastian. “For example, in a blood system, monocytes enter and differentiate into multiple subtypes. Some of these are highly correlated with better outcomes, while others are not. We want to identify what’s considered a good response compared to a bad response.” The comparisons indicated that the type of cells entering the lung in response to infection can influence the outcome.

Team members Bria Gorman and Aimy Sebastian examine spatial transcriptomic data from a mouse lung.

A series of computational tools have helped parse and present the data, including both R– and Python-based approaches for scRNA-seq, spatial transcriptomics, and multi-omic integration analyses. For scRNA-seq analyses, the team uses Seurat in R and Scanpy in Python, while spatial transcriptomic analyses are performed using Seurat in R and Squidpy in Python. Additional tools such as Scenic, Slingshot, and CellChat are used to identify gene regulatory patterns, examine changes in cell states and differentiation, and explore how cells may communicate with one another. Graph-based clustering methods were applied to define cellular populations, and UMAP is used for dimensionality reduction and visualization of cellular and molecular patterns across experimental conditions.

While still in the early stages of research, the team is already seeing interesting, sometimes unexpected, results. One macrophage population repeatedly shows up in multiple infection models, particularly lethal infections. These macrophages express many extracellular matrix proteins and matrix-remodeling enzymes that are more commonly associated with cell types such as fibroblasts. “We don’t know exactly what they do yet, but we can clearly see a correlation between some lethal infections and macrophages coming in and moving toward this kind of profile,” says Sebastian.

Charting a New Course

As the Laboratory looks toward future research opportunities, a key focus is to understand what patterns and results in mice can translate to humans. Weilhammer says, “Comparing infections in which the test subjects recover from the disease versus succumb to it is useful. In our mouse models of COVID, we saw young animals recover from infections while aged animals did not. However, that’s not the whole story—we’re also interested in how the genetic background of the host can impact the trajectory of the disease.” In the COVID-19 pandemic, even though younger people suffered less severe illness compared to more elderly people, this outcome was not universally the case—many young people also had severe infections, difficult recoveries, and fatalities. “We think it’s highly likely that there’s a strong genetic component behind why some people do well following infection and others do not,” continues Weilhammer. 

In future studies, the team plans to integrate AI and deep learning models more significantly into their data analysis process and to help better predict an individual’s treatment needs and recovery path. “The basic research is difficult to pursue unless someone has all the experimental and computational capabilities that we have at Lawrence Livermore,” says Hum. “We’re still working toward the point where we can identify which illness someone has and how severe it might be from just a cough or other common symptom.”

[Archived PDF of article]

Science-Watching: Forecasting New Diseases in Low-Data Settings Using Transfer Learning

[from London Mathematical Laboratory]

by Kirstin Roster, Colm Connaughton & Francisco A. Rodrigues

Abstract

Recent infectious disease outbreaks, such as the COVID-19 pandemic and the Zika epidemic in Brazil, have demonstrated both the importance and difficulty of accurately forecasting novel infectious diseases. When new diseases first emerge, we have little knowledge of the transmission process, the level and duration of immunity to reinfection, or other parameters required to build realistic epidemiological models. Time series forecasts and machine learning, while less reliant on assumptions about the disease, require large amounts of data that are also not available in early stages of an outbreak. In this study, we examine how knowledge of related diseases can help make predictions of new diseases in data-scarce environments using transfer learning. We implement both an empirical and a synthetic approach. Using data from Brazil, we compare how well different machine learning models transfer knowledge between two different dataset pairs: case counts of (i) dengue and Zika, and (ii) influenza and COVID-19. In the synthetic analysis, we generate data with an SIR model using different transmission and recovery rates, and then compare the effectiveness of different transfer learning methods. We find that transfer learning offers the potential to improve predictions, even beyond a model based on data from the target disease, though the appropriate source disease must be chosen carefully. While imperfect, these models offer an additional input for decision makers for pandemic response.

Introduction

Epidemic models can be divided into two broad categories: data-driven models aim to fit an epidemic curve to past data in order to make predictions about the future; mechanistic models simulate scenarios based on different underlying assumptions, such as varying contact rates or vaccine effectiveness. Both model types aid in the public health response: forecasts serve as an early warning system of an outbreak in the near future, while mechanistic models help us better understand the causes of spread and potential remedial interventions to prevent further infections. Many different data-driven and mechanistic models were proposed during the early stages of the COVID-19 pandemic and informed decision-making with varying levels of success. This range of predictive performance underscores both the difficulty and importance of epidemic forecasting, especially early in an outbreak. Yet the COVID-19 pandemic also led to unprecedented levels of data-sharing and collaboration across disciplines, so that several novel approaches to epidemic forecasting continue to be explored, including models that incorporate machine learning and real-time big data data streams. In addition to the COVID-19 pandemic, recent infectious disease outbreaks include Zika virus in Brazil in 2015, Ebola virus in West Africa in 2014–16, Middle East respiratory syndrome (MERS) in 2012, and coronavirus associated with severe acute respiratory syndrome (SARS-CoV) in 2003. This trajectory suggests that further improvements to epidemic forecasting will be important for global public health. Exploring the value of new methodologies can help broaden the modeler’s toolkit to prepare for the next outbreak. In this study, we consider the role of transfer learning for pandemic response.

Transfer learning refers to a collection of techniques that apply knowledge from one prediction problem to solve another, often using machine learning and with many recent applications in domains such as computer vision and natural language processing. Transfer learning leverages a model trained to execute a particular task in a particular domain, in order to perform a different task or extrapolate to a different domain. This allows the model to learn the new task with less data than would normally be required, and is therefore well-suited to data-scarce prediction problems. The underlying idea is that skills developed in one task, for example the features that are relevant to recognize human faces in images, may be useful in other situations, such as classification of emotions from facial expressions. Similarly, there may be shared features in the patterns of observed cases among similar diseases.

The value of transfer learning for the study of infectious diseases is relatively under-explored. The majority of existing studies on diseases remain in the domain of computer vision and leverage pre-trained neural networks to make diagnoses from medical images, such as retinal diseases, dental diseases, or COVID-19. Coelho and colleagues (2020) explore the potential of transfer learning for disease forecasts. They train a Long Short-Term Memory (LSTM) neural network on dengue fever time series and make forecasts directly for two other mosquito-borne diseases, Zika and Chikungunya, in two Brazilian cities. Even without any data on the two target diseases, their model achieves high prediction accuracy four weeks ahead. Gautam (2021) uses COVID-19 data from Italy and the USA to build an LSTM transfer model that predicts COVID-19 cases in countries that experienced a later pandemic onset.

These studies provide empirical evidence that transfer learning may be a valuable tool for epidemic forecasting in low-data situations, though research is still limited. In this study, we aim to contribute to this empirical literature not only by comparing different types of knowledge transfer and forecasting algorithms, but also by considering two different pairs of endemic and novel diseases observed in Brazilian cities, specifically (i) dengue and Zika, and (ii) influenza and COVID-19. With an additional analysis on simulated time series, we hope to provide theoretical guidance on the selection of appropriate disease pairs, by better understanding how different characteristics of the source and target diseases affect the viability of transfer learning.

Zika and COVID-19 are two recent examples of novel emerging diseases. Brazil experienced a Zika epidemic in 2015–16 and the WHO declared a public health emergency of global concern in February 2016. Zika is caused by an arbovirus spread primarily by mosquitoes, though other transmission methods, including congenital and sexual have also been observed. Zika belongs to the family of viral hemorrhagic fevers and symptoms of infection share some commonalities with other mosquito-borne arboviruses, such as yellow fever, dengue fever, or chikungunya. Illness tends to be asymptomatic or mild but can lead to complications, including microcephaly and other brain defects in the case of congenital transmission.

Given the similarity of the pathogen and primary transmission route, dengue fever is an appropriate choice of source disease for Zika forecasting. Not only does the shared mosquito vector result in similar seasonal patterns of annual outbreaks, but consistent, geographically and temporally granular data on dengue cases is available publicly via the open data initiative of the Brazilian government.

COVID-19 is an acute respiratory infection caused by the novel coronavirus SARS-CoV-2, which was first detected in Wuhan, China, in 2019. It is transmitted directly between humans via airborne respiratory droplets and particles. Symptoms range from mild to severe and may affect the respiratory tract and central nervous system. Several variants of the virus have emerged, which differ in their severity, transmissibility, and level of immune evasion.

Influenza is also a contagious respiratory disease that is spread primarily via respiratory droplets. Infection with the influenza virus also follows patterns of human contact and seasonality. There are two types of influenza (A and B) and new strains of each type emerge regularly. Given the similarity in transmission routes and to a lesser extent in clinical manifestations, influenza is chosen as the source disease for knowledge transfer to model COVID-19.

For each of these disease pairs, we collect time series data from Brazilian cities. Data on the target disease from half the cities is retained for testing. To ensure comparability, the test set is the same for all models. Using this empirical data, as well as the simulated time series, we implement the following transfer models to make predictions.

  • Random forest: First, we implement a random forest model which was recently found to capture well the time series characteristics of dengue in Brazil. We use this model to make predictions for Zika without re-training. We also train a random forest model on influenza data to make predictions for COVID-19. This is a direct transfer method, where models are trained only on data from the source disease.
  • Random forest with TrAdaBoost: We then incorporate data from the target disease (i.e., Zika and COVID-19) using the TrAdaBoost algorithm together with the random forest model. This is an instance-based transfer learning method, which selects relevant examples from the source disease to improve predictions on the target disease.
  • Neural network: The second machine learning algorithm we deploy is a feed-forward neural network, which is first trained on data of the endemic disease (dengue/influenza) and applied directly to forecast the new disease.
  • Neural network with re-training and fine-tuning: We then retrain only the last layer of the neural network using data from the new disease and make predictions on the test set. Finally, we fine-tune all the layers’ parameters using a small learning rate and low number of epochs. These models are examples of parameter-based transfer methods, since they leverage the weights generated by the source disease model to accelerate and improve learning in the target disease model.
  • Aspirational baseline: We compare these transfer methods to a model trained only on the target disease (Zika/COVID-19) without any data on the source disease. Specifically, we use half the cities in the target dataset for training and the other half for testing. This gives a benchmark of the performance in a large-data scenario, which would occur after a longer period of disease surveillance.

The remainder of this paper is organized as follows. The models are described in more technical detail in Section 2. Section 3 shows the results of the synthetic and empirical predictions. Finally, Section 4 discusses practical implications of the analyses.

Access the full paper [via institutional access or paid download].