Keeping Parts Honest: Isolated Part Graphs for Faithful Vision Transformer Explanations
Abstract
Part and prototype-based explanations for Vision Transformers (ViTs) present a decision as evidence from individual image regions. However, self-attention mixes information across patches, so part-level features absorb context from the whole image and consequently fail to faithfully reflect the decision. We show that existing interpretable ViT classifiers depend heavily on this leakage: when each explained region is encoded in isolation, their accuracy collapses, and retraining them under isolation recovers only part of the lost accuracy. We propose a classifier that represents each image as a graph of isolated parts. Each part is encoded only from its own patches by a ViT whose last blocks are fine-tuned under isolation, preventing evidence leakage from elsewhere in the image. Parts are discovered without annotation and refined hierarchically through their sub-parts, making them more consistent and stable across images than those of competing methods. Each edge is computed from part pairs, and recovers evidence that attention previously shared across the object without affecting the parts. Matching the image graph to a learned prototype graph per class makes the prediction a direct combination of node and edge similarities, each computed only from the patches it is credited to, so every explanation is faithful by construction. Across 11 fine-grained and general-object benchmarks, our method exceeds the accuracy of existing explainable methods that rely on leakage, while providing explanations that reflect what the model actually uses.
Create a lesson
Metadata
- Comments
- 12 pages, 6 figures, 6 tables. Supplementary material will be added in a later version
Related papers
DetectViT: Test-time Backdoor Detection for Vision Transformers via Inter-Head Attention Discrepancy
Shared title terminologycs.CVSiquan Huang, Yijiang Li, Xingfu Yan et al.
PROPS: Can Visual Generators Keep the Current Look of a Prop?
Shared title terminologycs.CVXiangzhao Hao, Dianyi Wang, Keyan Zhou et al.
Neutron Imaging Enhancement for Lithium Batteries Based on Swin-Transformer and Image Fusion
Shared title terminologycs.CVHansheng Ding, Fanxu Meng, Tian Zhang
A colour-marker tracker for pose estimation of slender surgical instruments: vision-language-model-guided adaptive colour calibration
Shared title terminologycs.CVJaesung Hong, Dong Won Lee
Polytropos: What Do Vision-Language Model Descriptions Make of a Cultural Object?
Shared title terminologycs.CVYuechen Jiang, Enze Zhang, Yuyan Wang et al.
PartPO: Part-Level Policy Optimization for Shape-to-Program Generation
Shared title terminologycs.CVHannuo Zhang, Zhixiang Chi, Xuanchen Li et al.