Introduction
In the field of Explainable AI (XAI), a significant disconnect exists between visual and textual explanations. While visual heatmaps (such as GradCAM) effectively show where a model is looking, they often fail to explain why a specific decision was made in a way that is intuitive to humans. Conversely, existing textual explanation models frequently suffer from a lack of "faithfulness." These models may generate generic descriptions of a class—for instance, noting that a bird has a "red crown" because that is a common feature of the species—even if that specific feature is not visible in the image at hand.
The Faithful Attention Explainer (FAE) is a framework designed to bridge this gap. It ensures that textual justifications are strictly grounded in the visual features the model actually "attended" to, providing explanations that are both linguistically high-quality and factually faithful to the specific image.
The FAE Framework
The FAE architecture follows a classic Encoder-Decoder structure but introduces two critical innovations to ensure grounding and steerability:
1. Attention Alignment with Future Knowledge
Standard attention models typically ground words based only on the preceding context. FAE improves upon this by utilizing a Bidirectional LSTM (BiLSTM) during the training phase. By incorporating "future knowledge" (the words that appear later in a sentence), the model can more accurately align specific nouns—such as "beak," "wing," or "tail"—with the correct spatial regions in the image. This process is further refined using L1 norm regularization to minimize the discrepancy between the newly grounded attention weights and the original model attention.
2. Attention Enforcement (AE)
This is the framework's most distinctive feature. During the inference stage, the model’s internal attention weights can be replaced or "enforced" by external, extrinsic attention maps. These maps can be machine-generated (e.g., GradCAM) or derived from human data (e.g., eye-tracking/human gaze). This enforcement mechanism forces the language model to describe exactly what is highlighted in those maps, effectively turning attention into a "steering wheel" for the explanation.
Experimental Setup and Datasets
The researchers evaluated the FAE framework across several benchmarks to test its versatility in fine-grained classification and human action recognition:
- CUB-200-2011 (CUB): A dataset of 11,788 bird images across 200 species, used to test fine-grained textual descriptions.
- Action Explanation Dataset (ACT-X): Comprising 18,030 images across 397 activity classes (e.g., "playing guitar"), used to evaluate explanations of human actions.
- CUB-GHA: A specialized subset of CUB that includes human gaze data, allowing the researchers to test how well the model can verbalize what a human expert was focusing on.
Key Results and Insights
The FAE framework demonstrated significant improvements in both linguistic fluency and grounding accuracy:
- Linguistic Quality: On the CUB dataset, FAE (using a ResNet101 backbone) achieved a CIDer score of 66.36, a substantial improvement over the GVE baseline of 56.70.
- Faithfulness (FER): The introduction of Attention Enforcement (AE) significantly boosted the Faithful Explanation Rate (FER). On the CUB benchmark, the FAE-AE model reached an FER of 44.33, compared to 37.43 for the standard "Show, Attend and Tell" (SAT) baseline.
- Steerability: Qualitative results showed that the model successfully adjusted its descriptions based on the provided maps. For example, if a GradCAM map highlighted a bird's belly, the FAE-AE model would specifically incorporate a description of the "white belly" into its explanation, even if the base model had originally omitted that detail.
Comparison with Large Language Models
In comparisons with GPT-4, the authors found that while Large Language Models (LLMs) are exceptionally eloquent, they often "hallucinate" spatial grounding. When asked to interpret a saliency map, GPT-4 might mistake a bird's belly for its head. FAE’s tighter coupling of visual features to specific words prevents these types of spatial errors, ensuring the text remains anchored to the visual evidence.
Conclusion and Future Work
FAE demonstrates that attention is not just a byproduct of model processing; it can serve as a powerful interface for human-AI interaction. By verbalizing human gaze, FAE suggests a future where AI can communicate what a human expert is focusing on during complex tasks, such as medical diagnosis.
While the current model is dependent on the quality of the underlying classifier's feature maps, future research may involve fine-tuning smaller, open-source LLMs on gaze-based data. This would combine the broad reasoning and world knowledge of LLMs with the strict, faithful visual grounding established by the FAE framework.
Summary updated