Abstract
Unsupervised time-series representation learning often struggles with preserving global context and managing sampling bias. We present Bilinear Temporal-Spectral Fusion (BTSF), a novel framework that leverages iterative fusion of temporal and spectral information. By utilizing instance-level augmentation and a bilinear interaction mechanism, BTSF achieves state-of-the-art performance across classification, forecasting, and anomaly detection tasks.
Introduction
The predominant paradigm in unsupervised time-series modeling relies on contrastive learning via "time slicing." This approach involves segmenting long sequences into smaller windows to create positive and negative pairs. However, this method introduces significant drawbacks:
- Loss of Global Context: Slicing disrupts long-term dependencies, such as circadian rhythms in physiological data.
- Sampling Bias: Similar segments from different sequences are often incorrectly treated as negatives, leading to "false negatives."
- Neglect of the Frequency Domain: Most models focus exclusively on temporal features, overlooking critical periodic information available in the spectral domain.
Methodology
BTSF addresses these limitations through three core innovations centered on a unified temporal-spectral view.
Instance-level Augmentation
Instead of destructive slicing, BTSF processes the entire time series. It generates multiple views of the same instance using simple dropout (randomly zeroing data points). This preserves global structure while ensuring the model remains robust to noise.
Iterative Bilinear Fusion
The architecture encodes data through two parallel paths: a temporal encoder (using dilated convolutions) and a spectral encoder (using Fast Fourier Transform, FFT). These representations are then integrated via bilinear fusion, a matrix multiplication process that captures the affinities between every time point and frequency component.
S2T and T2S Aggregation
To refine the fused representations, BTSF employs iterative loops. The Spectrum-to-Time (S2T) module uses spectral data to enhance temporal features, while the Time-to-Spectrum (T2S) module performs the inverse. This iterative "fusion-and-squeeze" process ensures cross-domain alignment. To maintain efficiency, the authors utilize a low-rank approximation to factorize the interaction matrix, preventing quadratic memory scaling.
Experimental Results
The model was evaluated on diverse benchmarks including Human Activity Recognition (HAR), Sleep-EDF, and various forecasting and anomaly detection datasets (e.g., ETT, SMD, WADI).
The "Overlap" Breakthrough
A key insight from the study is the alignment between temporal and spectral features. While previous models showed low agreement (approx. 30% overlap in false predictions), BTSF achieves a 96.6% overlap. This indicates that the two domains are successfully synchronized, reinforcing the learned representations.
Performance Highlights
- Classification: BTSF outperformed the previous state-of-the-art (SOTA) unsupervised method, TNC, by nearly 6% on the HAR dataset.
- Forecasting: In long-term scenarios (720-step lookahead), BTSF significantly reduced Mean Square Error (MSE), demonstrating superior capture of long-term dependencies.
- Anomaly Detection: BTSF established new SOTA records across five multivariate datasets, even outperforming supervised models on WADI and SMD.
Discussion and Conclusion
BTSF demonstrates that simple instance-level dropout is often a more effective augmentation strategy than complex time-warping, as it maintains the global "vibe" of the data. By capturing second-order features through bilinear fusion, the model effectively models non-linear interactions between temporal events and frequency components.
While the iterative nature of the S2T/T2S modules adds some computational depth, performance typically converges within three loops. Future research may extend this temporal-spectral alignment to other modalities like video or audio, where the interplay between time and frequency remains paramount.
Summary updated