通过模块化与组合修补弱卷积神经网络模型
Patching Weak Convolutional Neural Network Models through Modularization and Composition
AI总结:
本文提出CNNSplitter方法,通过将强CNN模型模块化分解并与弱模型组合,在不重新训练整个模型的情况下有效修补弱CNN模型,提升目标类和非目标类的分类性能。
摘要:
尽管在许多应用中取得了巨大成功,但深度神经网络在实践中并不总是稳健的。例如,用于分类任务的卷积神经网络(CNN)模型在对某些特定类别的物体进行分类时往往表现不佳。在本研究中,我们关注于修补CNN模型的薄弱部分,而不是通过代价高昂的整个模型重新训练来改进它。受软件工程中模块化和组合的基本概念启发,我们提出了一种压缩模块化方法CNNSplitter,该方法将用于$N$类分类的强CNN模型分解为$N$个较小的CNN模块。每个模块是一个子模型,包含强模型的一部分卷积核。为了修补在目标类(TC)上表现不佳的弱CNN模型,我们将该弱CNN模型与从强CNN模型获得的相应模块进行组合。因此,弱CNN模型识别TC的能力可以通过修补得到提高。此外,识别非TC的能力也得到提高,因为被误分类为TC的样本可以被正确分类为非TC。在三个广泛使用的数据集上使用两种代表性CNN的实验结果表明,TC在精确率和召回率上的平均改进分别为12.54%和2.14%。此外,修补使非TC的准确率提高了1.18%。结果表明,CNNSplitter可以通过模块化和组合来修补弱CNN模型,从而为开发稳健的CNN模型提供了一种新方案。
英文摘要:
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 $N$-class classification into $N$ 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。