mlsanityData to 7 Oct 2026

Explainable AI: Context-Aware Layer-Wise Integrated Gradients for Explaining Transformer Models

arXiv 2602.16608 ↗First posted 18 Feb 2026cs.CL cs.AI cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer models achieve state-of-the-art performance across domains and tasks, yet their deeply layered representations make their predictions difficult to interpret. Existing explainability methods rely on final-layer attributions, capture either local token-level attributions or global attention patterns without unification, and lack context-awareness of inter-token dependencies and structural components. They also fail to capture how relevance evolves across layers and how structural components shape decision-making. To address these limitations, we proposed the Context-Aware Layer-wise Integrated Gradients (CA-LIG) Framework, a unified hierarchical attribution framework that computes layer-wise Integrated Gradients within each Transformer block and fuses these token-level attributions with class-specific attention gradients. This integration yields signed, context-sensitive attribution maps that capture supportive and opposing evidence while tracing the hierarchical flow of relevance through the Transformer layers. We evaluate the CA-LIG Framework across diverse tasks, domains, and transformer model families, including sentiment analysis and long and multi-class document classification with BERT, hate speech detection in a low-resource language setting with XLM-R and AfroLM, and image classification with Masked Autoencoder vision Transformer model. Across all tasks and architectures, CA-LIG provides more faithful attributions, shows stronger sensitivity to contextual dependencies, and produces clearer, more semantically coherent visualizations than established explainability methods. These results indicate that CA-LIG provides a more comprehensive, context-aware, and reliable explanation of Transformer decision-making, advancing both the practical interpretability and conceptual understanding of deep neural models.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 59 of its 80 references that are in the map. First posted on arXiv 18 Feb 2026.

Builds on

59 of 80 references.

References · 59

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  5. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  6. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  7. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  8. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  9. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  10. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  11. 2018Deep contextualized word representationscited by 2,285
  12. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
38 more
  1. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  2. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,309
  3. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  4. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  5. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  6. 2019Attention is not Explanationcited by 916
  7. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  8. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  9. 2020Quantifying Attention Flow in Transformerscited by 759
  10. 2019Attention is not not Explanationcited by 629
  11. 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
  12. 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
  13. 2019Is Attention Interpretable?cited by 387
  14. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  15. 2019Revealing the Dark Secrets of BERTcited by 300
  16. 2022From Anecdotal Evidence to Quantitative Evaluation Methods: A Systematic Review on Evaluating Explainable AIcited by 299
  17. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  18. 2019Assessing BERT's Syntactic Abilitiescited by 191
  19. 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
  20. 2019Fine-tune BERT for Extractive Summarizationcited by 122
  21. 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 116
  22. 2020Explaining Explanations: Axiomatic Feature Interactions for Deep Networkscited by 103
  23. 2021Guided Integrated Gradients: An Adaptive Path Method for Removing Noisecited by 102
  24. 2017Explaining Recurrent Neural Network Predictions in Sentiment Analysiscited by 87
  25. 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
  26. 2022Measuring the Mixing of Contextual Information in the Transformercited by 63
  27. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
  28. 2022AfroLM: A Self-Active Learning-based Multilingual Pretrained Language Model for 23 African Languagescited by 46
  29. 2024Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Directioncited by 46
  30. 2024Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semanticscited by 43
  31. 2024IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neuronscited by 36
  32. 2020Interpreting Attention Models with Human Visual Attention in Machine Reading Comprehensioncited by 29
  33. 2021Relative Importance in Sentence Processingcited by 22
  34. 2025Attention Consistency for LLMs Explanationcited by 10
  35. 2024Semantic-Driven Topic Modeling Using Transformer-Based Embeddings and Clustering Algorithmscited by 8
  36. 2024Ethio-Fake: Cutting-Edge Approaches to Combat Fake News in Under-Resourced Languages Using Explainable AIcited by 8
  37. 2025SMART-Vision: Survey of Modern Action Recognition Techniques in Visioncited by 8
  38. 2023First Attempt at Building Parallel Corpora for Machine Translation of Northeast India's Very Low-Resource Languagescited by 7

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.