TL;DR
Foundation models for time series are powerful but notoriously resource-hungry, often crashing standard GPUs when faced with high-dimensional multivariate data. This paper demonstrates that integrating simple dimensionality reduction "adapters"—like PCA—can speed up fine-tuning by up to 10x and allow 4.5x more datasets to fit on a single GPU, all without sacrificing classification accuracy.
What Problem Does This Paper Address?
While Time Series Foundation Models (TSFMs) have revolutionized the field by providing versatile encoders trained on massive datasets, they hit a major bottleneck with multivariate time series (MTS). Most current TSFMs are univariate by design, meaning they process every channel of a dataset separately.
When a dataset has hundreds or thousands of channels (common in medical or industrial sensors), memory consumption and runtime skyrocket. Researchers often encounter "CUDA Out of Memory" (COM) or "Time Out" (TO) errors on standard hardware like an NVIDIA V100. This paper seeks to bridge the gap between these massive models and the limited computational resources available to most engineers and researchers.
Methods
The authors propose placing a "dimensionality reduction adapter" at the very beginning of the foundation model pipeline. They compare several techniques to compress the input channels (D) into a smaller subset (D'):
- Classical Methods: Principal Component Analysis (PCA), Truncated Singular Value Decomposition (SVD), and Random Projection. The authors specifically adapted PCA for 3D time-series matrices by reshaping data to capture spatial correlations while preserving temporal structure.
- Feature Selection: Variance-Based Feature Selection (VAR), which simply keeps the channels with the highest variance.
- Neural Network Adapters: A "Linear Combiner" (
lcomb), which is a learnable layer that finds the best linear combination of channels through supervised fine-tuning. They also tested a regularized version calledlcomb_top_k.
The study evaluates these adapters on two specific TSFMs: MOMENT (a large-scale model with 341M parameters) and a smaller ViT-based model (8M parameters).
Datasets
The researchers used 12 multivariate datasets from the well-known UEA repository. These datasets were chosen because they contain at least 10 channels, making them suitable for dimensionality reduction tests. Examples include:
- Physiological: Heartbeat, MotorImagery.
- Acoustic: PhonemeSpectra, SpokenArabicDigits.
- Sensor/Motion: DuckDuckGeese, FaceDetection, NATOPS, PEMS-SF.
Key Insights and Ideas
- The "Intrinsic Dimension" Win: Perhaps the most surprising finding is that you can often compress a dataset with hundreds of channels down to just five without a statistically significant drop in classification accuracy. This suggests that many MTS datasets contain massive amounts of redundant information across channels.
- Simplicity Scales: Unsupervised, classical methods like PCA often outperformed or matched the more complex, learnable neural adapters. PCA, in particular, consistently ranked as the top performer across different models and datasets.
- Preprocessing vs. In-Loop Training: Non-deep learning adapters (like PCA) only need to process the data once to generate embeddings. This allows for rapid fine-tuning of only the model "head," whereas learnable adapters require the data to pass through the adapter and the foundation model in every single training step, negating much of the speed benefit.
Key Results
- Massive Speedups: Using adapters resulted in a 10x speedup for the MOMENT model and a 2x speedup for the ViT model compared to full fine-tuning.
- Hardware Accessibility: Without adapters, the MOMENT model failed (due to memory or time limits) on 10 out of 12 datasets. With the
lcombadapter, it successfully ran on 9 out of 12. - Efficiency: The authors achieved a 4.5x increase in the number of datasets that could fit on a single GPU within a strict two-hour fine-tuning window.
- Accuracy Preservation: Pairwise p-value tests confirmed that there was no statistically significant difference in accuracy between using an adapter and the (much slower) process of using all initial channels.
Limitations and Future Work
- Fixed Compression: The study primarily focused on reducing dimensionality to a fixed number (5 channels). In practice, the "optimal" number of channels is likely dataset-dependent.
- Task Specificity: The paper focuses exclusively on classification. It remains to be seen if these dimensionality reduction techniques hold up as well for more sensitive tasks like forecasting or anomaly detection, where losing a single channel might result in losing a critical lead indicator.
- Future Directions: The authors suggest further optimizing these techniques for even larger datasets and exploring more complex "Patch PCA" configurations to better handle local temporal variations.
Summary updated