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

自然语言处理中早退深度神经网络综述

A Survey of Early Exit Deep Neural Networks in NLP

Department of IEOR, IIT Bombay(印度理工学院孟买分校工业与运筹工程系)

Divya Jyoti Bajpai, Manjesh Kumar Hanawal

AI总结:

本文针对大规模DNN计算成本高、需适配样本难度的问题,系统综述了通过在不同层附加分类器实现自适应推理的早退策略,及其在NLP领域的应用与降延迟、提鲁棒性的优势。

摘要:

为在各类任务上达到最优性能,深度神经网络(DNNs)的规模日益增大。然而,其高计算需求使其难以适用于资源受限的场景。此外,现实世界的数据集通常包含简单样本与复杂样本,因此需要适配样本难度的自适应推理机制。早退策略为这一问题提供了有前景的解决方案,它支持自适应推理:对于更简单的样本,仅使用DNN的前几层即可完成分类,从而加快整体推理速度。通过在网络的不同层附加分类器,早退方法不仅能降低推理延迟,还能提升模型对抗攻击的鲁棒性。本文对早退方法及其在自然语言处理(NLP)领域的应用进行了全面综述。

英文摘要:

Deep Neural Networks (DNNs) have grown increasingly large in size to achieve state of the art performance across a wide range of tasks. However, their high computational requirements make them less suitable for resource-constrained applications. Also, real-world datasets often consist of a mixture of easy and complex samples, necessitating adaptive inference mechanisms that account for sample difficulty. Early exit strategies offer a promising solution by enabling adaptive inference, where simpler samples are classified using the initial layers of the DNN, thereby accelerating the overall inference process. By attaching classifiers at different layers, early exit methods not only reduce inference latency but also improve the model robustness against adversarial attacks. This paper presents a comprehensive survey of early exit methods and their applications in NLP.

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

↑