Skip to main content
QUICK REVIEW

[Paper Review] Breaking Batch Normalization for better explainability of Deep Neural Networks through Layer-wise Relevance Propagation

Mathilde Guillemot, Catherine Heusèle|arXiv (Cornell University)|Feb 24, 2020
Explainable Artificial Intelligence (XAI)Computer Science22 references16 citations
TL;DR

This paper proposes a method to integrate batch normalization (BN) layers into Layer-wise Relevance Propagation (LRP) for improved explainability of deep neural networks. By fusing BN with preceding convolutional or fully connected layers into a single equivalent layer, the approach enables accurate relevance back-propagation, resulting in more precise and localized heatmaps—especially effective for convolutional networks on MNIST and CIFAR-10, while highlighting limitations in fully connected architectures with BN.

ABSTRACT

The lack of transparency of neural networks stays a major break for their use. The Layerwise Relevance Propagation technique builds heat-maps representing the relevance of each input in the model s decision. The relevance spreads backward from the last to the first layer of the Deep Neural Network. Layer-wise Relevance Propagation does not manage normalization layers, in this work we suggest a method to include normalization layers. Specifically, we build an equivalent network fusing normalization layers and convolutional or fully connected layers. Heatmaps obtained with our method on MNIST and CIFAR 10 datasets are more accurate for convolutional layers. Our study also prevents from using Layerwise Relevance Propagation with networks including a combination of connected layers and normalization layer.

Motivation & Objective

  • To address the lack of transparency in deep neural networks, particularly in models using batch normalization (BN) layers.
  • To overcome the limitation of standard LRP in handling normalization layers, which are commonly bypassed or ignored.
  • To develop a method that properly integrates BN layers into LRP for more accurate and reliable relevance attribution.
  • To evaluate the impact of BN integration on explainability using standard benchmarks (MNIST and CIFAR-10) with diverse architectures.
  • To investigate whether LRP remains effective when BN is combined with fully connected layers, given potential instability in relevance maps.

Proposed method

  • The authors derive a mathematical fusion of batch normalization with preceding convolutional or fully connected layers, creating a single equivalent layer that preserves the network's forward pass.
  • For BN applied before activation, the method derives a closed-form transformation of the layer parameters, enabling direct relevance propagation through the fused layer.
  • For BN applied after activation, the method similarly derives a parameter transformation that maintains the computational graph for backward relevance flow.
  • The fused layer is integrated into the LRP propagation process, replacing the original BN layer and allowing relevance to be distributed accurately from output to input.
  • The method is extended to other normalization layers beyond BN, suggesting generalizability to techniques like InstanceNorm or LayerNorm.
  • The approach is evaluated qualitatively on MNIST and CIFAR-10 using convolutional and fully connected networks with BN placed before or after activation.

Experimental results

Research questions

  • RQ1Can batch normalization layers be properly integrated into the Layer-wise Relevance Propagation (LRP) framework to improve explainability?
  • RQ2How does the inclusion of BN layers affect the quality and localization of LRP heatmaps in convolutional versus fully connected networks?
  • RQ3Does fusing BN with convolutional or fully connected layers yield more accurate relevance attribution compared to bypassing BN during LRP?
  • RQ4What are the limitations of applying LRP to fully connected networks that include batch normalization?
  • RQ5How does the performance of the proposed method vary across datasets with varying background complexity and object-color contrast?

Key findings

  • On convolutional networks, LRP with the proposed BN integration produces heatmaps that better highlight object edges and contours compared to baseline methods that bypass BN.
  • For MNIST, the inclusion of BN during LRP improves localization of relevance within digit loops (e.g., '0' or '9'), where internal pixels are less emphasized.
  • On CIFAR-10, heatmaps using the proposed method show significantly better contrast between objects and backgrounds, especially when background and object colors are similar.
  • When backgrounds are non-uniform, LRP with BN integration outperforms both the baseline (bypassing BN) and the no-BN model, producing more coherent relevance maps.
  • In fully connected networks, relevance maps remain unstable and unusable regardless of BN placement (before or after activation), suggesting incompatibility between LRP and BN in this architecture.
  • The method demonstrates that the benefits of BN integration are more pronounced in complex input scenarios, indicating higher utility for real-world, high-variability data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.