Mamba 状态空间模型是 Lyapunov 稳定的学习器
Mamba State-Space Models Are Lyapunov-Stable Learners
AI总结:
本文通过 MPFT 与 PEFT 实验及 Lyapunov 稳定性证明,揭示 Mamba LLM 的循环动力学比 Transformer 更稳定,并考察其 ICL 能力。
摘要:
Mamba 状态空间模型(SSM)最近在多种任务上优于最先进(SOTA)的 Transformer 大语言模型(LLM),并得到了广泛采用。然而,对于基于循环的深度模型(如 SSM)而言,稳定学习的一个主要隐患是其循环动力学的敏感性。尽管 Mamba 已被广泛采用,但在常见微调方法(例如混合精度微调(MPFT)和参数高效微调(PEFT))下,其循环动力学的敏感性仍未得到研究。我们通过实验表明,Mamba LLM 对 MPFT 与 PEFT 组合所引入的变化极其稳定;这与 Transformer LLM 形成鲜明对比:我们证明,在 MPFT 与 PEFT 的不同组合下,Transformer LLM 可能会与其对应的全精度版本发生剧烈偏离(尽管这些微调框架在基于注意力的模型中几乎无处不在)。Mamba LLM 所展现出的鲁棒性源于其循环动力学;我们利用动力系统理论(具体而言是 Lyapunov 稳定性)证明这些动力学具有稳定性保证。最后,我们利用 MPFT 和 PEFT 以新颖方式研究 Mamba LLM 在自然语言任务上的上下文学习(ICL)能力,从而补充近期的其他工作。
英文摘要:
Mamba state-space models (SSMs) have recently outperformed state-of-the-art (SOTA) Transformer large language models (LLMs) in various tasks and been widely adapted. However, a major concern for stable learning in recurrent-based deep models (such as SSMs) is the sensitivity of their recurrent dynamics. Despite widespread adaptation, the sensitivity of Mamba's recurrent dynamics under common fine-tuning methods-e.g., mixed-precision fine-tuning (MPFT) and parameter-efficient fine-tuning (PEFT)-remains unexplored. Empirically, we show that Mamba LLMs are extremely stable to changes introduced by combinations of MPFT and PEFT, in stark contrast to Transformer LLMs, which we demonstrate may drastically diverge from their respective full-precision counterparts under different combinations of MPFT and PEFT (despite the near-ubiquitous adaptation of these fine-tuning frameworks for attention-based models). The demonstrated robustness of Mamba LLMs are due to their recurrent dynamics, which we prove are guaranteed to be stable using dynamical systems theory (in particular, Lyapunov stability). We conclude by using MPFT and PEFT to novelly study Mamba LLMs' in-context learning (ICL) abilities on natural language tasks, thus supplementing other recent work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。