bioRxivBioinformaticsPreprint
TCRdenoise - an unsupervised similarity-based approach for denoising of TCR-pMHC specificity data
Johanne LundiD, Sebastian Nymann DeleuraniD, Morten NielseniD
Abstract
Public repositories of T cell receptor (TCR)-peptide-MHC (pMHC) interactions constitute a critical resource for studying adaptive immunity and developing predictive models of TCR specificity. However, recent evidence suggests that a substantial fraction of reported TCR-pMHC interactions may be incorrectly annotated, limiting the quality of downstream analyses and machine learning applications. Here, we present an unsupervised sequence similarity-based framework for denoising peptide-specific TCR repertoires. The method combines pairwise TCR similarity metrics derived from TCRbase and TCRdist3 with hierarchical clustering and a novel adaptation of the silhouette score designed to address the prevalence of singleton clusters and highly imbalanced cluster structures. By incorporating a pseudo-cluster containing singleton and background TCRs, and by optimising both clustering distance thresholds and minimum cluster-size criteria, the proposed approach identifies TCRs likely to represent true antigen-specific binders while filtering putative noise. Using experimentally validated repertoires from TCRvdb, we demonstrate that the modified silhouette score closely tracks clustering solutions that maximise separation between binding and non-binding TCRs, achieving strong agreement with independent validation based on the Matthews correlation coefficient. Extension to a large collection of peptide-specific TCR data revealed a strong negative correlation between the percentage of TCRs classified as noise and the predictive performance of peptide-specific binding models. Further, the denoising classification labels on this data set were corroborated using structural modeling confidence scores of the peptide-TCR interface extracted from a refined AlphaFold 3 modeling pipeline. Additionally, retraining NetTCR on denoised data improved internal cross-validated performance compared with models trained on the full data set, whereas models trained exclusively on TCRs classified as noise performed close to random. Together, these results demonstrate that sequence similarity-based denoising can effectively enrich for biologically meaningful TCR-pMHC interactions and improve the quality of training data for predictive immunological models. The proposed framework provides a scalable strategy for improving the reliability of public TCR databases and facilitating the development of more accurate TCR specificity prediction methods.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Exploring noise in TCR specificity data through supervised learning
Sebastian Nymann Deleuran, Yogesh Basavaraju, … Morten Nielsen·bioRxiv·Oct 8, 2026
- Label Noise Limits TCR-pMHC Specificity Prediction: Improved Performance Through AlphaFold3-Based Structural Modeling and Data Denoising
Pilar Ballesteros-Cuartero, Johanne Lund, Morten Nielsen·bioRxiv·Aug 28, 2026
- Data-driven filtering for denoising of TCRpMHC single-cell data: a benchmark
Helle Rus Povlsen, Alessandro Montemurro, … Morten Nielsen·bioRxiv·Feb 1, 2023
- Limitations of general protein language models and public TCRpMHC data in training specificity prediction models
Brajesh Rai, Sarah Hall-Swan·bioRxiv·Sep 25, 2026
- NetTCR 2.2 - Improved TCR specificity predictions by combining pan- and peptide-specific training strategies, loss-scaling and integration of sequence similarity
Mathias Fynbo Jensen, Morten Nielsen·eLifePeer-reviewed·Mar 4, 2024
- DecoderTCR: Compositional Pretraining and Entropy-Guided Decoding for TCR-pMHC Interactions
Ben Lai, Melissa Englund, … Aly Azeem Khan·bioRxiv·Feb 6, 2026