# Approximate Memory Suffices for Universal Approximation with State Space Models

*Yoshihiro Maruyama*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148575) · [OpenReview](https://openreview.net/forum?id=wqs1OgZFKP) · [Open on the map](../papers.html#p148575)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [State Space Models](../pgroup/552.md) · Type: theory · Keywords: universal approximation, state space models, fading memory, theoretical analysis, sequence modeling

Areas: [Memory](../areas/memory.md) › Memory mechanisms › State-Space Memory; [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › State Space Models

## Summary
The paper shows that a simple state space model with a fixed diagonal linear contraction and a bank of short exponential traces can universally approximate any continuous causal fading-memory operator, establishing that approximate memory suffices for universal approximation.

## Explained to a 5-year-old
We want a machine that can listen to a long story and guess what comes next. The machine has a tiny memory that gets weaker the farther back it looks, like a fading echo. By using a few clever tricks, we can make this tiny memory act like a bigger one, so it can learn any kind of story. But it cannot remember every tiny detail perfectly forever. This shows that even a very simple memory can be powerful enough to understand many things.

## Explained to a 5-year-old, longer
Imagine a robot that reads a long story and tries to guess what happens next. To do this, the robot needs to remember what happened before. But remembering everything forever would need a lot of space. So the robot uses a small memory that gets weaker the older the information is, like a whisper that fades. This means recent events are clear, but older ones become blurry. The researchers found a way to make this small, fading memory act like a bigger, more complete memory. They did this by using a special trick that pieces together the recent events from the fading echoes. Even though the memory is simple, it can still learn to predict many different kinds of stories. However, there is a limit: the robot cannot perfectly remember every tiny detail from the distant past. The researchers also showed that trying to remember exact details forever is impossible with this kind of memory. This tells us that simple, fading memories can be surprisingly powerful for understanding sequences. It helps us design easier and more efficient machines for reading and predicting information.

## For a technical reader
The work proves that a very simple linear recurrence-a diagonal contraction with short exponential traces-can approximate any continuous fading-memory sequence operator. By extracting recent inputs via a singular Vandermonde matrix, the model achieves uniform approximation while keeping dynamics input-independent and free of nonlinear updates. The result also shows a fundamental limitation: exact delay recovery cannot be achieved with any fixed finite trace bank. This clarifies why many modern state-space models, despite their structural simplicity, remain expressive enough for complex sequence tasks.

## Problem
What is the minimal complexity of recurrent memory needed to approximate stable causal sequence-to-sequence maps? Specifically, can a very simple linear contraction be sufficient for fading-memory operators?

## Method
The approach constructs a state space model whose recurrence is a fixed diagonal linear contraction, using a bank of short exponential traces and a singular Vandermonde extraction to approximately reconstruct recent inputs while the tail becomes negligible. This yields a simple, input-independent dynamics without nonlinear hidden-state updates or delay lines.

## Results
The approach shows that any continuous causal fading-memory operator can be uniformly approximated by the simple model, and that exact delay recovery is impossible with any fixed finite trace bank, highlighting a conditioning cost in the readout.

## Contributions
It provides a theoretical characterization that approximate memory suffices for universal approximation, separating recurrent expressivity from exact memory storage, and reveals a fundamental limitation on exact delay recovery. The result clarifies why highly stable, structurally simple SSM cores can still be universal approximators.

## Limitations and assumptions
The result assumes the input set is compact and the operator is continuous, causal, time-equivariant, and has uniformly fading memory. It also requires the extraction to be accuracy-dependent, which may incur conditioning costs.

## Research questions this paper is counted under

- [Can linear recurrent models approximate any continuous causal sequence-to-sequence mapping?](../q/704.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148575)
