Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

KOSS: Kalman-Optimal Selective State Spaces for Long-Term Sequence Modeling

About

Recent selective state space models (SSMs), such as Mamba and Mamba-2, have demonstrated strong performance in sequence modeling owing to input-dependent selection mechanisms. However, these mechanisms lack theoretical grounding and cannot support context-aware selection from latent state dynamics. To address these limitations, we propose KOSS, a Kalman-optimal Selective State Space model that formulates selection as latent state uncertainty minimization. Derived from estimation theory, KOSS adopts a continuous-time latent update driven by a Kalman gain that dynamically modulates information propagation based on content and context, enabling a closed-loop, context-aware selectivity mechanism. To ensure stable computation and near-linear scalability, KOSS employs global spectral differentiation for frequency-domain derivative estimation, along with a segment-wise scan for hardware-efficient processing. On a selective copying task with distractors, KOSS achieves over 79\% accuracy while baselines drop below 20\%, demonstrating robust context-aware selection. Furthermore, across nine long-term forecasting benchmarks, KOSS reduces MSE by 2.92--36.23\% and consistently outperforms state-of-the-art models in both accuracy and stability. To assess real-world applicability, a case study on secondary surveillance radar (SSR) tracking confirms KOSS's robustness under irregular intervals and noisy conditions and demonstrates its effectiveness in real-world applications. Finally, supplementary experiments verify Kalman gain convergence and the frequency response of spectral differentiation, providing theoretical support for the proposed closed-loop design.

Lei Wang, Xin Tan, Mingwei Wang, Ying Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Multivariate long-term series forecastingWeather (test)
MSE0.144
269
Multivariate long-term series forecastingTraffic (test)
MSE0.224
219
Long-term forecastingETTm1
MSE0.215
184
Long-term forecastingETTh1
MSE0.298
179
Long-term forecastingETTm2
MSE0.11
174
Multivariate long-term series forecastingElectricity (test)
MSE0.121
166
Long-term forecastingETTh2
MSE0.192
163
Multivariate long-term series forecastingExchange (test)
MSE0.121
145
Multivariate long-term time series forecastingILI (test)
MSE1.108
96
Showing 9 of 9 rows

Other info

Follow for update