Manuscript Offprint

arXiv:2610.12703

Bridging Human and Model Attention: Explainability Analysis of CNN, Mamba, and ViT Architectures with Gaze-Based Validation

Marco Stefani, Edoardo Parpaiola, Matteo Bino, Gianluca Caregnato, Francesco Roncolato, Daniel Fusaro, Loris Nanni, Alberto Pretto

ARTICLE INFO

Keywords:

Explainable AI (XAI)

Saliency maps

Convolutional Neural Networks

Vision Transformers

Vision Mamba

ABSTRACT

The use of deep learning in high-risk application domains, under regulatory frameworks such as the EU AI Act, requires a precise characterization of the model's decision-making mechanisms. The existing literature provides limited quantitative and qualitative comparisons of explainability across widely adopted deep learning architectures. We conduct a systematic evaluation of explainability in three representative model families: Convolutional Neural Networks (CNNs), Vision Transformers (ViTs), and Vision Mamba (ViM) state-space models. Unlike existing studies, which are predominantly based on qualitative evaluations, we quantify the alignment between the model's attention and human visual perception using eye-tracking data treated as ground truth. We formalize this comparison by applying a standardized normalization pipeline that converts both post-hoc attribution maps and human eye-tracking heatmaps into valid spatial probability distributions. We then evaluate their alignment using a similarity metric whose range, optimal bounds, and invariance properties are rigorously characterized. We evaluate the models in three different domains: fine-grained classification (CUB-200-2011), medical imaging (MIMIC-CXR), and emotion recognition (KDEF). Using architecture-specific explainability (XAI) methods, including GradCAM, ScoreCAM, and AblationCAM for CNNs, ViTLRP for ViT, and MambaLRP for ViM, we measure the fidelity of model saliency maps to human gaze using Jensen-Shannon similarity, Chi-square similarity, and Pearson correlation, three estimators that we show to be sensitive to complementary aspects of a saliency map, namely support overlap, mass discrepancy, and structural co-variation. Our results reveal distinct attention dynamics: CNNs tend to exhibit a more global focus, with spatially more diffuse saliency maps that correlate well with human perception in general contexts, while ViTs demonstrate fine-grained, patch-level attention, often focused on discriminative microfeatures. The Mamba architecture shows biased behavior: it achieves strong explainability in medical tasks but exhibits divergent intensity distributions in natural images; our analytical characterization of the metrics makes this dissociation explicit, since near-unit support overlap is attained simultaneously with a vanishing linear correlation. We further analyze the effect of backbone freezing and ensemble strategies on model interpretability. The results highlight how architectural and training choices influence the alignment between model saliency and human visual attention.

References (64)