Hybrid Explanation-Guided Learning for Transformer-Based Chest X-Ray Diagnosis
Shelley Zixin Shu, Haozhe Luo, Alexander Poellinger, Mauricio Reyes
TL;DR
This work addresses spurious correlations in transformer-based chest X-ray diagnosis by introducing Hybrid Explanation-Guided Learning (H-EGL), which jointly leverages self-supervised and human-guided attention constraints. The framework combines a Discriminative Attention Learning (DAL) module with a human-AI alignment component, optimized via a composite loss $\mathcal{L}_{\text{H-EGL}} = \mathcal{L}_{\text{CE}} + \alpha \mathcal{L}_{\text{HA}} + \beta \mathcal{L}_{\text{DAL}}$, within a DWARF ViT-based encoder-decoder. Evaluated on ChestXDet with chest X-ray images, H-EGL outperforms state-of-the-art EGL baselines (KAD, GAIN) in AUC, F1, and MCC, and exhibits reduced generalization gaps and improved robustness to noise. The approach yields attention maps better aligned with expert pathology regions, offering a scalable, annotation-efficient path toward robust human-AI aligned vision models for clinical imaging.
Abstract
Transformer-based deep learning models have demonstrated exceptional performance in medical imaging by leveraging attention mechanisms for feature representation and interpretability. However, these models are prone to learning spurious correlations, leading to biases and limited generalization. While human-AI attention alignment can mitigate these issues, it often depends on costly manual supervision. In this work, we propose a Hybrid Explanation-Guided Learning (H-EGL) framework that combines self-supervised and human-guided constraints to enhance attention alignment and improve generalization. The self-supervised component of H-EGL leverages class-distinctive attention without relying on restrictive priors, promoting robustness and flexibility. We validate our approach on chest X-ray classification using the Vision Transformer (ViT), where H-EGL outperforms two state-of-the-art Explanation-Guided Learning (EGL) methods, demonstrating superior classification accuracy and generalization capability. Additionally, it produces attention maps that are better aligned with human expertise.
