TL;DR
When training data is scarce, a sequence model’s built-in assumptions—its inductive bias—determine whether it learns effortlessly or struggles to get off the ground. This paper shows that State Space Models (SSMs) act like frequency filters whose initial preferences often clash with the actual signals of a given task. By introducing a fast pre-training step called Task-Dependent Initialization (TDI), the authors tune the model’s "ears" to the right frequencies before training even starts, dramatically boosting learning speed and accuracy in low-data regimes without adding a single parameter.
What Problem Does This Paper Address?
Scaling laws are wonderful until you run out of data—a reality quickly encountered in medical, scientific, and specialized industrial domains. When samples are limited, we rely on a model's inductive bias to guide generalization.
State Space Models (SSMs), like S4 and S4D, have become powerhouse architectures for modeling long sequences. Under the hood, classical linear time-invariant (LTI) SSMs process sequences via structured convolutions—essentially acting as signal filters. However, standard SSMs use fixed, task-agnostic initializations. Imagine trying to listen to a high-pitched flute solo through a subwoofer: if the task's vital information lives in high frequencies, a default low-frequency SSM initialization has to waste precious training samples just fighting its own bad habits before it can learn the actual task. The authors ask: Can we mathematically characterize what an SSM prefers to learn, and align that preference with our data before training begins?
Methods
To demystify what SSMs favor in small-sample regimes, the authors bridge signal processing and kernel theory (a mathematical framework where learning is viewed through similarity functions, and higher "eigenvalues" mean faster learning).
- The SSM-Induced Kernel (Novel Theory): They treat an LTI SSM’s convolution operator (represented as a structured Toeplitz matrix) as a feature map. They prove theoretically that the eigenvalues of this induced kernel are asymptotically governed by the SSM’s frequency response. Simply put: frequencies that the SSM naturally amplifies correspond to features the model learns with very few examples.
- Task-Dependent Initialization / TDI (Novel Algorithm): Armed with this insight, TDI peeks at the training data before standard supervised training:
- Estimate Task Spectrum: It identifies which frequencies actually matter for predicting the labels (using input-output cross-covariance in theory, or a practical Fisher log-power ratio of between-class to within-class variance for classification).
- Peak Initialization: It places the SSM's mathematical poles directly at those dominant, label-predictive frequencies (optionally refining them via a lightweight spectral matching loss).
- Standard Training: The model then undergoes completely normal training. Architecture, parameter counts, training objectives, and inference costs remain 100% identical to the baseline. In deep SSMs, TDI is applied solely to the very first SSM layer.
Datasets
No new real-world benchmarks are introduced, though controlled synthetic frequency-classification tasks (e.g., matched low-frequency vs. mismatched high-frequency tasks) are constructed to isolate spectral mismatch. Evaluations span:
- UCR Time-Series Archive: ECG5000, FordA, FordB, TwoPatterns, and Wafer.
- Vision, Audio, & Long-Range Arena Benchmarks: Sequential and Permuted MNIST (sMNIST, pMNIST), CIFAR-10, Speech Commands (and SC10), ListOps, and PathFinder.
Note: Datasets are subsampled down to tiny fractions (from 100% down to 0.1%) to simulate data scarcity.
Key Insights and Ideas
- Frequency Response = Inductive Bias: An SSM isn't a blank slate; its initial state matrix dictates a spectral bias. Connecting Toeplitz singular values to kernel eigenvalues gives us an exact mathematical knob to turn "hard-to-learn" late modes into "easy-to-learn" early modes.
- Fixing Mismatch, Not Magic: TDI isn't a magical universal booster. In controlled experiments where a low-frequency model meets a low-frequency task, TDI barely changes anything. Its superpower emerges specifically when the default initialization is mismatched with the task.
- Head Starts vs. Finish Lines: TDI excels at early learning and fixed-budget data efficiency, rather than raising the ultimate accuracy ceiling. Given enough training epochs or massive datasets, a standard baseline will eventually overcome its poor initialization and catch up.
- When Spectral Alignment Fails: On tasks like ListOps (hierarchical reasoning) and PathFinder (spatial connectivity), TDI offers virtually zero benefit. Why? Because their labels depend on compositional or spatial rules, not 1D frequency signatures! Even negative results neatly validate the underlying theory.
Key Results
- One-Layer Trainable SSMs: In low-data regimes ($\le$16% of training data), TDI beats the baseline on all 7 tested datasets. Standout final-accuracy jumps include +17.3 percentage points on sMNIST, +9.9 pts on ECG5000, and +7.6 pts on Wafer. At 64%–100% data, gains vanish or slightly reverse (-1.2 to -2.3 pts), confirming TDI is a finite-sample tool.
- Deep SSMs (S4D): Across 8 benchmarks, paired accuracy across all datasets peaks at +8.5 percentage points at the 1% training data mark (and +3.9 pts at 2.2% data). On sMNIST in the low-data regime, mean accuracy jumps from 56.3% to 67.4%.
- Faster Convergence: On sMNIST with just 2.15% of the data, extending training to 100 epochs shows TDI hits 80% test accuracy in 20.0 epochs vs. 34.2 epochs for the baseline, though both finish within 0.12 percentage points of each other by epoch 100.
Limitations and Future Work
- LTI vs. Selective SSMs: The math relies on Linear Time-Invariant dynamics (like S4D). Extending this framework to modern input-dependent selective SSMs (like Mamba)—perhaps via local Taylor-like approximations around an LTI reference—is left for future work.
- Extreme Data Scarcity: At microscopic data ratios (e.g., 0.1% training data), there aren't enough samples to reliably estimate which frequencies matter, causing TDI's gains to flatten out (+0.0 pts).
- First-Layer & 1D Focus: The analysis focuses on 1D scalar sequences and initializes only the first deep SSM layer (initializing all layers with the raw input spectrum proved inconsistent). Generalizing to cross-channel multivariate structures and layer-specific spectral alignment remains an open frontier.
Summary updated