Temporal Streaming Batch Principal Component Analysis for Time Series Classification (Student Abstract)

Enshuo Yan, Huachuan Wang, Weihao XiaAAAI 2025

Abstract

Modern deep learning architectures often struggle with long-sequence multivariate time series due to the curse of dimensionality and vanishing temporal context. This paper proposes Temporal Streaming Batch Principal Component Analysis (TSBPCA), a novel dimensionality reduction method that processes data in sequential time blocks. Unlike traditional PCA, TSBPCA maintains temporal awareness by feeding data chronologically and updating projection matrices incrementally. Our evaluation across five real-world datasets shows that TSBPCA acts as a highly effective pre-processing step, notably improving LSTM accuracy by 4.23% on average while reducing computational time by over 62%.

Introduction

The proliferation of sensor-based monitoring in industrial and medical fields has led to an abundance of long-sequence multivariate data. While models like Transformers and Recurrent Neural Networks (RNNs) are designed for sequences, they face significant challenges:

  1. Computational Bottlenecks: High-dimensional data over long durations requires immense memory and compute resources.
  2. Context Loss: Standard models often fail to capture long-range dependencies due to vanishing gradients or the quadratic complexity of attention mechanisms.

Traditional dimensionality reduction techniques like standard PCA are often unsuitable because they require loading the entire dataset into memory and ignore the inherent sequential nature of time series. TSBPCA addresses these gaps by providing a "temporally aware" streaming approach to dimensionality reduction.

Methodology

TSBPCA adapts streaming PCA to the specific requirements of time series data by processing information in discrete time blocks ($T$). The method consists of several key components:

  • Sequential Feeding: Data is processed chronologically rather than through random sampling. This ensures that the resulting compressed features preserve the temporal flow and variable interactions over time.
  • Incremental Updates: The algorithm maintains a running estimate of the covariance. Upon receiving a new time block, it updates the projection matrix ($Q_j$) by balancing historical data with the new batch.
  • Dual-Iteration Reconstruction: Utilizing a mathematical update rule based on QR-decomposition, the method continuously refines the compact representation of the sequence.
  • Model Integration: TSBPCA serves as a plug-and-play pre-processing layer. The compressed "compact representation" is fed into downstream classifiers such as LSTMs, Transformers, or Informers.

Experimental Setup

The effectiveness of TSBPCA was evaluated using five diverse real-world datasets:

  • UWave (UWaveGestureLibrary): Gesture recognition.
  • HB (Heartbeat): Cardiac signal monitoring.
  • SR1 & SR2 (SelfRegulationSCP1 & SCP2): Brain-computer interface data.
  • EC (EthanolConcentration): Chemical sensor data.

These datasets vary in sequence length (300 to 1800 steps) and variable count (3 to 61), providing a robust test for the method's versatility.

Results and Discussion

The experimental results, summarized in Figure 1, demonstrate that TSBPCA-enhanced models consistently outperform their "w/o PCA" counterparts in both accuracy and efficiency.

Performance comparison of various models with and without TSBPCA across five datasets.

Key Findings:

  • Synergy with LSTMs: The most significant gains were observed with LSTM models. On average, TSBPCA improved LSTM accuracy by 4.23% and reduced training time by 62.15%. This suggests that the compressed, time-ordered representations are particularly well-suited for the cyclic nature of RNNs.
  • Efficiency Gains: In datasets like EthanolConcentration (EC) and SR2, time efficiency improved by up to 80%. For instance, on the UWave dataset, LSTM training time dropped from 16.72s to 9.08s.
  • Noise Reduction: By removing redundant variables and noise through PCA, TSBPCA often makes it easier for downstream models to identify relevant signals, leading to higher accuracy despite the data compression.

Conclusion

TSBPCA offers a powerful solution for managing long, high-dimensional time series data. By integrating temporal awareness into the dimensionality reduction process, it enables deep learning models to achieve higher accuracy with significantly lower computational overhead. Future work will focus on refining the data reconstruction process for highly non-linear or chaotic time series and further optimizing the algorithmic implementation of the PCA update step.

Summary updated

BibTeX
@inproceedings{yan2025temporal,
  author = {Enshuo Yan and Huachuan Wang and Weihao Xia},
  title = {{Temporal Streaming Batch Principal Component Analysis for Time Series Classification (Student Abstract)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i28.35319},
}
Figure