卷积网络中代价可调推理的随机下采样和改进的正则化
Stochastic Downsampling for Cost-Adjustable Inference and Improved Regularization in Convolutional Networks
摘要:
期望训练卷积网络(CNN)以在推理期间更有效地运行。然而,在许多情况下,系统用于推断的计算预算在训练期间无法预先知道,或者推断预算取决于不断变化的实时资源可用性。因此,仅训练推理高效的CNN是不够的,其推理成本是不可调的,并且不能适应不同的推理预算。我们提出了一种用于CNN中成本可调推理的新方法-随机下采样点(SDPoint)。在训练过程中,SDPoint将特征图降采样应用于层层次结构中的随机点,并具有随机降采样率。不同的随机下采样配置被称为SDPoint实例(同一模型),其计算成本彼此不同,同时被训练以最小化相同的预测损失。在不同实例之间共享网络参数提供了显著的正则化提升。在推断期间,可以手工挑选最适合推断预算的SDPoint实例。SDPoint作为代价可调的推理方法和正则化器的有效性通过大量的图像分类实验得到了验证。
英文摘要:
It is desirable to train convolutional networks (CNNs) to run more efficiently during inference. In many cases however, the computational budget that the system has for inference cannot be known beforehand during training, or the inference budget is dependent on the changing real-time resource availability. Thus, it is inadequate to train just inference-efficient CNNs, whose inference costs are not adjustable and cannot adapt to varied inference budgets. We propose a novel approach for cost-adjustable inference in CNNs - Stochastic Downsampling Point (SDPoint). During training, SDPoint applies feature map downsampling to a random point in the layer hierarchy, with a random downsampling ratio. The different stochastic downsampling configurations known as SDPoint instances (of the same model) have computational costs different from each other, while being trained to minimize the same prediction loss. Sharing network parameters across different instances provides significant regularization boost. During inference, one may handpick a SDPoint instance that best fits the inference budget. The effectiveness of SDPoint, as both a cost-adjustable inference approach and a regularizer, is validated through extensive experiments on image classification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。