bioRxiv · 10.1101/2025.10.22.683939
REPTRA: Mapping Immune T Cell Receptor Activity from Full Sequences with a Debiased Contrastive Loss
Abstract
Contrastive learning is amenable to representing the vast space of interaction between highly specific T cell receptors (TCRs) and the epitopes to which they bind, potentially enabling diverse applications in immune engineering. However, progress in mapping TCR-epitope recognition has been limited by skewed datasets and training approaches that may exacerbate biases and obfuscate model performance. Furthermore, most TCR-epitope models represent only one of three complementaritydetermining regions (CDRs) of the TCR, potentially limiting performance. Here, we present a CLIP-style contrastive-learning model for representation of epitopes and T cell receptor activity (REPTRA), incorporating full TCR sequences and trained using a debiased InfoNCE loss. We trained this model on a dataset with over fivefold more epitope diversity than previous reports, collected using the DECODE platform (Repertoire Immune Medicines). We demonstrate resulting improvements in model performance, and ablate the modified loss and TCR representation to demonstrate the contributions of this approach. Furthermore, we apply an interpretability analysis to the REPTRA attention-pooling projection heads to reveal that CDR1 and CDR2, in addition to CDR3, are important for learning TCR-epitope recognition. In doing so, we develop a performant model for contrastive mapping of T cell receptor activity.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Abel, J., Vijaykumar, B., Patel, N., Coyle, A. J., Benoist, C., Pregibon, D. C.. 2025-10-23. REPTRA: Mapping Immune T Cell Receptor Activity from Full Sequences with a Debiased Contrastive Loss. https://doi.org/10.1101/2025.10.22.683939
Cite the original work for its findings. Save a collection to share your selection of sources.