Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Series

Seungwoo Jeong, Heung-Il SukarXiv 2026

TL;DR

Conventional 2D State Space Models (SSMs) for multivariate time series processing inadvertently force an artificial sequential ordering on variables, creating computational bottlenecks and sub-optimal representations. This paper introduces the Variable-Invariant 2D SSM (VI 2D SSM), which mathematically enforces permutation equivariance across variables using global pooling. By reducing variable-axis dependency depth from $\mathcal{O}(C)$ to $\mathcal{O}(1)$, the model unlocks full parallelization and achieves state-of-the-art performance across forecasting, classification, and anomaly detection tasks with massive scalability gains.

What Problem Does This Paper Address?

When dealing with multivariate time series (MTS)—such as readings from dozens of climate sensors or hundreds of stock prices—standard models face a dilemma. Traditional 1D State Space Models (SSMs) only evolve along the temporal axis, ignoring complex cross-variable correlations. To fix this, recent 2D SSMs expand the recurrence to both the time and variable axes.

However, these 2D architectures typically scan variables sequentially (e.g., variable 1 $\rightarrow$ variable 2 $\rightarrow$ variable 3). While this makes sense for spatial data like images (where pixels have fixed geometric neighbors), it is fundamentally flawed for multivariate time series. In most MTS datasets, variables are exchangeable—there is no inherent "left-to-right" order. Forcing a sequential scan introduces an artificial spatial bias, makes the model highly sensitive to how variables are ordered, and creates a strict sequential bottleneck ($\mathcal{O}(C)$ dependency depth) that prevents GPUs from processing variables in parallel.

Methods

The authors tackle this mismatch by formalizing the permutation symmetry principle for multivariate time series.

  1. The Canonical Equivariant Form: The authors mathematically prove that any linear, permutation-equivariant variable coupling must uniquely decompose into local self-dynamics and a global pooled interaction term ($M = \alpha I_C + \beta \mathbf{1}\mathbf{1}^\top$). This proves that sequential scanning is not just slow, but structurally incorrect for exchangeable variables.
  2. VI 2D SSM: Guided by this proof, they replace sequential scanning with a permutation-invariant set aggregator (such as mean, sum, or attention pooling). This aggregator computes a single "global interaction field" $\psi(t)$ at each time step, allowing all variables to update simultaneously and independently.
  3. VI 2D Mamba Architecture: They integrate this core mechanism into a unified deep learning framework. To capture diverse temporal and frequency patterns, the architecture splits processing into three distinct pathways: a long-term temporal branch, a short-term temporal branch (configured via different discretization step sizes $\Delta$), and a spectral-domain branch utilizing the Discrete Fourier Transform (DFT). These pathways are dynamically combined using an adaptive gating mechanism.
Fig. 2. Overview of the proposed Variable-Invariant 2D Mamba. Left: Variable-Invariant 2D SSM with global coupling. A permutation-invariant set aggregator enforces invariance to variable ordering, after which the 2D state space model captures jointly coupled dynamics along temporal and variable dimensions. The globally coupled state transitions enable structured long-range dependency modeling while preserving symmetry across variables. Right: Variable-Invariant 2D Mamba architecture. The framework decomposes representation learning into complementary long-term, short-term, and spectral components. These components are fused to form a unified representation that simultaneously captures global temporal dynamics, local variations, and frequency-domain structure under a variable-invariant formulation.

Datasets

The model was extensively evaluated on a wide range of public benchmarks:

  • Long-term Forecasting: Weather, Traffic, Electricity, Exchange, and 4 ETT datasets (ETTh1, ETTh2, ETTm1, ETTm2).
  • Short-term Forecasting: The M4 dataset.
  • Classification: 10 multivariate datasets from the UEA archive (including FaceDetection, Heartbeat, and Handwriting).
  • Anomaly Detection: Five popular benchmarks: SMD, SWaT, PSM, MSL, and SMAP.

Key Insights and Ideas

  • Symmetry Simplifies Stability: Enforcing permutation equivariance reduces the mathematical complexity of the system's stability analysis. Instead of analyzing a massive, complex matrix, stability can be verified using just two scalar modes: a mean mode (global trend) and a difference mode (local variations).
  • Breaking the Sequential Chain: Moving from sequential scanning to global pooling drops the variable-axis dependency depth from $\mathcal{O}(C)$ to $\mathcal{O}(1)$. This allows the model to scale effortlessly to high-dimensional systems because the GPU can process all channels at the exact same time.
  • Task-Dependent Inductive Biases: The choice of the global pooling function ($\psi$) matters. The authors found that stable, low-variance mean pooling works best for forecasting tasks by suppressing channel-wise noise. Conversely, attention pooling excels in classification and anomaly detection, where the model needs to isolate sparse, highly specific cross-variable interactions.

Key Results

  • State-of-the-Art Accuracy: VI 2D Mamba achieved the top performance on the majority of long-term forecasting datasets and secured the highest overall F1 score for anomaly detection among all compared baselines (including Transformers and other advanced SSMs).
  • Constant-Time Scaling: In controlled scaling experiments, as the number of variables increased from 16 to 256, the training time of conventional 2D SSMs exploded linearly. Meanwhile, the proposed VI 2D SSM maintained a nearly flat, constant runtime.
  • Order Robustness: When evaluating models across random permutations of variable indices, conventional 2D SSMs suffered from high performance variance due to their reliance on ordering. The proposed model exhibited zero performance drift, validating its permutation-invariant design.

Limitations and Future Work

While the model demonstrates superior efficiency and forecasting performance, it slightly underperformed conventional sequential 2D SSMs on certain UEA classification tasks. The authors note that when variable dimensionality is low and data features are highly structured, explicit sequential modeling can sometimes act as a helpful heuristic, even if it is theoretically flawed.

Future work could focus on developing more adaptive or learned aggregation mechanisms that can dynamically shift between localized and global variable groupings without sacrificing $\mathcal{O}(1)$ parallel computational efficiency.

Summary updated

BibTeX
@misc{jeong2026permutation,
  author = {Seungwoo Jeong and Heung-Il Suk},
  title = {{Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Series}},
  year = {2026},
  eprint = {2603.08753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.08753},
}
Figure