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

BEEM:使用多出口分类器作为专家提升早期退出DNN的性能

BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts

Indian Institute of Technology Bombay(印度理工学院孟买分校)

Divya Jyoti Bajpai, Manjesh Kumar Hanawal

AI总结:

提出BEEM方法,将多出口分类器视为专家并聚合置信度,在样本通过且相邻专家预测一致时触发退出,在COCO和GLUE数据集上实现1.5至2.1倍加速且保持或提升准确率。

摘要:

早期退出(EE)技术已成为降低深度神经网络(DNN)推理延迟的一种手段。这些技术中的延迟改善和准确性在很大程度上取决于用于做出退出决策的标准。我们提出了一种新的决策标准,将退出分类器视为专家BEEM,并聚合它们的置信度分数。只有当相邻专家在样本通过时的预测保持一致时,才聚合置信度分数,从而捕获它们的集成效应。当聚合的置信度值超过阈值时,样本退出。该阈值是使用中间退出的错误率设置的,旨在超越传统DNN推理的性能。在用于图像描述的COCO数据集和用于各种语言任务的GLUE数据集上的实验结果表明,我们的方法增强了最先进EE方法的性能,实现了1.5倍至2.1倍的加速改进。与最终层相比,其在较难的图像描述任务中准确率相当,并在较简单的语言任务中有所提升。这项工作的源代码已在 https://github.com/Div290/BEEM1/tree/main 公开提供。

英文摘要:

Early Exit (EE) techniques have emerged as a means to reduce inference latency in Deep Neural Networks (DNNs). The latency improvement and accuracy in these techniques crucially depend on the criteria used to make exit decisions. We propose a new decision criterion where exit classifiers are treated as experts BEEM and aggregate their confidence scores. The confidence scores are aggregated only if neighbouring experts are consistent in prediction as the samples pass through them, thus capturing their ensemble effect. A sample exits when the aggregated confidence value exceeds a threshold. The threshold is set using the error rates of the intermediate exits aiming to surpass the performance of conventional DNN inference. Experimental results on the COCO dataset for Image captioning and GLUE datasets for various language tasks demonstrate that our method enhances the performance of state-of-the-art EE methods, achieving improvements in speed-up by a factor 1.5x to 2.1x. When compared to the final layer, its accuracy is comparable in harder Image Captioning and improves in the easier language tasks. The source code for this work is publicly available at https://github.com/Div290/BEEM1/tree/main

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

↑