语言模型加权低秩估计的数值优化
Numerical Optimizations for Weighted Low-rank Estimation on Language Model
摘要:
奇异值分解(SVD)是最流行的压缩方法之一,它用较小的矩阵近似目标矩阵。然而,标准SVD将矩阵中的参数视为同等重要,这是一个简单但不切实际的假设。训练好的神经网络模型的参数对任务性能的影响可能是不均匀的,这表明参数之间的重要性不相等。与奇异值分解相比,考虑参数重要性的分解方法在实际应用中更具有实用价值。与标准SVD不同,加权值分解是一个非凸优化问题,缺乏封闭形式的解决方案。我们系统地研究了多种优化策略来解决这个问题,并通过压缩基于transformer的语言模型来检验我们的方法。此外,我们设计了一个指标来预测SVD何时可能会引入显着的性能下降,我们的方法可以作为一种救援策略。广泛的评估表明,我们的方法可以比目前的SOTA方法在压缩基于transformer的语言模型。
英文摘要:
Singular value decomposition (SVD) is one of the most popular compression methods that approximate a target matrix with smaller matrices. However, standard SVD treats the parameters within the matrix with equal importance, which is a simple but unrealistic assumption. The parameters of a trained neural network model may affect task performance unevenly, which suggests non-equal importance among the parameters. Compared to SVD, the decomposition method aware of parameter importance is the more practical choice in real cases. Unlike standard SVD, weighted value decomposition is a non-convex optimization problem that lacks a closed-form solution. We systematically investigated multiple optimization strategies to tackle the problem and examined our method by compressing Transformer-based language models. Further, we designed a metric to predict when the SVD may introduce a significant performance drop, for which our method can be a rescue strategy. The extensive evaluations demonstrate that our method can perform better than current SOTA methods in compressing Transformer-based language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。