Provable Benefits of Complex Parameterizations for Structured State Space Models

Yuval Ran-Milo, Eden Lumbroso, Edo Cohen-Karlik, Raja Giryes, Amir Globerson, Nadav Cohen

Abstract

Structured State Space Models (SSMs) have emerged as a powerful class of architectures for long-sequence modeling, yet their reliance on complex-valued parameterizations has remained largely an empirical heuristic. This paper provides the first formal theoretical proof for why SSMs, such as S4 and Mamba, benefit fundamentally from complex numbers ($\mathbb{C}$) over real numbers ($\mathbb{R}$). We identify an "exponentiality barrier" where real-valued SSMs require either prohibitive dimensions or unlearnably large parameter magnitudes to represent basic oscillatory patterns and delays. Our findings are validated through rigorous mathematical analysis and experiments on synthetic tasks and the Long Range Arena benchmark.

Introduction

In the landscape of deep learning, most successful architectures—from Convolutional Neural Networks to Transformers—rely almost exclusively on real-valued weights. Structured State Space Models (SSMs) are a notable exception. While empirical results in audio and video processing suggested that complex numbers were beneficial for "continuous" data, the underlying theoretical necessity remained unproven.

This research addresses the gap between empirical success and theoretical understanding. By investigating the expressivity and learnability of SSMs, the authors demonstrate that complex parameterization is not merely a preference but a requirement for efficient sequence modeling in the presence of oscillations and time delays.

The Exponentiality Barrier

The core of the paper’s argument lies in the "exponentiality barrier." Real-valued diagonal SSMs are essentially compositions of real decaying exponentials. To represent an oscillation (such as a simple sine wave) or a fixed-time delay, a real-valued model must perform complex cancellations across many exponential terms.

Through Forward Difference Theory, the authors prove that for a real SSM to approximate a $t$-step delay, its parameters must grow at a rate of $2^t$. In practical terms, for a sequence length of 10,000, the required parameter values would exceed the number of atoms in the universe. This creates a dual failure:

  1. Numerical Robustness: The required values quickly exceed the limits of standard 32-bit or 64-bit floating-point precision.
  2. Learnability: Gradient descent cannot effectively navigate a landscape where weights must reach such extreme magnitudes to solve simple tasks.

In contrast, complex-valued SSMs represent oscillations naturally through rotation in the complex plane, maintaining compact dimensions and stable parameter magnitudes.

Methodology

The authors employ a multi-faceted approach to validate these theoretical claims:

Expressivity and Learnability Analysis

While both real and complex diagonal SSMs are technically "universal" (given infinite dimensions), the authors prove a massive gap in efficiency. They analyze the "parameter magnitude" required for a model to function, showing that real SSMs are fundamentally hindered by the need for exponential scaling to match the performance of complex counterparts.

Experimental Benchmarks

The theory was tested across a hierarchy of tasks:

  • Synthetic Mappings: Tasks involving canonical copies (delays) and basic oscillatory sequences.
  • Sequential CIFAR-10: A standard image classification task flattened into a sequence, part of the Long Range Arena (LRA).
  • Induction-Head Task: A synthetic task designed to evaluate the "selectivity" mechanism found in the Mamba architecture.

Key Results

Synthetic and Real-World Performance

In controlled synthetic environments, real-valued SSMs failed to learn simple copy or oscillatory tasks, stagnating at a normalized error of ~0.8. Complex-valued SSMs solved these same tasks with near-zero error ($10^{-5}$).

This gap translated to real-world data as well. On sequential CIFAR-10, a complex-parameterized S4 model achieved 89.10% accuracy, whereas the real-valued version reached only 78.27%. This 10% performance delta underscores the practical impact of the exponentiality barrier.

The Role of Selectivity

One of the paper's most intriguing findings involves "selectivity"—the mechanism in Mamba that makes SSM parameters dependent on the input. The authors found that selectivity can act as a bridge. In the induction-head task, real-valued models could match complex models only if selectivity was fully enabled for all parameters ($B, C,$ and $\Delta$). This suggests that selectivity allows the model to "import" frequencies from the input data, potentially bypassing the need for complex weights in specific discrete domains like natural language processing.

Conclusion and Future Work

This work establishes that complex parameterization is a fundamental requirement for efficient, learnable SSMs in tasks involving continuous-time signals. While selectivity offers a potential workaround for real-valued models in certain contexts, the "oscillation gap" remains a primary hurdle for standard architectures.

Future research directions include quantifying the prevalence of these "failure-case" mappings in common real-world datasets and developing a more rigorous formal proof for how selectivity interacts with complex parameterization. For now, the study provides a clear theoretical mandate: when modeling sequences with inherent oscillations or delays, complex numbers are indispensable.

Summary updated

BibTeX
@inproceedings{ranmilo2024provable,
  author = {Yuval Ran-Milo and Eden Lumbroso and Edo Cohen-Karlik and Raja Giryes and Amir Globerson and Nadav Cohen},
  title = {{Provable Benefits of Complex Parameterizations for Structured State Space Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=h15RyEj151},
}
Figure