Contrastive learning of T cell receptor representations
Yuta Nagano1, Andrew G T Pyo2, Martina Milighetti3
1Division of Infection and Immunity, University College London, London WC1E 6BT, UK; Division of Medicine, University College London, London WC1E 6BT, UK.
Abstract:
Computational prediction of the interaction of T cell receptors (TCRs) and their ligands is a grand challenge in immunology. Despite advances in high-throughput assays, specificity-labeled TCR data remain sparse. In other domains, the pre-training of language models on unlabeled data has been successfully used to address data bottlenecks. However, it is unclear how to best pre-train protein language models for TCR specificity prediction. Here, we introduce a TCR language model called SCEPTR (simple contrastive embedding of the primary sequence of T cell receptors), which is capable of data-efficient transfer learning. Through our model, we introduce a pre-training strategy combining autocontrastive learning and masked-language modeling, which enables SCEPTR to achieve its state-of-the-art performance. In contrast, existing protein language models and a variant of SCEPTR pre-trained without autocontrastive learning are outperformed by sequence alignment-based methods. We anticipate that contrastive learning will be a useful paradigm to decode the rules of TCR specificity. A record of this paper's transparent peer review process is included in the supplemental information.
Related Concept Videos
T Cell Activation and Clonal Selection
Naive T cells that have not yet encountered an antigen express two primary CD...
Diversity of Antigen Receptors
Before encountering any antigen, lymphocytes express these receptors. On B cells, the antigen receptor is a membrane-bound antibody molecule called BCR; on T cells, it is a T cell receptor or TCR. B and T cell receptors are composed of two...
T Cell Types and Functions
Th1 cells stimulate dendritic cells to express necessary co-stimulatory molecules on their surfaces for...
Cells of the Adaptive Immune Response
B Cell Activation and Differentiation
When naive B cells encounter a specific antigen that can bind to the B cell receptor (BCR) on their surface, they undergo sensitization to respond to the antigen's presence. Sensitization begins with...
Special Features of Adaptive Immunity
The primary cell types involved in adaptive immunity are T cells and B cells. Each type has a unique role in defending the body against pathogens. T cells are responsible for cell-mediated immunity. They identify and eliminate infected cells directly,...


