arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.01562cs.LGcs.CV
收藏

理解多出口模型在常见破坏下的鲁棒性

Understanding the Robustness of Multi-Exit Models under Common Corruptions

Tulane University(杜兰大学);Apple(苹果公司)

Akshay Mehra, Skyler Seto, Navdeep Jaitly, Barry-John Theobald

摘要:

多出口模型(MEM)使用早期退出策略,通过允许样本在最后一层之前退出网络来提高深度神经网络(DNN)的准确性和效率。然而,在存在分布偏移的情况下MEMs的有效性仍然在很大程度上未被探索。我们的工作研究如何分布偏移产生的常见的图像损坏影响的准确性/效率的MEMS。我们发现,在常见的腐败,提前退出在第一个正确的出口降低了推理成本,并提供了一个显着的提高准确性(10%)在最后一层退出。然而,使用现实的早期退出策略,不假设正确退出的知识,MEMs仍然降低了推理成本,但与最后一层退出相比,准确性略有提高(1%)。此外,分布偏移的存在扩大了MEM的最大分类精度和现实的早期退出策略之间的差距,平均5%的差距相比,在分布数据。我们的实证分析表明,由于分布偏移而缺乏校准,增加了这种提前退出策略提前退出的敏感性,并增加了错误分类率。此外,缺乏校准增加了模型在出口预测中的不一致性,导致与对分布数据的评估相比,推理效率低下,分类错误更多。最后,我们提出了两个指标,思考不足和过度思考,量化的不同行为的实际提前退出策略下分布偏移,并提供见解,以提高MEMs的实际效用。

英文摘要:

Multi-Exit models (MEMs) use an early-exit strategy to improve the accuracy and efficiency of deep neural networks (DNNs) by allowing samples to exit the network before the last layer. However, the effectiveness of MEMs in the presence of distribution shifts remains largely unexplored. Our work examines how distribution shifts generated by common image corruptions affect the accuracy/efficiency of MEMs. We find that under common corruptions, early-exiting at the first correct exit reduces the inference cost and provides a significant boost in accuracy ( 10%) over exiting at the last layer. However, with realistic early-exit strategies, which do not assume knowledge about the correct exits, MEMs still reduce inference cost but provide a marginal improvement in accuracy (1%) compared to exiting at the last layer. Moreover, the presence of distribution shift widens the gap between an MEM's maximum classification accuracy and realistic early-exit strategies by 5% on average compared with the gap on in-distribution data. Our empirical analysis shows that the lack of calibration due to a distribution shift increases the susceptibility of such early-exit strategies to exit early and increases misclassification rates. Furthermore, the lack of calibration increases the inconsistency in the predictions of the model across exits, leading to both inefficient inference and more misclassifications compared with evaluation on in-distribution data. Finally, we propose two metrics, underthinking and overthinking, that quantify the different behavior of practical early-exit strategy under distribution shifts, and provide insights into improving the practical utility of MEMs.

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

↑