mlsanityData to 14 Oct 2026

Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Binding

arXiv 2507.03197 ↗First posted 3 Jul 2025cs.CE cs.LG q-bio.BMcited by 4

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  6. 2015Learning Deep Features for Discriminative Localizationcited by 2,436
  7. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
  8. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  9. 2020Quantifying Attention Flow in Transformerscited by 775
  10. 2019Attention is not not Explanationcited by 636
  11. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
  12. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
5 more
  1. 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 120
  2. 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
  3. 2024Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformercited by 19
  4. 2021TITAN: T Cell Receptor Specificity Prediction with Bimodal Attention Networkscited by 16
  5. 2025Sequence-Only Prediction of Binding Affinity Changes: A Robust and Interpretable Model for Antibody Engineeringcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.