State Space Representations for Linear Time Gaussian Processes

This direction is merged into another direction: state-space Gaussian Process representation. Its last version stays readable and citable here.

Version 1 of 135 papers40 conceptsfrozen 2026-10-04

Gaussian Processes (GPs) are the gold standard for probabilistic modeling of continuous functions, but they suffer from a notorious "cubic bottleneck." To compute the posterior of a GP with $n$ data points, one must invert a covariance matrix, a process that scales at $O(n^3)$. This makes standard GPs impractical for the long-duration time series common in neuroscience, audio processing, and finance.

A growing body of research overcomes this limitation by reframing Gaussian Processes as State-Space Models (SSMs). By treating the GP as the solution to a Stochastic Differential Equation (SDE), researchers can swap expensive global matrix inversions for efficient local recursions, reducing computational complexity from cubic to linear ($O(n)$) or even logarithmic ($O(\log n)$) time.

The Markovian Bridge

The core intuition behind this shift is the Markov property. In a standard GP, every point in a sequence is potentially correlated with every other point, requiring a dense $n \times n$ covariance matrix. However, many widely used kernels—most notably the Matérn family—can be represented as the output of a linear time-invariant SDE driven by white noise.

As Alexander Vandenberg‐Rodes explains in Dependent Matérn Processes for Multivariate Time Series, this SDE representation implies that the process is Markovian in a higher-dimensional state space. If you know the current "state" of the system (which might include the function value and its derivatives), the future is independent of the past. This realization transforms a global optimization problem into a sequential filtering problem.

Inference as Kalman Smoothing

Once a GP is expressed as an SSM, the machinery of classical control theory becomes available. Instead of $O(n^3)$ batch processing, we use Kalman filtering and Rauch-Tung-Streibel (RTS) smoothing.

These algorithms process data points one by one, updating the "state" estimate as they go. Because each update only depends on the previous step, the total time scales linearly with the number of observations. Arno Solin and Simo Särkkä demonstrated in State Space Methods for Efficient Inference in Student-t Process Regression that this approach provides exact inference for temporal processes while remaining computationally feasible for massive datasets.

Handling Non-Gaussian Data

The state-space approach is not limited to simple Gaussian regression. Real-world data often involves "likelihoods" that aren't Gaussian, such as binary classifications or the discrete counts of neural spike trains.

To handle this, researchers like Paul Edmund Chang and William J. Wilkinson have integrated state-space models with approximate Bayesian inference techniques. In State Space Expectation Propagation: Efficient Inference Schemes for Temporal Gaussian Processes, they show that methods like Expectation Propagation (EP) and Variational Inference (VI) can be implemented as iterative Kalman smoothing passes. This allows for Fast Variational Learning in State-Space Gaussian Process Models that scale to millions of points without the accuracy trade-offs of traditional "inducing point" approximations.

Scaling Across Dimensions and Regions

The power of the state-space formulation is increasingly being applied to complex, multi-dimensional problems:

Beyond Linear: Parallel Scans

While $O(n)$ is a massive improvement over $O(n^3)$, sequential filtering still creates a bottleneck on modern parallel hardware like GPUs. The latest frontier in this research direction involves parallel associative scans.

As explored by Weihan Li and Anqi Wu in Learning Time-Varying Multi-Region Brain Communications via Scalable Markovian Gaussian Processes, the sequential operations of a Kalman filter can be reformulated as an associative operation. This allows the inference to be parallelized across time steps, achieving logarithmic complexity ($O(\log n)$). This leap enables the real-time analysis of high-frequency data that was previously unthinkable for any kernel-based method.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_state_space_representations_for_linear_t_d4ac9529,
  title = {State Space Representations for Linear Time Gaussian Processes},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/state-space-representations-for-linear-time-gaussian-processes/rdr_d4ac952903234fb7b6372f5b784f5856},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_state_space_representations_for_linear_t_d4ac9529_v1,
  title = {State Space Representations for Linear Time Gaussian Processes},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/state-space-representations-for-linear-time-gaussian-processes/rdr_d4ac952903234fb7b6372f5b784f5856/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}