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

基于Softmax置信度的动态牺牲精度的级联推理

Dynamically Sacrificing Accuracy for Reduced Computation: Cascaded Inference Based on Softmax Confidence

Tel Aviv University(特拉维夫大学)

Konstantin Berestizshevsky, Guy Even

摘要:

我们研究了在级联的深度神经网络中计算工作量和分类精度之间的权衡。在推理过程中,用户设置可接受的准确度降级,然后自动确定中间分类器的置信度阈值。一旦满足置信度阈值,推理立即终止,而不必计算整个网络的输出。置信水平直接来自中间分类器的softmax输出,因为我们不训练特殊的决策函数。我们表明,在深度神经网络的级联中使用softmax输出作为置信度度量,可以减少15%-50%的MAC操作次数,同时降低大约1%的分类准确度。我们的方法可以很容易地结合到预先训练的非级联架构中,因为我们在ResNet上进行了测试。我们的主要贡献是一种方法,动态调整准确性和计算之间的权衡,而无需重新训练模型。

英文摘要:

We study the tradeoff between computational effort and classification accuracy in a cascade of deep neural networks. During inference, the user sets the acceptable accuracy degradation which then automatically determines confidence thresholds for the intermediate classifiers. As soon as the confidence threshold is met, inference terminates immediately without having to compute the output of the complete network. Confidence levels are derived directly from the softmax outputs of intermediate classifiers, as we do not train special decision functions. We show that using a softmax output as a confidence measure in a cascade of deep neural networks leads to a reduction of 15%-50% in the number of MAC operations while degrading the classification accuracy by roughly 1%. Our method can be easily incorporated into pre-trained non-cascaded architectures, as we exemplify on ResNet. Our main contribution is a method that dynamically adjusts the tradeoff between accuracy and computation without retraining the model.

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

↑