arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.15242cs.LGcs.AIcs.CV
收藏

重新参数化您的优化器而不是架构

Re-parameterizing Your Optimizers rather than Architectures

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);MEGVII Technology(旷视科技);University of Sheffield(谢菲尔德大学);Tencent AI Lab(腾讯人工智能实验室);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Tsinghua University(清华大学)

Xiaohan Ding, Honghao Chen, Xiangyu Zhang, Kaiqi Huang, Jungong Han, Guiguang Ding

摘要:

神经网络中设计良好的结构反映了模型中包含的先验知识。然而,尽管不同的模型具有不同的先验,但我们习惯于使用模型无关的优化器(如SGD)来训练它们。在本文中,我们提出了将模型特定的先验知识到优化器修改梯度根据一组模型特定的超参数。这种方法被称为梯度重新参数化,优化器被命名为RepOptimizers。为了模型结构的极端简单性,我们专注于VGG风格的普通模型,并展示了使用RepOptimizer(称为RepOpt-VGG)训练的这种简单模型,其性能与最近设计良好的模型相当或更好。从实际应用的角度来看,RepOpt-VGG是一个很好的基础模型,因为它结构简单,推理速度快,训练效率高。与通过构建额外的训练时间结构将先验知识添加到模型中的结构重新参数化相比,RepOptimizer不需要额外的前向/后向计算,并解决了量化问题。我们希望能在模型结构设计领域之外引发进一步的研究。代码和型号\url{https://github.com/DingXiaoH/RepOptimizers}。

英文摘要:

The well-designed structures in neural networks reflect the prior knowledge incorporated into the models. However, though different models have various priors, we are used to training them with model-agnostic optimizers such as SGD. In this paper, we propose to incorporate model-specific prior knowledge into optimizers by modifying the gradients according to a set of model-specific hyper-parameters. Such a methodology is referred to as Gradient Re-parameterization, and the optimizers are named RepOptimizers. For the extreme simplicity of model structure, we focus on a VGG-style plain model and showcase that such a simple model trained with a RepOptimizer, which is referred to as RepOpt-VGG, performs on par with or better than the recent well-designed models. From a practical perspective, RepOpt-VGG is a favorable base model because of its simple structure, high inference speed and training efficiency. Compared to Structural Re-parameterization, which adds priors into models via constructing extra training-time structures, RepOptimizers require no extra forward/backward computations and solve the problem of quantization. We hope to spark further research beyond the realms of model structure design. Code and models \url{https://github.com/DingXiaoH/RepOptimizers}.

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

↑