小模型是大模型的计算救星
Tiny Models are the Computational Saver for Large Models
AI总结:
该研究提出TinySaver动态模型压缩方法,用独立小模型作为大模型的第一退出点自适应替代推理,在ImageNet-1k上可减90%计算且性能损失极小,为模型压缩提供了新通用思路。
摘要:
本文提出了TinySaver,一种类早期退出的动态模型压缩方法,它采用小模型来自适应地替代大模型。与传统压缩技术不同,TinySaver这类动态方法可以利用难度差异,让某些输入提前完成推理过程,从而节省计算资源。大多数现有的早期退出设计是通过在模型主干上附加额外的网络分支来实现的。然而,我们的研究表明,完全独立的小模型可以承担大模型的大部分工作,且对性能的影响极小。将它们作为第一退出点可以显著提升计算效率。通过搜索并采用最合适的小模型作为给定大模型的计算救星,所提出的方法成为一种新颖且通用的模型压缩方法。这一发现将帮助研究界探索新的压缩方法,以应对快速发展的AI模型带来的日益增长的计算需求。我们在ImageNet-1k分类任务上对该方法的评估表明,在各类现代视觉模型中,它有望将计算操作量减少高达90%,而性能损失仅可忽略不计。
英文摘要:
This paper introduces TinySaver, an early-exit-like dynamic model compression approach which employs tiny models to substitute large models adaptively. Distinct from traditional compression techniques, dynamic methods like TinySaver can leverage the difficulty differences to allow certain inputs to complete their inference processes early, thereby conserving computational resources. Most existing early exit designs are implemented by attaching additional network branches to the model's backbone. Our study, however, reveals that completely independent tiny models can replace a substantial portion of the larger models' job with minimal impact on performance. Employing them as the first exit can remarkably enhance computational efficiency. By searching and employing the most appropriate tiny model as the computational saver for a given large model, the proposed approaches work as a novel and generic method to model compression. This finding will help the research community in exploring new compression methods to address the escalating computational demands posed by rapidly evolving AI models. Our evaluation of this approach in ImageNet-1k classification demonstrates its potential to reduce the number of compute operations by up to 90\%, with only negligible losses in performance, across various modern vision models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。