mlsanityData to 14 Oct 2026

Dynamic Slicing for Deep Neural Networks

arXiv 2009.13747 ↗First posted 29 Sep 2020cs.SEcited by 16

Not on the map. Why?

Abstract (arXiv)

Program slicing has been widely applied in a variety of software engineering tasks. However, existing program slicing techniques only deal with traditional programs that are constructed with instructions and variables, rather than neural networks that are composed of neurons and synapses. In this paper, we propose NNSlicer, the first approach for slicing deep neural networks based on data flow analysis. Our method understands the reaction of each neuron to an input based on the difference between its behavior activated by the input and the average behavior over the whole dataset. Then we quantify the neuron contributions to the slicing criterion by recursively backtracking from the output neurons, and calculate the slice as the neurons and the synapses with larger contributions. We demonstrate the usefulness and effectiveness of NNSlicer with three applications, including adversarial input detection, model pruning, and selective model protection. In all applications, NNSlicer significantly outperforms other baselines that do not rely on data flow analysis.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Sep 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 4; 2022: 2; 2023: 4; 2024: 2; 2025: 4.

16 papers.

Sort:

By area:

  1. 2021DeepPayload: Black-box Backdoor Attack on Deep Learning Models through Neural Payload Injectioncited by 44
  2. 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
  3. 2023SwapMoE: Serving Off-the-shelf MoE-based Large Language Models with Tunable Memory Budgetcited by 27
  4. 2021TransTailor: Pruning the Pre-trained Model for Improved Transfer Learningcited by 25
  5. 2022FairNeuron: Improving Deep Neural Network Fairness with Adversary Games on Selective Neuronscited by 21
  6. 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
  7. 2021PatchCensor: Patch Robustness Certification for Transformers via Exhaustive Testingcited by 12
  8. 2023Modularizing while Training: A New Paradigm for Modularizing DNN Modelscited by 4
  9. 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Modelscited by 3
  10. 2022Supervised Robustness-preserving Data-free Neural Network Pruningcited by 1
  11. 2024NeuSemSlice: Towards Effective DNN Model Maintenance via Neuron-level Semantic Slicingcited by 1
  12. 2025IRepair: An Intent-Aware Approach to Repair Data-Driven Errors in Large Language Modelscited by 1
4 more
  1. 2025SliceGX: Layer-wise GNN Explanation with Model-slicingcited by 1
  2. 2025DSperse: A Framework for Targeted Verification in Zero-Knowledge Machine Learningcited by 1
  3. 2023Generative Model for Models: Rapid DNN Customization for Diverse Tasks and Resource Constraintscited by 0
  4. 2025Anomaly Detection Based on Critical Paths for Deep Neural Networkscited by 0