TSCMamba: Mamba Meets Multi-View Learning for Time Series Classification
Md Atik Ahamed, Qiang Cheng
TL;DR
TSCMamba tackles multivariate time series classification by explicitly addressing shift equivariance and inversion invariance. It combines spectral features from continuous wavelet transforms with local ROCKET-based and global MLP-based temporal features, fused through a learnable gating mechanism, and processed by a Mamba state-space model with a novel tango-scanning scheme to model long-range dependencies efficiently. The approach achieves state-of-the-art performance across 30 diverse UEA datasets, while reducing floating point operations and memory usage relative to strong baselines. The work introduces inversion-invariant learning and provides thorough ablations, complexity analyses, and practical guidance, highlighting the potential of multi-view learning and efficient state-space models for real-world time-series tasks.
Abstract
Multivariate time series classification (TSC) is critical for various applications in fields such as healthcare and finance. While various approaches for TSC have been explored, important properties of time series, such as shift equivariance and inversion invariance, are largely underexplored by existing works. To fill this gap, we propose a novel multi-view approach to capture patterns with properties like shift equivariance. Our method integrates diverse features, including spectral, temporal, local, and global features, to obtain rich, complementary contexts for TSC. We use continuous wavelet transform to capture time-frequency features that remain consistent even when the input is shifted in time. These features are fused with temporal convolutional or multilayer perceptron features to provide complex local and global contextual information. We utilize the Mamba state space model for efficient and scalable sequence modeling and capturing long-range dependencies in time series. Moreover, we introduce a new scanning scheme for Mamba, called tango scanning, to effectively model sequence relationships and leverage inversion invariance, thereby enhancing our model's generalization and robustness. Experiments on two sets of benchmark datasets (10+20 datasets) demonstrate our approach's effectiveness, achieving average accuracy improvements of 4.01-6.45\% and 7.93\% respectively, over leading TSC models such as TimesNet and TSLANet.
