arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.10049cs.CVcs.AIcs.LG
收藏

在了解神经网络的结构之前对其进行预训练

Pretraining a Neural Network before Knowing Its Architecture

Samsung - SAIT AI Lab, Montreal(三星-三星先进技术研究院蒙特利尔人工智能实验室)

Boris Knyazev

摘要:

训练大型神经网络可以通过训练一个较小的超网络来预测大型神经网络的参数。最近发布的Graph HyperNetwork(GHN)在一百万个较小的ImageNet架构上以这种方式训练,能够预测大型不可见网络(如ResNet-50)的参数。虽然具有预测参数的网络在源任务上失去性能,但已发现预测参数对于其他任务的微调是有用的。我们研究了基于相同GHN的微调是否仍然适用于GHN经过训练后发布的新的强大架构。我们发现,对于最近的架构,如ConvNeXt,GHN初始化变得不如ResNet-50有用。一个潜在的原因是新架构的分布从用于训练GHN的架构转移。我们还发现,预测的参数缺乏多样性所需的成功微调参数与梯度下降。我们通过在对目标任务进行微调之前对预测参数应用简单的后处理技术来缓解这一限制,并改进ResNet-50和ConvNeXt的微调。

英文摘要:

Training large neural networks is possible by training a smaller hypernetwork that predicts parameters for the large ones. A recently released Graph HyperNetwork (GHN) trained this way on one million smaller ImageNet architectures is able to predict parameters for large unseen networks such as ResNet-50. While networks with predicted parameters lose performance on the source task, the predicted parameters have been found useful for fine-tuning on other tasks. We study if fine-tuning based on the same GHN is still useful on novel strong architectures that were published after the GHN had been trained. We found that for recent architectures such as ConvNeXt, GHN initialization becomes less useful than for ResNet-50. One potential reason is the increased distribution shift of novel architectures from those used to train the GHN. We also found that the predicted parameters lack the diversity necessary to successfully fine-tune parameters with gradient descent. We alleviate this limitation by applying simple post-processing techniques to predicted parameters before fine-tuning them on a target task and improve fine-tuning of ResNet-50 and ConvNeXt.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑