Dilated Convolution with Learnable Spacings makes visual models more aligned with humans: a Grad-CAM study
Rabih Chamas, Ismail Khalfaoui-Hassani, Timothee Masquelier
TL;DR
The paper tackles the interpretability gap in visual models by integrating Dilated Convolution with Learnable Spacings (DCLS), which enlarges receptive fields without adding parameters. It evaluates interpretability through Spearman correlations between model heatmaps (Grad-CAM and the proposed Threshold-Grad-CAM) and human attention heatmaps from the ClickMe dataset across eight architectures with drop-in DCLS replacements. The study finds that DCLS generally improves interpretability, with Threshold-Grad-CAM significantly boosting explanations for architectures where Grad-CAM produced unreliable heatmaps; FastViT variants show mixed results. The work provides code and checkpoints, arguing that human-aligned visual strategies can be enhanced via learnable spacings, potentially improving trust and robustness in CV systems.
Abstract
Dilated Convolution with Learnable Spacing (DCLS) is a recent advanced convolution method that allows enlarging the receptive fields (RF) without increasing the number of parameters, like the dilated convolution, yet without imposing a regular grid. DCLS has been shown to outperform the standard and dilated convolutions on several computer vision benchmarks. Here, we show that, in addition, DCLS increases the models' interpretability, defined as the alignment with human visual strategies. To quantify it, we use the Spearman correlation between the models' GradCAM heatmaps and the ClickMe dataset heatmaps, which reflect human visual attention. We took eight reference models - ResNet50, ConvNeXt (T, S and B), CAFormer, ConvFormer, and FastViT (sa 24 and 36) - and drop-in replaced the standard convolution layers with DCLS ones. This improved the interpretability score in seven of them. Moreover, we observed that Grad-CAM generated random heatmaps for two models in our study: CAFormer and ConvFormer models, leading to low interpretability scores. We addressed this issue by introducing Threshold-Grad-CAM, a modification built on top of Grad-CAM that enhanced interpretability across nearly all models. The code and checkpoints to reproduce this study are available at: https://github.com/rabihchamas/DCLS-GradCAM-Eval.
