Improving deep neural network generalization and robustness to background bias via layer-wise relevance propagation optimization
Pedro R. A. S. Bassi, Sergio S. J. Dertkigil, Andrea Cavalli
TL;DR
The paper tackles background bias and shortcut learning in deep classifiers by introducing BRM, an optimization of differentiable LRP heatmaps during ISNet training. ISNet reduces reliance on background features without increasing run-time cost, and is compatible with virtually any backbone. Across synthetic bias, COVID-19, and TB datasets, ISNet demonstrates superior out-of-distribution generalization and foreground-focused attention, outperforming eight state-of-the-art baselines. The approach is theoretically grounded in Deep Taylor-based LRP, showing denoising benefits and more stable optimization, and is validated with heatmaps that align with foreground regions and radiologist annotations. Overall, BRM via LRP optimization offers an efficient, versatile method to mitigate background bias in clinical and natural image classification tasks, improving real-world reliability.
Abstract
Features in images' backgrounds can spuriously correlate with the images' classes, representing background bias. They can influence the classifier's decisions, causing shortcut learning (Clever Hans effect). The phenomenon generates deep neural networks (DNNs) that perform well on standard evaluation datasets but generalize poorly to real-world data. Layer-wise Relevance Propagation (LRP) explains DNNs' decisions. Here, we show that the optimization of LRP heatmaps can minimize the background bias influence on deep classifiers, hindering shortcut learning. By not increasing run-time computational cost, the approach is light and fast. Furthermore, it applies to virtually any classification architecture. After injecting synthetic bias in images' backgrounds, we compared our approach (dubbed ISNet) to eight state-of-the-art DNNs, quantitatively demonstrating its superior robustness to background bias. Mixed datasets are common for COVID-19 and tuberculosis classification with chest X-rays, fostering background bias. By focusing on the lungs, the ISNet reduced shortcut learning. Thus, its generalization performance on external (out-of-distribution) test databases significantly surpassed all implemented benchmark models.
