NeuSemSlice: Towards Effective DNN Model Maintenance via Neuron-level Semantic Slicing
<|reference_start|>NeuSemSlice: Towards Effective DNN Model Maintenance via Neuron-level Semantic Slicing: Deep Neural networks (DNNs), extensively applied across diverse disciplines, are characterized by their integrated and monolithic architectures, setting them apart from conventional software systems. This architectural difference introduces particular challenges to maintenance tasks, such as model restructuring (e.g., model compression), re-adaptation (e.g., fitting new samples), and incremental development (e.g., continual knowledge accumulation). Prior research addresses these challenges by identifying task-critical neuron layers, and dividing neural networks into semantically-similar sequential modules. However, such layer-level approaches fail to precisely identify and manipulate neuron-level semantic components, restricting their applicability to finer-grained model maintenance tasks. In this work, we implement NeuSemSlice, a novel framework that introduces the semantic slicing technique to effectively identify critical neuron-level semantic components in DNN models for semantic-aware model maintenance tasks. Specifically, semantic slicing identifies, categorizes and merges critical neurons across different categories and layers according to their semantic similarity, enabling their flexibility and effectiveness in the subsequent tasks. For semantic-aware model maintenance tasks, we provide a series of novel strategies based on semantic slicing to enhance NeuSemSlice. They include semantic components (i.e., critical neurons) preservation for model restructuring, critical neuron tuning for model re-adaptation, and non-critical neuron training for model incremental development. A thorough evaluation has demonstrated that NeuSemSlice significantly outperforms baselines in all three tasks.<|reference_end|>
@article{zhou2024neusemslice:,
    title={NeuSemSlice: Towards Effective DNN Model Maintenance via Neuron-level
  Semantic Slicing},
    author={Shide Zhou and Tianlin Li and Yihao Huang and Ling Shi and Kailong
  Wang and Yang Liu and Haoyu Wang},
    journal={arXiv preprint arXiv:2407.20281},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.20281},
    primaryClass={cs.LG cs.SE}
}