Decomposition of Deep Neural Networks into Modules via Mutation Analysis
Abstract
Recently, several approaches have been proposed for decomposing deep neural network (DNN) classifiers into binary classifier modules to facilitate modular development and repair of such models. These approaches concern only the problem of decomposing classifier models, and some of them rely on the activation patterns of the neurons, thereby limiting their applicability. In this paper, we propose a DNN decomposition technique, named Incite, that uses neuron mutation to quantify the contributions of the neurons to a given output of a model. Then, for each model output, a subgraph induced by the nodes with highest contribution scores for that output are selected and extracted as a module. Incite is agnostic to the type of the model and the activation functions used in its construction, and is applicable to not just classifiers, but to regression models as well. Furthermore, the costs of mutation analysis in Incite has been reduced by heuristic clustering of neurons, enabling its application to models with millions of parameters. Lastly, Incite prunes away the neurons that do not contribute to the outcome of the modules, producing compressed, efficient modules. We have evaluated Incite using 16 DNN models for well-known classification and regression problems and report its effectiveness along combined accuracy (and MAE) of the modules, the overlap in model elements between the modules, and the compression ratio. We observed that, for classification models, Incite, on average, incurs 3.44% loss in accuracy, and the average overlap between the modules is 71.76%, while the average compression ratio is 1.89X. Meanwhile, for regression models, Incite, on average, incurs 18.56% gain in MAE, and the overlap between modules is 80.14%, while the average compression ratio is 1.83X.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing cites Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic Depth
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing cites DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Score
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing cites Mutation-based Fault Localization of Deep Neural Networks
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing cites Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing cites DeepCrime: mutation testing of deep learning systems based on real faults
- DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Score cites DeepCrime: mutation testing of deep learning systems based on real faults
- Provably Lossless Acceleration of DNN Mutation Testing via Memoization cites Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation Testing
- Provably Lossless Acceleration of DNN Mutation Testing via Memoization cites Mutation-based Fault Localization of Deep Neural Networks
- Provably Lossless Acceleration of DNN Mutation Testing via Memoization cites Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis
- Mutation-based Fault Localization of Deep Neural Networks cites DeepCrime: mutation testing of deep learning systems based on real faults
- DeepCrime: mutation testing of deep learning systems based on real faults cites Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis
Cited by top-tier papers4
- DNN Modularization via Activation-Driven TrainingTuan Ngo, Abid Hassan, Saad Shafiq, Nenad MedvidovićICSE 2026 · 2 citations
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation TestingAli Ghanbari, Sasan TavakkolASE 2025 · 1 citation
- Speculative Automated Refactoring of Imperative Deep Learning Programs to Graph ExecutionRaffi Khatchadourian, Tatiana Castro Vélez, Mehdi Bagherzadeh, Nan Jia et al.ASE 2025 · 1 citation
- Provably Lossless Acceleration of DNN Mutation Testing via MemoizationAli Ghanbari, Ben Greenman, Sasan Tavakkol, Shibbir AhmedISSTA 2026
Builds on8
- Prioritizing Test Inputs for Deep Neural Networks via Mutation AnalysisZan Wang, Hanmo You, Junjie Chen, Yingyi Zhang et al.ICSE 2021 · 117 citations
- DeepCrime: mutation testing of deep learning systems based on real faultsNargiz Humbatova, Gunel Jahangirova, Paolo TonellaISSTA 2021 · 114 citations
- DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation ScoreVincenzo Riccio, Nargiz Humbatova, Gunel Jahangirova, Paolo TonellaASE 2021 · 41 citations
- Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic DepthLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab Mirrokni et al.NeurIPS 2022 · 24 citations
- Mutation-based Fault Localization of Deep Neural NetworksAli Ghanbari, Deepak-George Thomas, Muhammad Arbab Arshad, Hridesh RajanASE 2023 · 20 citations
Related papers
- DeepArc: Modularizing Neural Networks for the Model MaintenanceXiaoning Ren, Yun Lin, Yinxing Xue, Ruofan Liu et al.ICSE 2023 · 6 citations
- Patching Weak Convolutional Neural Network Models through Modularization and CompositionBinhang Qi, Hailong Sun, Xiang Gao, Hongyu ZhangASE 2022 · 13 citations
- On decomposing a deep neural network into modulesRangeet Pan, Hridesh RajanFSE 2020 · 38 citations
- Composable Sparse Subnetworks via Maximum-Entropy PrincipleFrancesco Caso, Samuele Fonio, Simone Monaco, Nicola Saccomanno et al.ICLR 2026
- Probabilistic Connection Importance Inference and Lossless Compression of Deep Neural NetworksXin Xing, Long Sha, Pengyu Hong, Zuofeng Shang et al.ICLR 2020 · 8 citations
