A transfer-learning approach to predict antigen immunogenicity and T-cell receptor specificity

Barbara Bravi, Andrea Di Gioacchino, Jorge FdCD, Aleksandra M Walczak, Thierry Mora, Simona Cocco, Remi Monasson

TL;DR

This paper introduces diffRBM, a novel transfer learning approach using Restricted Boltzmann Machines to predict antigen immunogenicity and T-cell receptor (TCR) specificity from sequence data. By disentangling general sequence patterns from those specific to immunogenicity or TCR binding, diffRBM achieves competitive performance and offers interpretable insights into molecular interactions, crucial for vaccine design and personalized therapies.

What Problem Does This Paper Address?

The immune system's ability to recognize and respond to foreign invaders or cancerous cells hinges on two critical interactions: how likely an antigen is to trigger an immune response (immunogenicity) and how specifically a T-cell receptor (TCR) can bind to a presented antigen fragment (TCR specificity). Accurately predicting these properties is vital for developing effective vaccines, designing targeted cancer immunotherapies, and understanding individual immune histories. However, existing computational models often struggle with limited datasets, struggle to disentangle general sequence constraints from specific immune-related features, and lack interpretability. This paper aims to bridge this gap by developing a robust and interpretable method for predicting both antigen immunogenicity and TCR specificity directly from sequence data.

Methods

The core innovation is diffRBM, a "differential" Restricted Boltzmann Machine (RBM) architecture. It leverages a transfer learning approach:

  1. Background RBM: A standard RBM is trained on a large dataset of "background" sequences (e.g., all presented antigens for a given HLA type, or a generic TCR repertoire). This model learns general sequence constraints related to stability and presentation.
  2. Differential RBM Units: Additional "differential" hidden units are then trained on a smaller, "selected" dataset (e.g., immunogenic antigens, or antigen-specific TCRs). These units are designed to capture the distinctive patterns that confer immunogenicity or specificity, effectively learning the difference between the selected and background data.

This "differential" approach allows diffRBM to focus on the specific features driving immunogenicity or TCR binding, rather than being confounded by general sequence properties. The learned parameters of the differential units can also be used to infer biologically interpretable features, such as predicted contact sites in the antigen-TCR complex.

Datasets

The study utilized several publicly available datasets:

  • Immunogenicity Model:
    • Immune Epitope Database (IEDB): Curated sets of immunogenic and non-immunogenic peptides presented by specific HLA-I alleles (HLA-A*02:01, HLA-B*07:02, HLA-B*35:01).
  • Protein Data Bank (PDB): TCR-pMHC structures were used to validate contact predictions.
  • NetMHCpan4.1: Used for predicting HLA binding affinities.
  • T-cell Specificity Model:
    • VDJdb database: Datasets of TCR beta (TCRβ) sequences experimentally validated to be specific to four epitopes: GILGFVFTL (Influenza), NLVPMVATV (CMV), GLCTLVAML (EBV), and YLQPRTFLL (SARS-CoV-2).
  • Universal TCR repertoire datasets: From Isacchini et al., 2021 (based on Emerson et al., 2017) and Britanova et al., 2016, used as background TCR repertoires.
  • TCR-pMHC structures: From PDB, used to validate CDR3β contact predictions.

Key Insights and Ideas

  • Disentangling Signal from Noise: The core idea of diffRBM is to separate general sequence properties (learned by the background RBM) from specific immune-relevant features (learned by the differential units). This is crucial for improving prediction accuracy and interpretability.
  • Interpretability via Single-Site Factors: The learned parameters of the differential units can be translated into "single-site factors" that quantify the contribution of individual amino acids at specific positions to immunogenicity or TCR binding. This provides mechanistic insights into molecular recognition.
  • HLA-Specific Models are Crucial: For immunogenicity, the authors found that HLA-specific models perform better, as amino acid enrichment patterns differ across HLA alleles. This addresses a limitation of pan-HLA predictors.
  • Transfer Learning for Data Scarcity: diffRBM is particularly effective when training data is limited, as the background model leverages large, readily available datasets.
  • Predicting Molecular Interactions: The single-site factors can predict contact sites within the peptide-TCR complex, offering a structural interpretation of sequence-based predictions.

Key Results

  • Immunogenicity Prediction: diffRBM achieved competitive performance in discriminating immunogenic from non-immunogenic peptides, with AUCs comparable to or exceeding supervised classifiers, despite being trained in a semi-supervised manner. For HLA-A*02:01, the diffRBM units' score achieved an AUC of 0.66, outperforming existing methods like IEDB and PRIME.
  • TCR Specificity Prediction: diffRBM demonstrated state-of-the-art performance in discriminating antigen-specific TCRs from generic ones, achieving AUCs comparable to or better than methods like TCRex and NetTCR-2.0. For the Influenza epitope GILGFVFTL, diffRBM achieved an average AUC of 0.82.
  • Contact Site Prediction: The single-site factors derived from diffRBM successfully predicted peptide-TCR and CDR3β-peptide contact positions, outperforming predictions based solely on amino acid frequency ratios.
  • Mutation Cost Prediction: diffRBM could predict the impact of mutations on TCR reactivity, aligning with experimental data.

Limitations and Future Work

  • Data Availability: While diffRBM is designed for data-limited scenarios, performance is still influenced by the quality and quantity of available data, particularly for specific HLA alleles or TCR repertoires.
  • Generalizability: The authors note that adapting diffRBM for cancer neoantigens might require re-training on neoantigen-specific datasets, as pathogenic and cancer-related immunogenicity features can differ.
  • Beyond Sequence: Future work could incorporate structural information and binding energy estimates to further improve TCR-PMHC complex modeling.
  • TCR α-chain and Pairs: The model could be extended to include TCR alpha (TCRα) chains and pairs of TCRα and TCRβ chains, which are known to play synergistic roles.
  • Broader Applications: The diffRBM framework is generalizable and could be applied to other biological sequence analysis problems, such as directed evolution or SELEX experiments.

Summary updated

BibTeX
@inproceedings{bravi2023transfer,
  author = {Barbara Bravi and Andrea Di Gioacchino and Jorge FdCD and Aleksandra M Walczak and Thierry Mora and Simona Cocco and Remi Monasson},
  title = {{A transfer-learning approach to predict antigen immunogenicity and T-cell receptor specificity}},
  booktitle = {eLife},
  year = {2023},
  url = {https://openreview.net/forum?id=uZn6l7BgK3},
}
Figure