TCR2vec: a deep representation learning framework of T-cell receptor sequence and function
Jiang, Y.; Huo, M.; Zhang, P.; Zou, Y.; Li, S.
Show abstract
The T-cell receptor (TCR) repertoires are critical components of the adaptive immune system, and machine learning methods were proposed to analyze the TCR repertoire data. However, most methods work solely on the hypervariable CDR3 regions of TCRs, overlooking the information encoded in other domains. Representing full TCRs as informative vectors can be indispensable for developing reliable and effective machine learning models. We introduce TCR2vec, a deep representation learning framework with 12 layers of transformer blocks, to pave the way for downstream modelings of full TCRs. Together with masked language modeling (MLM), we propose a novel pretraining task named similarity preservation modeling (SPM) to capture the sequence similarities of TCRs. Through a multi-task pretraining procedure on MLM and SPM, TCR2vec learns a contextual understanding of TCRs within a similarity-preserved vector space. We first verify the effectiveness of TCR2vec in predicting TCRs binding specificity and TCR clustering through comparison with three other embedding approaches. TCR2vec can be finetuned on small task-specific labeled data for enhanced performance, which outperforms state-of-the-art models by 2-25% in predicting TCRs binding specificity. Next, we compare the performance of two versions of TCR2vec pretrained on full TCRs (TCR2vec) or CDR3s (CDR3vec) and demonstrate that TCR2vec consistently outperforms CDR3vec by 12-14%. Further analysis of attention maps reveals that residues outside CDR3 also make notable contributions to the recognition of antigens. TCR2vec is available at https://github.com/jiangdada1221/TCR2vec.
Matching journals
The top 4 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- TEINet: a deep learning framework for prediction of TCR-epitope binding specificity 97%
- Attention-aware contrastive learning for predicting T cell receptor-antigen binding specificity 95%
- Scalable embedding fusion with protein language models: insights from benchmarking text-integrated representations 95%
Similar papers in this journal
- Accelerating protein engineering with fitness landscape modeling and reinforcement learning 95%
- Generalized Biological Foundation Model with Unified Nucleic Acid and Protein Language 94%
- Inferring spatial single-cell-level interactions through interpreting cell state and niche correlations learned by self-supervised graph transformer 94%
Similar papers in this journal
Similar papers in this journal
- Designing meaningful continuous representations of T cell receptor sequences with deep generative models 96%
- CellFM: a large-scale foundation model pre-trained on transcriptomics of 100 million human cells 96%
- scGCN: a Graph Convolutional Networks Algorithm for Knowledge Transfer in Single Cell Omics 94%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.