tcrLM: a lightweight protein language model for predicting T cell receptor and epitope binding specificity
Xing Fang, Chenpeng Yu, Shiye Tian, Hui Liu
TL;DR
This work tackles the challenge of predicting TCR-antigen bindings amid vast TCR diversity by introducing tcrLM, a lightweight BERT-based masked language model trained on $113{,}888{,}692$ TCR CDR3 sequences with random masking and virtual adversarial training. The pretraining yields rich TCR representations that, when combined with antigen embeddings, enable accurate pTCR binding prediction and robust generalization across independent, external, and COVID-19 test sets, outperforming state-of-the-art methods and larger protein language models. Notably, predicted pTCR scores correlate with immunotherapy outcomes in a melanoma cohort, suggesting clinical utility for predicting treatment responses and informing personalized immunotherapy. The study highlights the potential of targeted, data-efficient language-model pretraining on domain-specific repertoires to improve immunotherapy design and vaccine strategies.
Abstract
The anti-cancer immune response relies on the bindings between T-cell receptors (TCRs) and antigens, which elicits adaptive immunity to eliminate tumor cells. This ability of the immune system to respond to novel various neoantigens arises from the immense diversity of TCR repository. However, TCR diversity poses a significant challenge on accurately predicting antigen-TCR bindings. In this study, we introduce a lightweight masked language model, termed tcrLM, to address this challenge. Our approach involves randomly masking segments of TCR sequences and training tcrLM to infer the masked segments, thereby enabling the extraction of expressive features from TCR sequences. To further enhance robustness, we incorporate virtual adversarial training into tcrLM. We construct the largest TCR CDR3 sequence set with more than 100 million distinct sequences, and pretrain tcrLM on these sequences. The pre-trained encoder is subsequently applied to predict TCR-antigen binding specificity. We evaluate model performance on three test datasets: independent, external, and COVID-19 test set. The results demonstrate that tcrLM not only surpasses existing TCR-antigen binding prediction methods, but also outperforms other mainstream protein language models. More interestingly, tcrLM effectively captures the biochemical properties and positional preference of amino acids within TCR sequences. Additionally, the predicted TCR-neoantigen binding scores indicates the immunotherapy responses and clinical outcomes in a melanoma cohort. These findings demonstrate the potential of tcrLM in predicting TCR-antigen binding specificity, with significant implications for advancing immunotherapy and personalized medicine.
