Estimating the Causal Effects of T Cell Receptors

Eli N Weinstein, Elizabeth Baker Wood, David BleiOpenReview 2024 · DOI · OpenReview

TL;DR

This paper introduces CAIRE, a novel method to estimate the causal impact of specific T cell receptors (TCRs) on patient outcomes using observational data. By leveraging the natural "experiment" of TCR development, CAIRE can disentangle true causal effects from confounding factors, paving the way for more precise therapeutic design.

What Problem Does This Paper Address?

Understanding how a patient's unique collection of T cell receptors (TCRs) influences their health outcomes is a fundamental question in immunology. While we can observe TCR repertoires and patient outcomes, directly determining which TCRs cause specific outcomes is incredibly challenging. This is because many factors (like a patient's environment, past infections, or genetics) can influence both the TCR repertoire and the disease outcome, creating "unobserved confounders." These confounders can lead to correlations that aren't causal, making it difficult to identify truly beneficial or harmful TCRs. This paper aims to solve this by developing a method to estimate the causal effect of TCRs on patient outcomes, moving beyond simple association.

Methods

The core innovation of CAIRE lies in its use of the pre-selection TCR repertoire as an instrumental variable. This "immature" repertoire, generated through the random V(D)J recombination process before encountering antigens, is largely unaffected by confounders. By analyzing nonproductive TCRs (which are non-functional and thus not subject to selection), CAIRE can estimate this pre-selection repertoire.

CAIRE then employs a hierarchical causal model and do-calculus to formally derive an identification strategy. This strategy allows them to estimate the causal effect of interventions, such as adding a specific TCR to a patient's repertoire. For practical implementation, they develop a scalable neural-network estimator. This involves:

  • Estimating repertoire distributions: Using empirical distributions for mature TCRs and a biophysical model for pre-selection TCRs.
  • Estimating relative fitness: Using a classifier trained to distinguish between pre-selection and mature TCRs, which indirectly captures the selective pressures.
  • Modeling the outcome: Using a neural network that incorporates both the estimated TCR effects and confounder information.
  • Propensity score correction: To improve efficiency and robustness by accounting for the relationship between confounders and treatment.

Datasets

  • Semisynthetic data: Used for evaluating CAIRE's performance in controlled settings. This data was generated by injecting "motifs" (short TCR subsequences) into real TCR repertoire data, with some motifs designed to be causal and others confounded.
  • Real COVID-19 data: A dataset of 507 COVID-19 patients with TCR sequencing and clinical outcome data (severity: mild, moderate, severe). This data was used to estimate the effects of TCRs on COVID-19 severity.
  • MIRA binding assay data: Data on TCRs that bind to specific SARS-CoV-2 antigens, used to compare CAIRE's causal effect estimates with in vitro binding measurements.

Key Insights and Ideas

  • Pre-selection repertoire as a natural experiment: The V(D)J recombination process provides a crucial source of randomization, allowing for causal inference even with unobserved confounders.
  • Nonproductive TCRs as a window into the past: These "junk" sequences, often discarded, are invaluable for reconstructing the pre-selection repertoire.
  • Causal effects are distinct from binding affinity: While binding is important, it doesn't perfectly predict a TCR's actual impact on patient outcomes. CAIRE can uncover TCRs with strong positive effects that might not be obvious from binding data alone.
  • Confounding is significant in immune repertoire studies: The human immune system's adaptive nature means past exposures heavily influence current repertoires and outcomes, making unobserved confounders a major challenge.
  • TCRs can have negative effects: Some TCRs, even those that bind viral antigens, can contribute to worse outcomes by driving overactive immune responses.

Key Results

  • CAIRE outperforms existing methods: On semisynthetic data, CAIRE demonstrated significantly better causal effect estimation compared to methods that ignore confounding or rely solely on classification. For example, CAIRE achieved a PR-AUC of 0.86 ± 0.04, while an uncorrected method achieved 0.56 ± 0.02.
  • COVID-19 severity analysis: CAIRE identified 170,000 TCR sequences with significant effects on COVID-19 severity. Crucially, it found that 70% of TCRs predicted to have a significant effect by an uncorrected method actually had negative effects, whereas CAIRE correctly identified only 10% as negative.
  • Therapeutic candidates identified: CAIRE identified 17 candidate TCR sequences with strong positive effects on COVID-19 outcomes that are also observed in patients and have in vitro binding evidence.
  • Binding prediction: CAIRE's effect estimates showed moderate predictive power for in vitro TCR binding (ROC AUC of 0.563 ± 0.003 for class I MHC binders).
  • Antigenic history correction: CAIRE's ability to account for confounding significantly improved the accuracy of effect estimates compared to uncorrected methods.

Limitations and Future Work

  • Assumptions about V(D)J recombination: CAIRE assumes V(D)J recombination is unaffected by confounders, though the authors acknowledge the possibility of hidden confounding due to poorly understood biological mechanisms.
  • Model of selection: The model primarily accounts for selection, potentially overlooking other processes like genetic drift.
  • Stability of nonproductive TCRs: The method assumes nonproductive TCRs reliably reflect past immature T cells.
  • Dependence on upstream tools: CAIRE's performance relies on the accuracy of TCR sequence reconstruction.
  • Future work: The authors suggest extending CAIRE to estimate conditional treatment effects (e.g., considering HLA type), applying it to B cell receptors, and exploring more complex models that account for somatic hypermutation in B cell receptors. They also highlight the potential for developing therapies that deplete pathogenic TCRs.

Summary updated

BibTeX
@misc{weinstein2024estimating,
  author = {Eli N Weinstein and Elizabeth Baker Wood and David Blei},
  title = {{Estimating the Causal Effects of T Cell Receptors}},
  year = {2024},
  eprint = {2410.14127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.14127},
}
Figure