Back to list
Lv.3

State Space Model

State Space Model

A computational method that tracks a state changing over time with equations and predicts what comes next.

In Simple Terms

A state space model is a method that estimates the hidden state inside a system, which you can't see directly, and uses it to calculate how data changes and what comes next. For example, it's used in AI that handles long texts, and in analyzing time series data like stock prices or sensor readings. Because it passes along past memory in a compact form and updates it as it goes, it can keep the amount of computation down and run fast even when the data gets long.

Behind the Name

The name puts together "state space" and "model." The "state" is the hidden condition inside a system that you can't see directly, and the "space" is the whole range of values that state could take. The "model" is the set of equations describing how that state changes as time passes. It's often shortened to SSM, using the initials.

Take a Closer Look!

A state space model is a computational model that uses equations to describe how a hidden internal state changes over time, and how that state shows up as the data we actually observe.
Put simply, it's like handing off a hidden baton, or an inner sense of how things are going, step after step: it carries past context along as an internal memory and uses it to work out the next value.

This kind of model squeezes past memory into an internal state of a fixed size and holds onto it.
Every time new data comes in, it updates that state, so no matter how long the data gets, the amount of computation doesn't easily balloon.
On top of that, state space models built for AI, such as S4 and Mamba, have a mathematical property that lets them run calculations in parallel, in one big batch, during training, and then process things quickly one step at a time when producing output like text.

It's actually a mathematical theory that has been used for a long time in fields like rocket trajectory control, weather forecasting, and economic data analysis.
In deep learning, too, this idea has been put to use, and it now serves as a foundation for language models that can quickly process long continuous data such as lengthy texts and audio.

CategoryAIData