Enabling Tensor Decomposition for Time-Series Classification via A Simple Pseudo-Laplacian Contrast

Man Li, Ziyue Li, Lijun Sun, Fugee TsungarXiv 2024 · DOI

Abstract: Standard tensor decomposition methods like Canonical Polyadic (CP) decomposition are optimized for data reconstruction, often resulting in latent features that lack the discriminative power necessary for high-performance classification. This paper introduces Pseudo-Laplacian Contrast (PLC), an unsupervised framework designed to bridge the gap between reconstruction and classification. By leveraging data augmentation and a pseudo-graph-based contrastive loss, PLC "rotates" the latent feature space to enhance class separation without compromising reconstruction integrity. Evaluated on three real-world time-series datasets (HAR, Sleep-EDF, and PTB-XL), PLC achieves a significant accuracy boost of over 5% compared to traditional tensor models and demonstrates superior data efficiency and computational speed.

1. Introduction

Tensors are essential for representing multi-dimensional data, such as multi-channel time series. CP decomposition is a classical technique used to factorize these tensors into interpretable components. However, its primary objective—minimizing reconstruction error—often leads to a "messy" latent space where different classes are poorly separated. This is largely due to the non-uniqueness and rotation-invariance of the decomposition, where many mathematically equivalent solutions exist, but only a few are useful for downstream classification.

Comparison of feature spaces and t-SNE visualizations for traditional CP, instance-wise contrast, and the proposed Pseudo-Laplacian Contrast (PLC).

2. The Pseudo-Laplacian Contrast (PLC) Framework

The PLC framework introduces an unsupervised approach to refine tensor features. It consists of four primary stages:

  • Data Augmentation: Input tensors are transformed into augmented "views" using techniques such as jittering, bandpass filtering, and 3D rotation.
  • Pseudo-Graph Construction: A simple clustering algorithm (e.g., k-means) is applied to the current features to generate "pseudo-labels." These labels form a signed graph where likely similar samples are linked with positive weights and dissimilar ones with negative weights.
  • Cross-View Laplacian Contrast: A Graph Laplacian penalty is applied across the original and augmented views. This encourages features belonging to the same pseudo-class to cluster together while pushing different classes apart.
  • Iterative Optimization: The model uses an Alternating Least Square (ALS) algorithm to iteratively update features, refine the pseudo-graph, and optimize the contrastive loss.
The proposed PLC framework (a) and a deep analysis of the reconstruction vs. classification space (b).

3. Key Insights: The "Rotation" Strategy

A critical insight of this work is the exploitation of the "flat" reconstruction loss region. Since many solutions yield similar reconstruction errors, PLC uses the Laplacian penalty to "rotate" the solution within this region toward an "angle" that maximizes class preservation. Unlike standard instance-contrastive methods (e.g., InfoNCE) that only compare a sample to its own augmentation, PLC is "block-contrastive," utilizing group-level signals from the pseudo-graph to provide a more robust learning signal.

4. Experimental Evaluation

The framework was tested on three datasets: Human Activity Recognition (HAR), Sleep-EDF (sleep stages), and PTB-XL (clinical ECGs). Time-series data were converted to 3D tensors via Short-Time Fourier Transform (STFT).

  • Accuracy: PLC outperformed standard tensor models by an average of 5.35%.
  • Efficiency: On the HAR dataset, PLC required three times less training data than the state-of-the-art Augmented Tensor Decomposition (ATD) to achieve comparable accuracy.
  • Performance: The running time per epoch remained competitive with deep self-supervised models like SimCLR and BYOL, despite the added contrastive constraints.

5. Conclusion

PLC effectively addresses the classification limitations of traditional tensor decomposition. By integrating unsupervised clustering with cross-view contrastive learning, it produces highly discriminative features suitable for complex time-series analysis. Future research will focus on improving the robustness of the pseudo-graph construction in cases where inherent data correlations diverge from ground-truth class structures.

Summary updated

BibTeX
@misc{li2024enabling,
  author = {Man Li and Ziyue Li and Lijun Sun and Fugee Tsung},
  title = {{Enabling Tensor Decomposition for Time-Series Classification via A Simple Pseudo-Laplacian Contrast}},
  year = {2024},
  eprint = {2409.15200},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.15200},
}
Figure