Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Binding
Not on the map. Why?
Abstract (arXiv)
CD8+ "killer" T cells and CD4+ "helper" T cells play a central role in the adaptive immune system by recognizing antigens presented by Major Histocompatibility Complex (pMHC) molecules via T Cell Receptors (TCRs). Modeling binding between T cells and the pMHC complex is fundamental to understanding basic mechanisms of human immune response as well as in developing therapies. While transformer-based models such as TULIP have achieved impressive performance in this domain, their black-box nature precludes interpretability and thus limits a deeper mechanistic understanding of T cell response. Most existing post-hoc explainable AI (XAI) methods are confined to encoder-only, co-attention, or model-specific architectures and cannot handle encoder-decoder transformers used in TCR-pMHC modeling. To address this gap, we propose Quantifying Cross-Attention Interaction (QCAI), a new post-hoc method designed to interpret the cross-attention mechanisms in transformer decoders. Quantitative evaluation is a challenge for XAI methods; we have compiled TCR-XAI, a benchmark consisting of 274 experimentally determined TCR-pMHC structures to serve as ground truth for binding. Using these structures we compute physical distances between relevant amino acid residues in the TCR-pMHC interaction region and evaluate how well our method and others estimate the importance of residues in this region across the dataset. We show that QCAI achieves state-of-the-art performance on both interpretability and prediction accuracy under the TCR-XAI benchmark.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 17 of its 82 references that are in the map. First posted on arXiv 3 Jul 2025.
Builds on
17 of 82 references.
References · 17
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2019Attention is not not Explanationcited by 636
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
5 more
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 120
- 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
- 2024Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformercited by 19
- 2021TITAN: T Cell Receptor Specificity Prediction with Bimodal Attention Networkscited by 16
- 2025Sequence-Only Prediction of Binding Affinity Changes: A Robust and Interpretable Model for Antibody Engineeringcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025TCR-EML: Explainable Model Layers for TCR-pMHC Predictioncited by 2
- 2026Structure-Regularized Interpretable TCR-Epitope Predictioncited by 1
- 2026Why Does It Look There? Structured Explanations for Image Classificationcited by 0
- 2026Explainability from Training with Applications to TCR-Epitope Predictioncited by 0
- 2026Explainability from Training with Applications to TCR-Epitope Prediction28 Sep 2026
- 2026Structure-Regularized Interpretable TCR-Epitope Prediction29 Jun 2026
- 2026Why Does It Look There? Structured Explanations for Image Classification10 Mar 2026
- 2025TCR-EML: Explainable Model Layers for TCR-pMHC Prediction5 Oct 2025