# Learning Visual Explanations for DCNN-Based Image Classifiers Using an Attention Mechanism

Source: [Learning Visual Explanations for DCNN-Based Image Classifiers Using an Attention Mechanism](<https://www.sota2.com/research/paper/68fa6d891e209131cea3a754>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T00:37:22.464Z

Authors: Ioanna Gkartzonika, Nikolaos Gkalelis, Vasileios Mezaris

Published: 2022-09-22T17:33:18.000Z

## Abstract

In this paper two new learning-based eXplainable AI (XAI) methods for deep convolutional neural network (DCNN) image classifiers, called L-CAM-Fm and L-CAM-Img, are proposed. Both methods use an attention mechanism that is inserted in the original (frozen) DCNN and is trained to derive class activation maps (CAMs) from the last convolutional layer's feature maps. During training, CAMs are applied to the feature maps (L-CAM-Fm) or the input image (L-CAM-Img) forcing the attention mechanism to learn the image regions explaining the DCNN's outcome. Experimental evaluation on ImageNet shows that the proposed methods achieve competitive results while requiring a single forward pass at the inference stage. Moreover, based on the derived explanations a comprehensive qualitative analysis is performed providing valuable insight for understanding the reasons behind classification errors, including possible dataset biases affecting the trained classifier.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2209.11189>)

[PDF](<https://arxiv.org/pdf/2209.11189.pdf>)
