Limitations of general protein language models and public TCRpMHC data in training specificity prediction models
Abstract
T cell receptor (TCR) specificity prediction is critical for understanding adaptive immunity and for enabling the development of therapeutic interventions. Current machine learning models for predicting TCR-peptide-MHC interactions perform poorly, despite large efforts by many groups and advances in protein language models. This work identifies and addresses the fundamental issues that might be hindering progress in this field, focusing on current approaches for constructing training and validation sets, particularly on the strategies used by commonly used methods, which generate negative data either by shuffling TCRs between epitopes or by pairing epitopes with TCRs from background datasets of healthy donors. Here, we visualize and quantify the overlap between positive and generated negative TCR sets produced by both strategies using a range of sequence embedding approaches, including simple encodings (one-hot and BLOSUM62), general protein language models (ESM-2 and ProtGPT2), and a TCR-specific embedding model (TCR-BERT). Using paired {beta}TCR data from VDJdb for two well-studied epitopes (GILGFVFTL and KLGGALQAK), we train Random Forest classifiers on each embedding representation and evaluate their ability to distinguish positive from negative data examples. We find that general sequence embedding methods struggle to differentiate between positive and negative TCRs. We further show that the choice of negative data generation method significantly impacts classifier performance. Our findings highlight fundamental limitations in current TCR specificity training data and general protein language models, and underscore the need for TCR-specific embeddings, experimentally validated negative datasets, transparent reporting of negative data construction, and epitope-specific modeling approaches.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
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
- Beyond Better Models: Barriers and a Path Forward in Generalisable TCR Antigen Specificity Prediction
Ilija Ilievski, Agne Antanaviciute, … Hashem Koohy·bioRxiv·Oct 22, 2026
- Predicting specificity of TCR-pMHC interactions using machine learning and biophysical models
Martin Culka, Nicolas Lounsbury, … Mohammed AlQuraishi·Cell SystemsPeer-reviewed·Aug 13, 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
- Performance comparison of TCR-pMHC prediction tools reveals a strong data dependency
Lihua Deng, Cedric Ly, … Stefan Bonn·Frontiers in ImmunologyPeer-reviewed·Apr 18, 2023
- Revealing the hidden sequence distribution of epitope-specific TCR repertoires and its influence on machine learning model performance
Sofie Gielis, Maria Chernigovskaya, … Pieter Meysman·bioRxiv·Oct 21, 2024
- DecoderTCR: Compositional Pretraining and Entropy-Guided Decoding for TCR-pMHC Interactions
Ben Lai, Melissa Englund, … Aly Azeem Khan·bioRxiv·Feb 6, 2026