[Paper Review] Filter Grafting for Deep Neural Networks
This paper introduces filter grafting, a novel learning paradigm that reactivates unimportant filters in deep neural networks by grafting external weights from other networks, significantly boosting performance without altering architecture. The method uses an entropy-based criterion and adaptive weighting to enhance representation capacity, achieving up to 7% accuracy gain on CIFAR-100 with MobileNetV2.
This paper proposes a new learning paradigm called filter grafting, which aims to improve the representation capability of Deep Neural Networks (DNNs). The motivation is that DNNs have unimportant (invalid) filters (e.g., l1 norm close to 0). These filters limit the potential of DNNs since they are identified as having little effect on the network. While filter pruning removes these invalid filters for efficiency consideration, filter grafting re-activates them from an accuracy boosting perspective. The activation is processed by grafting external information (weights) into invalid filters. To better perform the grafting process, we develop an entropy-based criterion to measure the information of filters and an adaptive weighting strategy for balancing the grafted information among networks. After the grafting operation, the network has very few invalid filters compared with its untouched state, enpowering the model with more representation capacity. We also perform extensive experiments on the classification and recognition tasks to show the superiority of our method. For example, the grafted MobileNetV2 outperforms the non-grafted MobileNetV2 by about 7 percent on CIFAR-100 dataset. Code is available at https://github.com/fxmeng/filter-grafting.git.
Motivation & Objective
- Address the underutilization of unimportant (low-l1-norm) filters in deep neural networks, which are typically pruned for efficiency but may still hold latent representational potential.
- Investigate whether reactivating such filters through external information can improve model performance instead of discarding them.
- Develop a one-stage, self-supervised training method that enables knowledge transfer between parallel networks via filter grafting.
- Improve the representation capacity of DNNs by maintaining network structure while increasing the number of effective filters through grafting.
- Demonstrate the generalizability of filter grafting across diverse tasks, including image classification, object recognition, and person re-identification.
Proposed method
- Propose filter grafting as a new paradigm that reactivates low-importance filters by assigning them new weights from external networks, preserving the original architecture.
- Use an entropy-based criterion to measure the information content of filters, identifying which filters are unimportant and suitable for grafting.
- Implement an adaptive weighting strategy to balance the contribution of grafted information across different layers and networks.
- Train multiple networks in parallel, periodically grafting meaningful filters from one network into the invalid filters of another during training.
- Apply the grafting process without supervision, relying on the inherent structure and feature representations of the networks.
- Maintain layer and channel consistency between source and target networks during grafting to ensure compatibility and effective information transfer.
Experimental results
Research questions
- RQ1Can unimportant filters in deep neural networks be effectively reactivated to improve model performance instead of being pruned?
- RQ2What is the optimal source of information for grafting—internal network features or external networks?
- RQ3How can the information content of filters be quantitatively measured to guide the grafting process?
- RQ4What strategies can balance the contribution of grafted weights across different layers and networks to maximize performance gains?
- RQ5Does filter grafting generalize across different datasets and tasks, such as ImageNet, CIFAR-100, and person re-identification?
Key findings
- Filter grafting significantly improves model accuracy: MobileNetV2 achieves 78.32% top-1 accuracy on CIFAR-100, a 7% improvement over the non-grafted baseline.
- The number of invalid filters (l1 norm < 1e-3) drops from ~50% in the baseline to a minimal fraction in the grafted network, confirming effective reactivation.
- The grafted network exhibits higher information entropy and greater information gain compared to the baseline, indicating enhanced representational capacity.
- Performance improves with more parallel networks in the grafting process, showing scalability and positive synergy across multiple models.
- On ImageNet, ResNet18 and ResNet34 achieve top-1 accuracy gains of 2.04% and 1.98% respectively, demonstrating effectiveness on large-scale datasets.
- In person re-identification tasks, grafting improves mAP and rank-1 accuracy on both Market1501 and DukeMTMC-ReID, with gains of up to 6.7% mAP on Market1501 using four networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.