Explainability from Training with Applications to TCR-Epitope Prediction
Jiarui Li, Zixiang Yin, Samuel Landry, Zhengming Ding, Ramgopal Mettu
Key points
From the paper's conclusion- Introduce explainability from training (EFT) to trace model interpretation during training to explain why models rely on specific features and how they organize these features as predictive evidence.
- Apply EFT to four state-of-the-art T cell receptor (TCR)-epitope prediction models and introduce a benchmark, TCR-XAI2, containing experimentally resolved TCR-epitope structures.
- Demonstrate that CNN and transformer models exhibit distinct learning trajectories, TCR α and β evidence can conflict during learning, and real versus predicted structural data exhibits distinct TCR and peptide feature preferences.
Abstract
Deep learning models have achieved strong performance in artificial intelligence for science, yet their black-box nature limits our understanding of how they learn scientific tasks. Existing methods for interpretability provide limited insight into how models organize evidence and evolve during learning. We introduce explainability from training (EFT), a model-agnostic paradigm that traces model interpretation during training to explain why models rely on specific features and how they organize these features as predictive evidence. We apply EFT to four state-of-the-art T cell receptor (TCR)-epitope prediction models, TCR-SRIM, TULIP, MixTCRpred, and NetTCR-2.2, spanning post-hoc and interpret-by-design approaches as well as transformers and CNNs. To investigate how structural information affects model explanations, we introduce a benchmark, TCR-XAI2, containing 388 unique experimentally resolved TCR-epitope structures, complemented by structures predicted using AlphaFold3, Boltz-2, TCRModel2, tFold-TCR, and OpenFold3. Using EFT with TCR-XAI2, we demonstrate that (1) CNN and transformer models exhibit distinct learning trajectories; (2) TCR $α$ and $β$ evidence can conflict during learning, limiting the benefits of jointly modeling both chains, while MHC information mitigates this; and (3) real versus predicted structural data for TCR-epitope prediction exhibits distinct TCR and peptide feature preferences as well as differing trajectories of model certainty.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Introduce explainability from training (EFT) to trace model interpretation during training to explain why models rely on specific features and how they organize these features as predictive evidence.
- Apply EFT to four state-of-the-art T cell receptor (TCR)-epitope prediction models and introduce a benchmark, TCR-XAI2, containing experimentally resolved TCR-epitope structures.
- Demonstrate that CNN and transformer models exhibit distinct learning trajectories, TCR α and β evidence can conflict during learning, and real versus predicted structural data exhibits distinct TCR and peptide feature preferences.
Readers' thoughts
No reader thoughts yet.
Related papers
- BioText-SeqFormer: Integrating biomedical semantic representations and protein sequence embeddings for TCR-peptide interaction prediction.Computational biology and chemistry · 2026
- Deciphering T-cell receptor-antigen recognition through interpretable residue-level interaction modeling.International journal of biological macromolecules · 2026
- OmniTCR: a foundation model unifying T cell receptor recognition prediction and conditional sequence generationbioRxiv · 2026
- HELP-TCR: Harmonized Explainable Language Processing Toolkit for T Cell Antigen Receptor Repertoires.Computational and structural biotechnology journal · 2026
- Epitope-conditioned generation of T-cell receptor β-chain CDR3 candidates using a pre-trained transformer model.Genome biology · 2026
- General prediction of T cell receptor antigen specificity from sequence using AlphaFold 3.Science advances · 2026