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

使用平衡截断的对角状态空间层S4模型压缩方法

Model Compression Method for S4 with Diagonal State Space Layers using Balanced Truncation

The University of Tokyo(东京大学)

Haruka Ezoe, Kazuhiro Sato

AI总结:

本文提出将控制理论中的平衡截断应用于预训练S4模型的DSS层进行模型压缩,并用降阶参数初始化训练,实验表明该方法在更少参数下仍能超越常规初始化模型的准确率。

摘要:

为了在边缘设备上部署深度学习模型,模型压缩方法已被广泛认为是有效的。然而,对于结合了对角状态空间(DSS)层、专为处理长序列数据而设计的结构化状态空间序列(S4)模型,哪些模型压缩方法有效仍不清楚。在本文中,我们提出将平衡截断这一控制理论中常用的模型降阶技术,专门应用于预训练S4模型中的DSS层,作为一种新的模型压缩方法。此外,我们提出将在主训练过程中通过平衡截断获得的降阶模型参数用作具有DSS层的S4模型的初始参数。数值实验表明,我们结合平衡截断训练得到的模型在准确率上超过了使用Skew-HiPPO初始化进行常规训练的模型,即使参数更少。此外,我们的观察揭示了一个正相关关系:原始模型的准确率越高,使用我们的模型压缩方法训练出的模型准确率也越高,这表明我们的方法有效地利用了原始模型的优势。

英文摘要:

To implement deep learning models on edge devices, model compression methods have been widely recognized as useful. However, it remains unclear which model compression methods are effective for Structured State Space Sequence (S4) models incorporating Diagonal State Space (DSS) layers, tailored for processing long-sequence data. In this paper, we propose to use the balanced truncation, a prevalent model reduction technique in control theory, applied specifically to DSS layers in pre-trained S4 model as a novel model compression method. Moreover, we propose using the reduced model parameters obtained by the balanced truncation as initial parameters of S4 models with DSS layers during the main training process. Numerical experiments demonstrate that our trained models combined with the balanced truncation surpass conventionally trained models with Skew-HiPPO initialization in accuracy, even with fewer parameters. Furthermore, our observations reveal a positive correlation: higher accuracy in the original model consistently leads to increased accuracy in models trained using our model compression method, suggesting that our approach effectively leverages the strengths of the original model.

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

↑