神经网络模块分解与重组
Neural Network Module Decomposition and Recomposition
摘要:
我们提出了一种模块化方法,从功能的角度将深度神经网络(DNN)分解为小模块,并将它们重新组合为用于其他任务的新模型。分解模块由于其小的尺寸而被期望具有可解释性和可验证性的优点。与现有的基于重用模型的研究相比,该方法不需要再训练,并且具有广泛的适用性,因为它可以很容易地与现有的功能模块相结合,例如迁移学习模型。所提出的方法使用权重掩码提取模块,并可应用于任意DNN。与现有的研究不同,它不需要对网络架构进行假设。为了提取模块,我们设计了一种学习方法和一个损失函数,以最大化模块之间的共享权重。结果,提取的模块可以被重组,而不会大幅增加尺寸。实验结果表明,该方法能够以较高的压缩比和较高的精度对DNN进行分解和重组,并且通过模块间的权值共享,优于现有方法。
英文摘要:
We propose a modularization method that decomposes a deep neural network (DNN) into small modules from a functionality perspective and recomposes them into a new model for some other task. Decomposed modules are expected to have the advantages of interpretability and verifiability due to their small size. In contrast to existing studies based on reusing models that involve retraining, such as a transfer learning model, the proposed method does not require retraining and has wide applicability as it can be easily combined with existing functional modules. The proposed method extracts modules using weight masks and can be applied to arbitrary DNNs. Unlike existing studies, it requires no assumption about the network architecture. To extract modules, we designed a learning method and a loss function to maximize shared weights among modules. As a result, the extracted modules can be recomposed without a large increase in the size. We demonstrate that the proposed method can decompose and recompose DNNs with high compression ratio and high accuracy and is superior to the existing method through sharing weights between modules.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。