Patching Weak Convolutional Neural Network Models through Modularization and Composition
Binhang Qi, Hailong Sun, Xiang Gao, Hongyu Zhang
摘要
Despite great success in many applications, deep neural networks are not always robust in practice. For instance, a convolutional neuron network (CNN) model for classification tasks often performs unsatisfactorily in classifying some particular classes of objects. In this work, we are concerned with patching the weak part of a CNN model instead of improving it through the costly retraining of the entire model. Inspired by the fundamental concepts of modularization and composition in software engineering, we propose a compressed modularization approach, CNNSplitter, which decomposes a strong CNN model for 𝑁 -class classification into 𝑁 smaller CNN modules. Each module is a sub-model containing a part of the convolution kernels of the strong model. To patch a weak CNN model that performs unsatisfactorily on a target class (TC), we compose the weak CNN model with the corresponding module obtained from a strong CNN model. The ability of the weak CNN model to recognize the TC can thus be improved through patching. Moreover, the ability to recognize non-TCs is also improved, as the samples misclassified as TC could be classified as non-TCs correctly. Experimental results with two representative CNNs on three widely-used datasets show that the averaged improvement on the TC in terms of precision and recall are 12.54% and 2.14%, respectively. Moreover, patching improves the accuracy of non-TCs by 1.18%. The results demonstrate that CNNSplitter can patch a weak CNN model through modularization and composition, thus providing a new solution for developing robust CNN models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Modularizing while Training: A New Paradigm for Modularizing DNN Models 引用了 On decomposing a deep neural network into modules
- Modularizing while Training: A New Paradigm for Modularizing DNN Models 引用了 Reusing Deep Neural Network Models through Model Re-engineering
- Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis 引用了 DeepGini: prioritizing massive tests to enhance the robustness of deep neural networks
- FedSlice: Protecting Federated Learning Models from Malicious Participants with Model Slicing 引用了 On decomposing a deep neural network into modules
- DNN Modularization via Activation-Driven Training 引用了 Modularizing while Training: A New Paradigm for Modularizing DNN Models
- DNN Modularization via Activation-Driven Training 引用了 DeepGini: prioritizing massive tests to enhance the robustness of deep neural networks
- DNN Modularization via Activation-Driven Training 引用了 On decomposing a deep neural network into modules
- DNN Modularization via Activation-Driven Training 引用了 Decomposition of Deep Neural Networks into Modules via Mutation Analysis
- DNN Modularization via Activation-Driven Training 引用了 Reusing Deep Neural Network Models through Model Re-engineering
- Decomposition of Deep Neural Networks into Modules via Mutation Analysis 引用了 Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis
- Reusing Deep Neural Network Models through Model Re-engineering 引用了 On decomposing a deep neural network into modules
引用它的顶会 Paper6
- Reusing Deep Neural Network Models through Model Re-engineeringBinhang Qi, Hailong Sun, Xiang Gao, Hongyu Zhang 等ICSE 2023 · 16 次引用
- FedSlice: Protecting Federated Learning Models from Malicious Participants with Model SlicingZiqi Zhang, Yuanchun Li, Bingyan Liu, Yifeng Cai 等ICSE 2023 · 8 次引用
- Decomposition of Deep Neural Networks into Modules via Mutation AnalysisAli GhanbariISSTA 2024 · 4 次引用
- Modularizing while Training: A New Paradigm for Modularizing DNN ModelsBinhang Qi, Hailong Sun, Hongyu Zhang, Ruobing Zhao 等ICSE 2024 · 3 次引用
- DNN Modularization via Activation-Driven TrainingTuan Ngo, Abid Hassan, Saad Shafiq, Nenad MedvidovićICSE 2026 · 2 次引用
它引用的 Paper7
- DeepGini: prioritizing massive tests to enhance the robustness of deep neural networksYang Feng, Qingkai Shi, Xinyu Gao, Jun Wan 等ISSTA 2020 · 206 次引用
- Prioritizing Test Inputs for Deep Neural Networks via Mutation AnalysisZan Wang, Hanmo You, Junjie Chen, Yingyi Zhang 等ICSE 2021 · 117 次引用
- Fuzz testing based data augmentation to improve robustness of deep neural networksXiang Gao, Ripon K. Saha, Mukul R. Prasad, Abhik RoychoudhuryICSE 2020 · 116 次引用
- On decomposing a deep neural network into modulesRangeet Pan, Hridesh RajanFSE 2020 · 38 次引用
- Improving Test Case Generation for REST APIs Through Hierarchical ClusteringDimitri Michel Stallenberg, Mitchell Olsthoorn, Annibale PanichellaASE 2021 · 32 次引用
相关 Paper
- Decomposing Convolutional Neural Networks into Reusable and Replaceable ModulesRangeet Pan, Hridesh RajanICSE 2022 · 30 次引用
- Composable Sparse Subnetworks via Maximum-Entropy PrincipleFrancesco Caso, Samuele Fonio, Simone Monaco, Nicola Saccomanno 等ICLR 2026
- DeepArc: Modularizing Neural Networks for the Model MaintenanceXiaoning Ren, Yun Lin, Yinxing Xue, Ruofan Liu 等ICSE 2023 · 6 次引用
- Model Patching: Closing the Subgroup Performance Gap with Data AugmentationKaran Goel, Albert Gu, Sharon Li, Christopher RéICLR 2021 · 131 次引用
- ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution BlocksXiaohan Ding, Yuchen Guo, Guiguang Ding, Jungong HanICCV 2019 · 845 次引用
