Predicting the future is challenging, especially when the variables you are tracking—like traffic sensors across a city or power usage across a grid—interact in ways that change over time. In a new paper, researchers introduce Sumba, a novel model that uses a "structured matrix basis" to capture these evolving relationships with unprecedented stability and clarity.
TL;DR
Sumba is a multivariate time series forecasting model that represents complex, evolving relationships between variables as a mixture of learned "basis" templates. By constraining these relationships within a structured mathematical space, it achieves state-of-the-art accuracy (up to an 8.5% improvement) while providing interpretable insights into the system's underlying dynamics.
The Challenge of Dynamic Spatial Correlations
In multivariate time series forecasting, models must account for two primary factors: temporal dependencies (how a single variable changes over time) and spatial correlations (how different variables affect each other).
The "spatial" component is notoriously tricky because relationships are rarely static. For example, traffic speeds on two road segments might only be heavily correlated during rush hour. Existing "dynamic graph" models attempt to learn these relationships on the fly, but they often suffer from high variance. Because they try to generate a brand-new relationship structure for every tiny window of data, they are incredibly sensitive to noise and outliers. The authors argue that these models lack a "well-constrained" output space, making them hard to train and even harder to interpret.
The Sumba Approach: Structured Matrix Basis
The core innovation of Sumba is moving away from generating relationships from scratch. Instead, it learns a set of $M$ basis matrices—think of these as "templates" for different modes of system behavior.
Key technical components include:
- Convex Combination of Bases: The model represents the relationship structure at any time $t$ as a weighted sum of these templates. This ensures the output is always bounded and stable.
- SVD-based Parameterization: Each basis matrix is decomposed using Singular Value Decomposition (SVD) into $U\Sigma_m V^\top$. Crucially, all bases share the same $U$ and $V$ (orthogonal matrices representing a common coordinate system), while each has a unique diagonal matrix $\Sigma_m$ acting as a distinct "fingerprint."
- The Cayley Map: To keep $U$ and $V$ perfectly orthogonal during training without expensive computational overhead, the authors use the Cayley map—a clever first-order approximation of the matrix exponential.
- Low-Rank Approximation: By keeping only the top $K$ components, Sumba reduces the number of parameters, making it much faster and more scalable than standard methods.
Key Insights and Interpretability
- Constraint as a Strength: By forcing the model to pick from a mixture of learned templates rather than generating a graph from scratch, Sumba effectively filters out the noise that plagues other dynamic models.
- Shared Geometry: The decision to share the $U$ and $V$ matrices across all bases acts as a powerful regularizer. It assumes that while the strength of connections might change, the fundamental geometry of how the variables relate remains consistent.
- Interpretability is Built-In: Because the model uses weights ($\alpha$) to mix the bases, researchers can track these weights over time to see what the model is prioritizing. For example, in solar energy forecasting, the model automatically learns distinct "daytime" and "nighttime" basis structures and switches between them as the sun rises and sets.
State-of-the-Art Results
The researchers evaluated Sumba on six diverse, real-world benchmark datasets: Electricity, Weather, PEMS, ETTh2, Traffic, and Solar-Energy.
Sumba consistently outperformed 15 state-of-the-art baselines, including popular Transformer-based and GNN-based models.
- Accuracy: It achieved up to an 8.5% improvement in Mean Absolute Error (MAE) on the Weather dataset.
- Efficiency: Thanks to the low-rank SVD approach, Sumba has a computational complexity of $O(NKD)$, which is significantly better than the $O(N^2D)$ complexity found in many other dynamic graph methods. This makes it highly suitable for systems with a large number of variables ($N$).
- Convergence: Training curves showed that Sumba converges much faster than competitors like TPGNN or FourierGNN, often reaching peak performance within just 5 epochs.
Limitations and Future Work
While Sumba is a major step forward, the authors note a few areas for future growth. The number of basis matrices ($M$) is currently a fixed hyperparameter; future versions might learn to adjust this number automatically based on data complexity. Additionally, while Sumba excels at short-to-medium term forecasting, its long-term capabilities could be further bolstered by integrating it with different types of temporal encoders, such as Structured State Space models.
Ultimately, Sumba proves that sometimes, putting the right mathematical constraints on a model doesn't just make it more stable—it makes it smarter.
Summary updated