IJCAI 2023poster22 citations

ViT-CX: Causal Explanation of Vision Transformers

Weiyan Xie, Xiao-Hui Li, Caleb Chen Cao, Nevin L. Zhang

Abstract

Despite the popularity of Vision Transformers (ViTs) and eXplainable AI (XAI), only a few explanation methods have been designed specially for ViTs thus far. They mostly use attention weights of the [CLS] token on patch embeddings and often produce unsatisfactory saliency maps. This paper proposes a novel method for explaining ViTs called ViT-CX. It is based on patch embeddings, rather than attentions paid to them, and their causal impacts on the model output. Other characteristics of ViTs such as causal overdetermination are considered in the design of ViT-CX. The empirical results show that ViT-CX produces more meaningful saliency maps and does a better job revealing all important evidence for the predictions than previous methods. The explanation generated by ViT-CX also shows significantly better faithfulness to the model. The codes and appendix are available at https://github.com/vaynexie/CausalX-ViT.

Computer Vision: CV: Interpretability and transparencyAI Ethics, Trust, Fairness: ETF: Explainability and interpretabilityMachine Learning: ML: Explainable/Interpretable machine learning
BibTeX
@inproceedings{ijcai2023p174,
  title     = {ViT-CX: Causal Explanation of Vision Transformers},
  author    = {Xie, Weiyan and Li, Xiao-Hui and Cao, Caleb Chen and Zhang, Nevin L.},
  booktitle = {Proceedings of the Thirty-Second International Joint Conference on
               Artificial Intelligence, {IJCAI-23}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Edith Elkind},
  pages     = {1569--1577},
  year      = {2023},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2023/174},
  url       = {https://doi.org/10.24963/ijcai.2023/174},
}
ViT-CX: Causal Explanation of Vision Transformers · IJCAI 2023