Hyperparameter optimization is a challenging problem in developing deep neural networks. Decision of transfer layers and trainable layers is a major task for design of the transfer convolutional neural networks (CNN). Conventional transfer CNN models are usually manually designed based on intuition. In this paper, a genetic algorithm is applied to select trainable layers of the transfer model. The filter criterion is constructed by accuracy and the counts of the trainable layers. The results show that the method is competent in this task. The system will converge with a precision of 97% in the classification of Cats and Dogs datasets, in no more than 15 generations. Moreover, backward inference according the results of the genetic algorithm shows that our method can capture the gradient features in network layers, which plays a part on understanding of the transfer AI models.
翻译:超光度优化是发展深层神经网络的一个具有挑战性的问题。 传输层和可训练层的决定是转移神经网络(CNN)设计的主要任务。 常规传输CNN模型通常是根据直觉手工设计的。 在本文中, 应用基因算法选择可训练的传输模型层。 过滤标准是根据精确度和可训练层的计数构建的。 结果显示该方法有能力完成这项任务。 该系统将在不超过15代的猫和狗数据集分类中与97%的精确度趋同。 此外, 遗传算法的后推论显示,我们的方法可以捕捉到网络层中的梯度特征,这在理解转移AI模型方面起到了一定作用。