Data-driven Discovery of Biophysical T Cell Receptor Co-specificity Rules
Andrew G. T. Pyo, Yuta Nagano, Martina Milighetti, James Henderson, Curtis G. Callan Jr, Benny Chain, Ned S. Wingreen, Andreas Tiffeau-Mayer · 2024
Read Data-driven Discovery of Biophysical T Cell Receptor Co-specificity Rules by Andrew G. T. Pyo, Yuta Nagano, Martina Milighetti, James Henderson, Curtis G. Callan Jr, Benny Chain, Ned S. Wingreen, Andreas Tiffeau-Mayer (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-13722.txt.
Introduction
Andrew Pyo and seven co-authors hunt for rules that say when two T cell receptors will bind the same target, in a 2024 paper. T cells spot threats through these receptors, and each receptor-target pair has its own binding landscape. The sheer range of both sides has blocked general rules.
Their search frame mines rules from data on receptors aimed at virus fragments from SARS-CoV-2. What counts most is how swapped building blocks match in shape and bulk, more than the fat-loving traits that guide evolution swaps. The rules carried over to targets far from the training set, which hints at a shared physics of binding.
Catalog record
| CREATOR | Andrew G. T. Pyo, Yuta Nagano, Martina Milighetti, James Henderson, Curtis G. Callan Jr, Benny Chain, Ned S. Wingreen, Andreas Tiffeau-Mayer |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 54 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-13722
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Data-driven Discovery of Biophysical T Cell Receptor Co-specificity Rules Andrew G. T. Pyo, Yuta Nagano, Martina Milighetti, James Henderson, Curtis G. Callan Jr, Benny Chain, Ned S. Wingreen, Andreas Tiffeau-Mayer Abstract The biophysical interactions between the T cell receptor (TCR) and its ligands determine the specificity of the cellular immune response. However, the immense diversity of receptors and ligands has made it challenging to discover generalizable rules across the distinct binding affinity landscapes created by different ligands. Here, we present an optimization framework for discovering biophysical rules that predict whether TCRs share specificity to a ligand. Applying this framework to TCRs associated with a collection of SARS-CoV-2 peptides we systematically characterize how co-specificity depends on the type and position of amino-acid differences between receptors. We also demonstrate that the inferred rules generalize to ligands highly dissimilar to any seen during training. Our analysis reveals that matching of steric properties between substituted amino acids is more important for receptor co-specificity red than the hydrophobic properties that prominently determine evolutionary substitutability. Our analysis also quantifies the substantial importance of positions not in direct contact with the peptide for specificity. These findings highlight the potential for data-driven approaches to uncover the molecular mechanisms underpinning the specificity of adaptive immune responses. Cellular immunity relies on the specific recognition of target molecules by T cells, mediated by the binding of the T cell receptor (TCR) to specific peptide-major histocompatibility complexes (pMHCs) Davis and Bjorkman 1988 ; Chi et al. 2024 . Given the pivotal role of T cells in the adaptive immune system, an ability to predict the specificity of a TCR in silico from its sequence would have many applications in disease diagnosis, surveillance, and treatment. Recent experimental advances Dash et al. 2017 ; Glanville et al. 2017 ; Dobson et al. 2022 ; Joglekar et al. 2019 ; Sureshchandra et al. 2024 and the creation of databases cataloging known TCR-pMHC pairings Bagaev et al. 2020 ; Tickotsky et al. 2017 ; Vita et al. 2018 ; Nolan et al. 2020 have thus propelled significant research efforts aimed at predicting TCR specificity using machine learning Gielis et al. 2019 ; Lin et al. 2021 ; Fischer et al. 2020 ; Jokinen et al. 2021 ; Croce et al. 2024 ; Wang et al. 2024 ; Meynard-Piganeau et al. 2024 ; Zhang et al. 2024 ; Nagano et al. 2025 . The premise behind using machine learning to predict pairings between the hypervariable receptors and their ligands is that there are learnable, generalizable biophysical rules that govern these interactions Dash et al. 2017 ; Glanville et al. 2017 . While machine learning models are able to accurately identify alternative binders to pMHCs for which good quality high-volume TCR data exists, an ability to generalize to pMHCs unseen during training has yet to be demonstrated in independent benchmarks Nielsen et al. 2024 . In high-dimensional multi-class classification problems a potentially easier path towards generalizable learning begins with learning similarity relationships between class members Bellet et al. 2014 ; Vinyals et al. 2016 . Once a suitable metric or representation tailored to the general nature of the classification problem is learned, it can then be adapted with little training data to new classes. However, to date the most popular sequence similarity metrics for TCRs are heuristic and their parameters have not been learned from TCR sequence data. For instance, TCRdist Dash et al. 2017 scores amino-acid similarity based on the BLOcks SUbstitution Matrix (BLOSUM). This matrix is based on substitution frequencies observed in general protein evolution Henikoff and Henikoff 1992 , and it is unclear how well these describe the impact of amino-acid changes on TCR-pMHC binding. Additionally, existing structures suggest that factors beyond the identity of substituted amino acids, such as the position of the substitution, likely influence the impact of sequence changes Milighetti et al. 2021 . Figure 1: Contrastive learning of rules that generalize across complex receptor-ligand maps. A) Cartoon disordered “landscape” of selection factors Q_{\pi}(\sigma) , which describe the varying binding affinities of TCRs \sigma to ligands \pi . Averaging selection factors over ligands, \langle Q_{\pi}(\sigma)\rangle_{P(\pi)} , will lead to a largely flat marginal distribution (inset), unless we are able to restrict the average to ligands with highly similar TCR landscapes. B) Cartoon “landscape” of co-selection factors Q_{\pi}(\sigma)Q_{\pi}(\sigma^{\prime}) , which relate to the probability with which two TCRs are specific to the same ligand, as a function of TCR similarity d(\sigma,\sigma^{\prime}) . In contrast to the previous scenario, co-selection factors have a non-trivial marginal distribution when averaged across unrelated ligands, \langle Q_{\pi}(\sigma)Q_{\pi}(\sigma^{\prime})\rangle_{P(\pi)} (inset). C) Sketch of the supervised contrastive learning paradigm. Experimentally-determined pairs of TCR sequences binding the same ligand make up the set of co-specific pairs \mathcal{P} , and all pairs of TCR sequences irrespective of specificity make up the set of unlabeled pairs \mathcal{U} . We optimize parameters \theta of a family of distance metrics d_{\theta} which minimize a contrastive loss (Eq. 7 ). The loss function minimizes the average distance between pairs in \mathcal{P} , while pushing apart unlabeled pairs in \mathcal{U} . Optimized parameters \theta^{\star} relate the sequence similarity between a pair of TCRs to the probability with which they share ligand specificity and provide biophysical insights into feature importance. To address these challenges, we propose a pseudo-likelihood maximization approach to learn the biophysical rules that govern TCR co-specificity directly from data. Concretely, our aim is to learn a distance metric d(\sigma,\sigma^{\prime}) that quantifies the probability that two TCRs, \sigma and \sigma^{\prime} , bind to the same ligand (pMHC). To accomplish this, we expand on our ongoing efforts to quantify the statistics of TCR sequence similarity from available TCR-pMHC specificity data Mayer and Callan 2023 ; Tiffeau-Mayer 2024 ; Henderson et al. 2024 by replacing predefined notions of sequence similarity with learnable metrics. To learn this metric we apply contrastive learning – a framework that we and others have previously used to train deep learning models for predicting TCR specificity Drost et al. 2022 ; Pertseva et al. 2024 ; Nagano et al. 2025 ; Zhang et al. 2024 – to optimize sequence alignment weights to predict TCR co-specificity. We reason that the simplicity of these metrics might favor the inference of generalizable rules from limited data, which has remained a challenge in more flexible deep learning models using this supervised contrastive approach Nagano et al. 2025 . Our results show that co-specificity rules inferred from a large-scale dataset on SARS-CoV-2 specific TCRs Nolan et al. 2020 generalize with striking breadth. These rules accurately predict TCR co-specificity even for pMHCs that are highly dissimilar (differing by \geq 6 amino acids) from the nearest peptide in the training set, demonstrating an extrapolation ability that has so far remained out of reach for sequence-based machine learning approaches Nielsen et al. 2024 ; Meynard-Piganeau et al. 2024 . Beyond the empirical findings, we provide a theoretical perspective on how contrastive learning is related to pseudolikelihood methods and intuition for why it might identify reproducible order within disordered receptor-ligand landscapes, where traditional inference methods often falter. Altogether, our findings position contrastive learning as a powerful and broadly applicable strategy for developing statistical theories of complex receptor-ligand maps from limited data. I Two-point statistics