计算机科学 > 计算与语言
[提交于 2024年6月5日]
标题:LongSSM: On the Length Extension of State-space Models in Language Modelling
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In this paper, we investigate the length-extension of state-space models (SSMs) in language modeling. Length extension involves training models on short sequences and testing them on longer ones. We show that state-space models trained with zero hidden states initialization have difficulty doing length extension. We explain this difficulty by pointing out the length extension is equivalent to polynomial extrapolation. Based on the theory, we propose a simple yet effective method - changing the hidden states initialization scheme - to improve the length extension. Moreover, our method shows that using long training sequence length is beneficial but not necessary to length extension. Changing the hidden state initialization enables the efficient training of long-memory model with a smaller training context length.
提交历史
来自:Shida Wang[v1] 2024年6月5日 星期三 00:00:00 UTC