Skip to main content

Neural state space models and LRU variants in PyTorch

Project description

Pytorch L2RU Architecture: LRU with l2 stability guarantees and prescribed bound

A PyTorch implementation of the L2RU architecture introduced in the paper Free Parametrization of L2-bounded State Space Models. https://arxiv.org/abs/2503.23818. Application in System Identification is included as an example.

L2RU block

The L2RU block is a discrete-time linear time-invariant system implemented in state-space form as:

\begin{align}
x_{k+1} = Ax_{x} + B u_k\\
y_k = C x_k + D u_k,
\end{align}

A parametrization is provided for the matrices (A, B, C, D), guaranteeing a prescribed l2 bound for the overall SSM. Moreover, the use of parallel scan algorithms makes execution extremely fast on modern hardware in non-core-bound scenarios.

Deep L2RU Architecture

L2RU units are typically organized in a deep LRU architecture like:

Description of image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neural_ssm-0.1.7.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neural_ssm-0.1.7-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file neural_ssm-0.1.7.tar.gz.

File metadata

  • Download URL: neural_ssm-0.1.7.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for neural_ssm-0.1.7.tar.gz
Algorithm Hash digest
SHA256 30e659e1f52f089594b65bd8cf7c63c5eb1dfc4dfc64ebe6fcec520cb742299f
MD5 f43dff3d1d5250af8c9227ca09b11995
BLAKE2b-256 1778dddb17b076b943bd7459a8d95463a1279da805e208c689bb813bf5bed726

See more details on using hashes here.

File details

Details for the file neural_ssm-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: neural_ssm-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for neural_ssm-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6079a8ca113ebfb417c323b7b67cc56ec44f637dcee295226a88ba05db8b15b7
MD5 fa12586be865aad83b72d97197513071
BLAKE2b-256 2d8e85f8744d08ad61e9f8ba2b0f16fb0b9c184f538aa1d1ad93aab1f53a188c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page