Predicting T Cell Receptor Functionality against Mutant Epitopes

Emilio Dorigatti, Felix Drost, Adrian Straub, Philipp Hilgendorf, K Wagner, Bernd Bischl, Dirk H. Busch, Kilian Schober, Benjamin SchubertbioRxiv 2023

Abstract

Cancer cells or pathogens can escape recognition by T cell receptors (TCRs) through mutations of immunogenic epitopes. TCR cross-reactivity, i.e., recognition of multiple epitopes with sequence similarities, can be a factor to counteract such mutational escape. However, cross-reactivity of cell-based immunotherapies may also cause severe side effects when self-antigens are targeted. Therefore, the ability to predict the effect of mutations in the epitope sequence on T cell functionality in silico would greatly benefit the safety and effectiveness of newly-developed immunotherapies and vaccines. We here present “Predicting T cell Epitope-specific Activation against Mutant versions” (P-TEAM), a Random Forest-based model which predicts the effect of point mutations of an epitope on T cell functionality. We first trained and tested P-TEAM on a comprehensive dataset of 36 unique murine TCRs in response to systematic single-amino acid mutations of their target epitope (representing 5.472 unique TCR-epitope interactions). The model was able to classify T cell reactivities, corresponding to in vivo recruitment of T cells, and quantitatively predict T cell functionalities for unobserved single-point mutated altered peptide ligands (APLs), or even unseen TCRs, with consistently high performance. Further, we present an active learning framework to guide experimental design for assessing TCR functionality against novel epitopes, minimizing primary data acquisition costs. Finally, we applied P-TEAM to a novel dataset of 7 human TCRs reactive to the tumor neoantigen VPSVWRSSL. We observed a similarly robust performance for these human TCRs as for the murine TCRs recognizing SIINFEKL, thus providing evidence that our approach is applicable to therapeutically relevant TCRs as well as across species. Overall, P-TEAM provides an effective computational tool to study T cell responses against mutated epitopes.

Introduction

T cells serve as the primary effectors of the adaptive immune system, utilizing T Cell Receptors (TCRs) to recognize specific protein fragments, or epitopes, presented on the surface of infected or malignant cells. However, pathogens and tumors are dynamic targets; they frequently employ mutational escape to evade detection. While databases of TCR-epitope interactions exist, they are often sparse and lack "deep mutational scans" that test every possible single-point mutation. Furthermore, most existing computational models simplify these interactions into binary "bind vs. no-bind" outcomes. In reality, T cell activation exists on a continuous spectrum, where subtle mutations can weaken responses or trigger dangerous cross-reactivity against healthy tissues. To address these challenges, we developed P-TEAM to predict nuanced, continuous activation scores in silico, potentially reducing the reliance on exhaustive and costly laboratory testing.

Methods

The P-TEAM (Predicting T cell Epitope-specific Activation against Mutant versions) framework utilizes a Random Forest architecture to model TCR-epitope interactions.

Overview of the P-TEAM experimental and computational pipeline, including TCR sequencing, APL stimulation, and the machine learning workflow.

Feature Engineering and Model Architecture

Rather than relying on raw amino acid sequences, P-TEAM represents each amino acid using Atchley Factors—five numerical scores that capture essential physicochemical properties: polarity, molecular size, electrostatic charge, secondary structure, and codon diversity. The model is designed for dual tasks: classification (predicting if a T cell will be recruited in vivo) and regression (predicting a specific, continuous activation score).

Validation and Active Learning

Model robustness was assessed using rigorous "leave-one-out" strategies, testing performance on unseen mutations and entirely unseen TCRs. To optimize experimental efficiency, we implemented an active learning framework. This iterative process allows the model to identify specific experimental data points that would most significantly improve its predictive accuracy, thereby minimizing the volume of primary data required from the laboratory.

Results

High Performance and Generalization

P-TEAM demonstrated high accuracy across multiple datasets. On the "educated" mouse repertoire (TCRs previously exposed to the antigen), the model achieved a mean AUC of 89.2% for classification. Notably, when predicting for entirely unseen TCRs, the model maintained an average AUC of 0.905, indicating strong generalization capabilities. P-TEAM significantly outperformed existing deep-learning predictors such as ImRex and ERGO-II, which struggled with this specific mutational dataset.

Comprehensive performance metrics including ROC curves (d), positional sensitivity analysis (c), and the impact of training data volume on model performance (f).

Positional Sensitivity and Structural Insights

Analysis of the SIINFEKL epitope revealed that mutations at positions P4 and P6 were most detrimental to T cell recognition, while positions P2, P5, and P8 were more robust. Structural modeling confirmed that these sensitive positions correspond to amino acids that physically protrude toward the TCR, making them critical for binding and activation.

Resource Optimization via Active Learning

The active learning results highlighted a significant opportunity for resource reduction. The model demonstrated that testing only 24 strategically selected APLs (approximately 15.8% of the total 152 mutations) was sufficient to reach a high performance threshold. This suggests that P-TEAM can guide experimental design to save up to 85% of laboratory resources.

Cross-Species Validation

To ensure therapeutic relevance, P-TEAM was applied to a human dataset involving TCRs reactive to the tumor neoantigen VPSVWRSSL. The model achieved an average AUC of 89.0%, mirroring the success seen in murine models and proving its utility for human cancer immunotherapy development.

Discussion and Future Work

While P-TEAM shows robust performance, its accuracy can diminish when a test TCR is genetically or structurally distant from the training data, particularly within highly diverse "naïve" repertoires. Future iterations of the model may benefit from incorporating V(D)J-gene types and pretrained TCR embeddings (such as TCRbert) to improve generalization across dissimilar receptors. Additionally, as more TCR-pMHC structures are solved via tools like AlphaFold2, integrating these structural templates could lead to even more holistic and accurate binding models. Overall, P-TEAM represents a significant step forward in the computational prediction of T cell responses against mutated epitopes.

Summary updated

BibTeX
@misc{dorigatti2023predicting,
  author = {Emilio Dorigatti and Felix Drost and Adrian Straub and Philipp Hilgendorf and K Wagner and Bernd Bischl and Dirk H. Busch and Kilian Schober and Benjamin Schubert},
  title = {{Predicting T Cell Receptor Functionality against Mutant Epitopes}},
  year = {2023},
  doi = {10.1101/2023.05.10.540189},
  howpublished = {bioRxiv},
}
Figure