Human attention guided explainable artificial intelligence for computer vision models

Guoyang Liu, Jindi Zhang, Antoni B. Chan, Janet H. Hsiao

TL;DR

This paper introduces Human Attention-Guided XAI (HAG-XAI), a novel approach that embeds human attention patterns into explainable AI (XAI) methods for computer vision. By learning from how humans visually focus, HAG-XAI significantly improves both the faithfulness (how accurately explanations reflect model decisions) and plausibility (how understandable explanations are to humans) of XAI for object detection, outperforming existing methods.

What Problem Does This Paper Address?

Deep learning models, while powerful, often act as "black boxes," making it difficult to understand why they make certain decisions. Explainable AI (XAI) aims to shed light on these decisions, but current methods for computer vision, especially for object detection (identifying and locating multiple objects in an image), often struggle with both faithfulness and plausibility. Existing gradient-based XAI methods, like Grad-CAM, are designed for image classification and don't generate object-specific explanations. Perturbation-based methods are computationally expensive and can produce noisy saliency maps. This gap is critical because object detection is vital for safety-critical applications like autonomous driving. The authors propose that human attention, which guides our own visual perception and decision-making, can serve as a valuable guide to create more trustworthy and understandable AI explanations.

Methods

The paper introduces two main contributions:

  1. Extended Gradient-Based XAI for Object Detection: The authors first adapt existing gradient-based XAI methods (Grad-CAM and Grad-CAM++) for image classification to object detection. They propose "FullGrad-CAM" and "FullGrad-CAM++" by modifying how gradients are aggregated, aiming to produce object-specific saliency maps.
  2. Human Attention-Guided XAI (HAG-XAI): This is the core novel method. HAG-XAI learns to combine explanatory information (like feature activation maps and gradients) from the AI model. Crucially, it uses learnable activation functions and smoothing kernels that are trained to maximize the similarity between the AI's saliency maps and human attention maps. This allows the model to adaptively weigh and combine features in a way that aligns with human visual focus, enhancing both faithfulness and plausibility. The learned parameters are interpretable, offering insights into why the explanations are improved.

Datasets

  • Image Classification:
    • ImageNet (subset of testing set) for evaluating image classification models.
  • Object Detection:
    • BDD-100K: A large, well-annotated driving dataset used for training and evaluating object detection models.
  • MS-COCO: Used to test the generalization ability of the learned HAG-XAI parameters to other object detection tasks.

Key Insights and Ideas

  • Human Attention as a Plausibility Benchmark: The paper establishes human attention maps as a robust, objective measure for evaluating the plausibility of XAI methods.
  • Object Detection is Different: Unlike image classification, where human attention maps sometimes had lower faithfulness than XAI methods (suggesting humans and models use different features), for object detection, human attention maps often showed higher faithfulness. This implies humans and AI models might use similar diagnostic features for object detection, but current XAI methods aren't fully capturing these.
  • HAG-XAI Bridges the Gap: The HAG-XAI method successfully leverages human attention to improve both faithfulness and plausibility for object detection, a significant advancement.
  • Learnable Components are Key: The learnable activation functions and smoothing kernels in HAG-XAI are crucial for adapting the XAI output to human-like patterns, demonstrating the power of learned, interpretable components.
  • Generalization: The learned parameters in HAG-XAI show good generalization across different object detection datasets and models, indicating robustness.

Key Results

  • Image Classification: HAG-XAI enhanced plausibility but slightly decreased faithfulness compared to traditional methods.
  • Object Detection:
    • HAG-XAI significantly improved both plausibility (PCC > 0.7) and faithfulness compared to existing methods.
  • The proposed FullGrad-CAM and FullGrad-CAM++ methods provided better object-specific explanations than adapted classification methods.
  • HAG-XAI demonstrated strong generalization to the MS-COCO dataset.
  • The method showed robustness across different image conditions (occlusion, degradation).

Limitations and Future Work

  • Image Classification Trade-off: For image classification, HAG-XAI improved plausibility at the cost of faithfulness. The authors suggest this is because human attention might focus on different features than AI models for classification.
  • Non-Human-Like Features: While HAG-XAI focuses on human attention, the authors acknowledge that non-human-like features might also contribute to faithful explanations. Future work could explore incorporating these.
  • Multi-Layer Explanations: The current work primarily uses the last convolutional layer. Future research could explore combining feature maps from multiple layers for richer explanations.
  • Cognitively Plausible Models: The paper notes that the quality of HAG-XAI's output is influenced by the AI model's design. Future work could investigate how using cognitively plausible AI models might further improve human-like explanations.

Summary updated

BibTeX
@article{liu2024human,
  author = {Guoyang Liu and Jindi Zhang and Antoni B. Chan and Janet H. Hsiao},
  title = {{Human attention guided explainable artificial intelligence for computer vision models}},
  journal = {Neural Networks},
  year = {2024},
  doi = {10.1016/j.neunet.2024.106392},
}
Figure