From Generalization Analysis to Optimization Designs for State Space Models

Fusheng Liu, Qianxiao Li
5/4/2024
cs.LG

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

A State Space Model (SSM) is a foundation model in time series analysis, which has recently been shown as an alternative to transformers in sequence modeling. In this paper, we theoretically study the generalization of SSMs and propose improvements to training algorithms based on the generalization results. Specifically, we give a \textit{data-dependent} generalization bound for SSMs, showing an interplay between the SSM parameters and the temporal dependencies of the training sequences. Leveraging the generalization bound, we (1) set up a scaling rule for model initialization based on the proposed generalization measure, which significantly improves the robustness of the output value scales on SSMs to different temporal patterns in the sequence data; (2) introduce a new regularization method for training SSMs to enhance the generalization performance. Numerical results are conducted to validate our results.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2024from,
  title  = {From Generalization Analysis to Optimization Designs for State Space Models},
  author = {Fusheng Liu and Qianxiao Li},
  year   = {2024},
  eprint = {2405.02670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.02670v1},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.02670.svg)](https://codeofpaper.com/paper/2405.02670)

Discussion