# What is S4? Definition and meaning

A state-space model with structured parameters that handles very long sequences efficiently.

## Definition

**S4**: A state-space model with structured parameters that handles very long sequences efficiently.

In short: Structured state-space sequence model.

## When it is used

Long-range sequence tasks and the foundation of later state-space models.

## Learn more

The full guide to **[S4](/tools/s4)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [rsLoRA](/glossary/rslora) · Next term: [SAC](/glossary/sac)
