arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.03555cs.LGcs.CV
收藏

基于分解与优化秩选择的预训练神经网络压缩统一框架

Unified Framework for Pre-trained Neural Network Compression via Decomposition and Optimized Rank Selection

Université Grenoble Alpes, CNRS, Computer Science Laboratory LIG(格勒诺布尔阿尔卑斯大学、法国国家科学研究中心、计算机科学实验室LIG)

Ali Aghababaei-Harandi, Massih-Reza Amini

AI总结:

本文提出统一框架,在连续空间中自动搜索最优秩并同时进行张量分解,无需额外训练数据即可高效压缩预训练模型,并通过微调保持与原始模型相当的性能。

摘要:

尽管复杂神经网络具有很高的准确率,但它们需要大量计算资源,这给在移动电话和嵌入式系统等资源受限设备上的部署带来了挑战。压缩算法已被开发出来,通过减小模型规模和计算需求,同时保持准确率来应对这些挑战。在这些方法中,基于张量分解的因子化方法在理论上可靠且有效,但它们在为分解选择合适的秩时面临困难。本文通过提出一个统一框架来解决这一问题,该框架在定义的秩约束内同时应用分解和秩选择,并采用复合压缩损失。我们的方法包括在连续空间中进行自动秩搜索,通过消除对额外训练数据的需求并减少搜索步骤中的计算开销,高效地为预训练模型识别最优秩配置。结合后续的微调步骤,我们的方法使高度压缩模型的性能与其原始对应模型保持相当。通过使用各种基准数据集和模型,我们进行了全面分析,证明了该方法的有效性。

英文摘要:

Despite their high accuracy, complex neural networks demand significant computational resources, posing challenges for deployment on resource constrained devices such as mobile phones and embedded systems. Compression algorithms have been developed to address these challenges by reducing model size and computational demands while maintaining accuracy. Among these approaches, factorization methods based on tensor decomposition are theoretically sound and effective. However, they face difficulties in selecting the appropriate rank for decomposition. This paper tackles this issue by presenting a unified framework that simultaneously applies decomposition and rank selection, employing a composite compression loss within defined rank constraints. Our method includes an automatic rank search in a continuous space, efficiently identifying optimal rank configurations for the pre-trained model by eliminating the need for additional training data and reducing computational overhead in the search step. Combined with a subsequent fine-tuning step, our approach maintains the performance of highly compressed models on par with their original counterparts. Using various benchmark datasets and models, we demonstrate the efficacy of our method through a comprehensive analysis.

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

↑