TLDR: A new research paper introduces a DNN compression method using Explainable AI (XAI), specifically Layer-wise Relevance Propagation (LRP). It prunes unimportant weights and applies mixed-precision quantization based on importance scores. This approach significantly reduces model size (64%) and improves accuracy (42%) compared to existing XAI-based compression techniques, making DNNs more suitable for resource-limited devices.
Deep neural networks (DNNs) have become incredibly powerful, driving advancements in everything from smartphones to self-driving cars. However, their impressive performance often comes at a significant cost: they are very large and require a lot of computational power and memory. This makes it challenging to deploy them on devices with limited resources, like many everyday electronics.
To address this, researchers have developed techniques to “compress” these large models. Two common methods are pruning and quantization. Pruning involves removing less important parts of the network, while quantization reduces the precision of the data types used to store the network’s information, for example, changing from 32-bit to 8-bit numbers. The main challenge with these methods is deciding which parts to remove or reduce in precision without significantly hurting the network’s accuracy.
A new area of research called Explainable Artificial Intelligence (XAI) offers a promising solution. XAI methods are designed to help us understand how AI models make decisions, revealing the importance of different components within the network. This understanding can then be used to guide compression efforts more effectively.
A Novel Approach to DNN Compression
A recent paper, “Compressing Deep Neural Networks Using Explainable AI,” proposes a novel approach that leverages XAI to achieve more efficient DNN compression. The authors, Kimia Soroush, Mohsen Raji, and Behnam Ghavami, introduce a method that uses a gradient-based XAI technique called Layer-wise Relevance Propagation (LRP). LRP helps determine the “importance score” of each parameter (weight) within the DNN.
The proposed method uses these importance scores in two key ways:
First, parameters with negative or zero importance scores are pruned, meaning they are completely removed from the model. These are considered non-essential units that do not significantly contribute to the network’s output.
Second, for the remaining important parameters, a technique called mixed-precision quantization is applied. Instead of quantizing all weights to a single, lower precision, the method assigns higher precision (more bits) to weights with higher importance scores and lower precision (fewer bits) to those with lower importance scores. This intelligent allocation of storage space ensures that critical information is preserved while still achieving significant memory reduction.
Also Read:
- Optimizing Logic Gate Networks: A Path to More Efficient AI Hardware
- Evaluating Explainable AI for Remote Sensing Imagery: A Comprehensive Analysis
Impressive Results
The experimental results of this new compression approach are quite compelling. When compared to state-of-the-art XAI-based compression methods, the proposed technique reduced the model size by 64%. Even more remarkably, the accuracy of the compressed model improved by 42% compared to previous XAI-based methods. This demonstrates the power of using explainability to identify truly important components within a neural network, leading to more effective compression without sacrificing performance.
The research highlights the significant potential of integrating XAI into the design and optimization of deep learning models, especially for deployment on resource-constrained devices. For more technical details, you can refer to the full research paper available at arXiv.


