arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02824cs.LGcs.SYeess.SY
收藏

深度状态空间模型的层自适应状态剪枝

Layer-Adaptive State Pruning for Deep State Space Models

POSTECH(浦项科技大学);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Minseon Gwak, Seongrok Moon, Joohwan Ko, PooGyeon Park

AI总结:

针对深度状态空间模型高状态维度计算成本高的问题,提出层自适应状态剪枝方法LAST,通过$\mathcal{H}_{\infty}$范数评分实现跨层剪枝,平均剪枝33%状态且准确率仅降0.52%。

摘要:

由于缺乏状态维度优化方法,深度状态空间模型(SSMs)牺牲了模型容量、训练搜索空间或稳定性,以缓解由高状态维度引起的计算成本。在本研究中,我们提出了一种针对SSMs的结构化剪枝方法——层自适应状态剪枝(LAST),该方法通过扩展单系统的模态截断,在最小化模型级输出能量损失的情况下降低每层的状态维度。LAST分数通过子系统的$\mathcal{H}_{\infty}$范数和逐层能量归一化来评估。这些分数作为全局剪枝标准,实现了状态的跨层比较和层自适应剪枝。在各种序列基准上,LAST优化了先前的SSMs,揭示了其状态空间的冗余性和可压缩性。值得注意的是,我们证明,平均剪枝33%的状态,在无需重训练的多输入多输出SSMs中仍能保持性能,准确率仅下降0.52%。代码可在https://github.com/msgwak/LAST获取。

英文摘要:

Due to the lack of state dimension optimization methods, deep state space models (SSMs) have sacrificed model capacity, training search space, or stability to alleviate computational costs caused by high state dimensions. In this work, we provide a structured pruning method for SSMs, Layer-Adaptive STate pruning (LAST), which reduces the state dimension of each layer in minimizing model-level output energy loss by extending modal truncation for a single system. LAST scores are evaluated using the $\mathcal{H}_{\infty}$ norms of subsystems and layer-wise energy normalization. The scores serve as global pruning criteria, enabling cross-layer comparison of states and layer-adaptive pruning. Across various sequence benchmarks, LAST optimizes previous SSMs, revealing the redundancy and compressibility of their state spaces. Notably, we demonstrate that, on average, pruning 33% of states still maintains performance with 0.52% accuracy loss in multi-input multi-output SSMs without retraining. Code is available at https://github.com/msgwak/LAST.

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

↑