Mamba Selective State Space Vault (mamba-state-space-vault)

Comprehensive scientific research vault housing algorithms, continuous-to-discrete Zero-Order Hold (ZOH) operators, parallel associative prefix scans, and layer implementations for Mamba Selective State Space Models (S6).

Vault Repository Structure

mamba-state-space-vault/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ mamba_block.py         # Full Mamba S6 block with selective projections
β”‚   β”œβ”€β”€ associative_scan.py    # Parallel associative prefix scan operator
β”‚   └── discretization_zoh.py  # ZOH matrix exponential discretization
β”œβ”€β”€ benchmarks/
β”‚   └── eval_mamba_complexity.py # O(L) Linear time complexity verification suite
β”œβ”€β”€ MANIFEST.json              # Cryptographic SHA-256 integrity manifest
└── README.md                  # Mathematical formulation and documentation

Equations

  • Continuous State Space Model: $$h'(t) = A h(t) + B x(t), \quad y(t) = C h(t) + D x(t)$$
  • Discretization via Zero-Order Hold: $$\bar{A}_t = \exp(\Delta_t A), \quad \bar{B}_t \approx \Delta_t B_t$$
  • Associative Scan Operator: $$(A_j, b_j) \bullet (A_i, b_i) = (A_j A_i, \ A_j b_i + b_j)$$

Reproducibility

python benchmarks/eval_mamba_complexity.py

Developed by Ramprasad Atluri (At1uri).

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support