arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06567cs.LG
收藏

凸蒸馏:通过凸优化实现深度网络的高效压缩

Convex Distillation: Efficient Compression of Deep Networks via Convex Optimization

Stanford University(斯坦福大学)

Prateek Varshney, Mert Pilanci

AI总结:

针对传统深度网络压缩方法保留非凸性、需大量微调且依赖全标注数据的问题,提出基于凸优化的蒸馏方法,仅用原始模型中间激活值即可无标注压缩且无需后微调,数据有限时性能优于标准非凸蒸馏,为边缘部署及凸优化与深度学习交叉研究提供新方向。

摘要:

在资源受限的边缘设备上部署大型复杂深度神经网络面临巨大挑战,原因在于这类网络计算需求高,且非凸优化过程复杂。传统的压缩方法(如蒸馏和剪枝)通常仍保留非凸性,导致在这类设备上进行实时微调的难度大幅提升。此外,这些方法往往需要在压缩后进行大量的端到端网络微调以维持模型性能,这不仅耗时,还需要全标注数据集,可能会抵消网络高效压缩带来的优势。\n本文提出一种新型蒸馏技术,通过凸优化实现模型高效压缩——该方法移除了中间的非凸激活函数,仅使用原始模型的中间激活值。我们的方法可在无标注数据场景下完成蒸馏,无需任何压缩后微调即可达到与原始模型相当的性能。我们在多个标准数据集上验证了该方法对图像分类模型的有效性,进一步表明在数据有限的场景下,我们的方法性能优于标准非凸蒸馏方法。\n该方法为在边缘设备上部署高效率、低占用的模型提供了显著优势,是实际应用中的实用选择。研究表明,当凸神经网络能从大型预训练非凸模型中获取丰富的特征表示时,其性能可与非凸同类模型相当,这为凸优化与深度学习交叉领域的未来研究开辟了新方向。

英文摘要:

Deploying large and complex deep neural networks on resource-constrained edge devices poses significant challenges due to their computational demands and the complexities of non-convex optimization. Traditional compression methods such as distillation and pruning often retain non-convexity that complicates fine-tuning in real-time on such devices. Moreover, these methods often necessitate extensive end-to-end network fine-tuning after compression to preserve model performance, which is not only time-consuming but also requires fully annotated datasets, thus potentially negating the benefits of efficient network compression. In this paper, we introduce a novel distillation technique that efficiently compresses the model via convex optimization -- eliminating intermediate non-convex activation functions and using only intermediate activations from the original model. Our approach enables distillation in a label-free data setting and achieves performance comparable to the original model without requiring any post-compression fine-tuning. We demonstrate the effectiveness of our method for image classification models on multiple standard datasets, and further show that in the data limited regime, our method can outperform standard non-convex distillation approaches. Our method promises significant advantages for deploying high-efficiency, low-footprint models on edge devices, making it a practical choice for real-world applications. We show that convex neural networks, when provided with rich feature representations from a large pre-trained non-convex model, can achieve performance comparable to their non-convex counterparts, opening up avenues for future research at the intersection of convex optimization and deep learning.

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

↑