arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.09016cs.LGcs.CL
收藏

状态空间模型的参数高效微调

Parameter-Efficient Fine-Tuning of State Space Models

FuriosaAI;Seoul National University(首尔大学)

Kevin Galim, Wonjun Kang, Yuchen Zeng, Hyung Il Koo, Kangwook Lee

AI总结:

本文针对参数高效微调在状态空间模型上适配不足的问题,分析现有方法的目标参数与效果,并提出结合 SDT 与 LoRA 的方案,在实验中达到最先进性能。

摘要:

深度状态空间模型(SSM),例如 Mamba(Gu & Dao, 2024),已成为语言建模的强大工具,具备高性能以及随序列长度线性扩展的能力。然而,参数高效微调(PEFT)方法在基于 SSM 的模型上的应用仍基本未得到充分探索。我们首先研究了关于现有 PEFT 方法的两个基本问题:(i)它们在基于 SSM 的模型上表现如何?(ii)为获得最佳结果,它们应当针对哪些参数?我们的分析表明,LoRA 及其变体始终优于所有其他 PEFT 方法。尽管 LoRA 对线性投影矩阵有效,但它在 SSM 模块上会失效——然而其仍优于适用于 SSM 的其他方法,这表明这些方法存在局限性。这凸显了对专门的 SSM 调优方法的需求。为解决这一问题,我们提出了 Sparse Dimension Tuning(SDT),这是一种为 SSM 模块量身定制的 PEFT 方法。通过将用于 SSM 的 SDT 与用于线性投影矩阵的 LoRA 相结合,我们在大量实验中取得了最先进的性能。

英文摘要:

Deep State Space Models (SSMs), such as Mamba (Gu & Dao, 2024), have become powerful tools for language modeling, offering high performance and linear scalability with sequence length. However, the application of parameter-efficient fine-tuning (PEFT) methods to SSM-based models remains largely underexplored. We start by investigating two fundamental questions on existing PEFT methods: (i) How do they perform on SSM-based models? (ii) Which parameters should they target for optimal results? Our analysis shows that LoRA and its variants consistently outperform all other PEFT methods. While LoRA is effective for linear projection matrices, it fails on SSM modules-yet still outperforms other methods applicable to SSMs, indicating their limitations. This underscores the need for a specialized SSM tuning approach. To address this, we propose Sparse Dimension Tuning (SDT), a PEFT method tailored for SSM modules. Combining SDT for SSMs with LoRA for linear projection matrices, we achieve state-of-the-art performance across extensive experiments.

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

↑