arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.05061cs.LGstat.ML
收藏

通过低维学习动力学实现过参数化深度模型的高效压缩

Efficient Compression of Overparameterized Deep Models through Low-Dimensional Learning Dynamics

University of Michigan(密歇根大学);Tsinghua University(清华大学);Michigan Institute for Data Science(密歇根数据科学研究所)

Soo Min Kwon, Zekai Zhang, Dogyoon Song, Laura Balzano, Qing Qu

AI总结:

本研究针对过参数化模型计算内存成本高的问题,通过研究低维学习动力学提出深度模型压缩算法,在矩阵恢复等任务中实现2倍以上训练效率提升且不损失泛化能力。

摘要:

过参数化模型已被证明是解决各类机器学习任务的强大工具。然而,过参数化通常会导致计算和内存成本大幅增加,进而需要大量资源进行训练。在本研究中,我们提出了一种压缩过参数化模型的新方法,该方法通过研究其学习动力学发展而来。我们观察到,对于许多深度模型,权重矩阵的更新发生在一个低维不变子空间内。对于深度线性模型,我们证明其主成分在一个小子空间内被增量拟合,并利用这些见解提出了一种针对深度线性网络的压缩算法,该算法涉及减小其中间层的宽度。我们在矩阵恢复问题上通过实验评估了我们的压缩技术的有效性。值得注意的是,通过使用利用问题结构的初始化,我们观察到我们的压缩网络比原始网络收敛更快,始终产生更小的恢复误差。我们通过发展一种聚焦于深度矩阵分解的理论来证实这一观察结果。最后,我们通过实验证明了我们的压缩模型如何有潜力提升深度非线性模型的效用。总体而言,我们的算法将训练效率提升了2倍以上,且不会损害泛化能力。

英文摘要:

Overparameterized models have proven to be powerful tools for solving various machine learning tasks. However, overparameterization often leads to a substantial increase in computational and memory costs, which in turn requires extensive resources to train. In this work, we present a novel approach for compressing overparameterized models, developed through studying their learning dynamics. We observe that for many deep models, updates to the weight matrices occur within a low-dimensional invariant subspace. For deep linear models, we demonstrate that their principal components are fitted incrementally within a small subspace, and use these insights to propose a compression algorithm for deep linear networks that involve decreasing the width of their intermediate layers. We empirically evaluate the effectiveness of our compression technique on matrix recovery problems. Remarkably, by using an initialization that exploits the structure of the problem, we observe that our compressed network converges faster than the original network, consistently yielding smaller recovery errors. We substantiate this observation by developing a theory focused on deep matrix factorization. Finally, we empirically demonstrate how our compressed model has the potential to improve the utility of deep nonlinear models. Overall, our algorithm improves the training efficiency by more than 2x, without compromising generalization.

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

↑