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

Cuttlefish:无需所有调参工作的低秩模型训练

Cuttlefish: Low-Rank Model Training without All the Tuning

Carnegie Mellon University(卡内基梅隆大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Sony Group Corporation(索尼集团公司);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Petuum, Inc.(Petuum公司)

Hongyi Wang, Saurabh Agarwal, Pongsakorn U-chupala, Yoshiki Tanaka, Eric P. Xing, Dimitris Papailiopoulos

AI总结:

针对低秩神经网络训练需手动调整分解超参数的问题,提出自动化低秩训练方法Cuttlefish,基于训练数轮后层稳定秩收敛的特性自动设置分解维度,在保持精度的同时实现模型压缩与训练加速,效果优于现有方法。

摘要:

近期研究表明,训练低秩神经网络可在不损失预测精度的前提下有效减少可训练参数总量,实现端到端加速。然而,低秩模型训练需要调整若干额外的分解超参数,例如每一层的分解秩。本文中,我们通过提出Cuttlefish(一种自动化低秩训练方法)应对这一挑战,该方法无需对分解超参数进行调参。Cuttlefish基于如下观察:经过数个epoch的全秩训练后,每一层的稳定秩(即真实秩的近似值)会稳定在一个恒定值。一旦所有层的稳定秩收敛,Cuttlefish就从全秩训练切换为低秩训练,并将每个分解的维度设置为其对应的稳定秩。我们的结果显示,Cuttlefish生成的模型比全秩模型小最多5.6倍,端到端训练过程速度提升最高达1.2倍,同时保持了相当的精度。此外,Cuttlefish的性能优于当前最优的低秩模型训练方法及其他主流基线方法。我们实现的源代码可在以下地址获取:https://github.com/hwang595/Cuttlefish。

英文摘要:

Recent research has shown that training low-rank neural networks can effectively reduce the total number of trainable parameters without sacrificing predictive accuracy, resulting in end-to-end speedups. However, low-rank model training necessitates adjusting several additional factorization hyperparameters, such as the rank of the factorization at each layer. In this paper, we tackle this challenge by introducing Cuttlefish, an automated low-rank training approach that eliminates the need for tuning factorization hyperparameters. Cuttlefish leverages the observation that after a few epochs of full-rank training, the stable rank (i.e., an approximation of the true rank) of each layer stabilizes at a constant value. Cuttlefish switches from full-rank to low-rank training once the stable ranks of all layers have converged, setting the dimension of each factorization to its corresponding stable rank. Our results show that Cuttlefish generates models up to 5.6 times smaller than full-rank models, and attains up to a 1.2 times faster end-to-end training process while preserving comparable accuracy. Moreover, Cuttlefish outperforms state-of-the-art low-rank model training methods and other prominent baselines. The source code for our implementation can be found at: https://github.com/hwang595/Cuttlefish.

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

↑