ATD: Augmenting CP Tensor Decomposition by Self Supervision

Chaoqi Yang, Cheng Qian, Navjot Singh, Cao Xiao, M Brandon Westover, Edgar Solomonik, Jimeng Sun

TL;DR

ATD (Augmented Tensor Decomposition) integrates self-supervised learning and data augmentation directly into the classical CP tensor decomposition framework. By optimizing for both data "fitness" and feature "alignment," it produces highly discriminative features for classification while using less than 5% of the parameters required by state-of-the-art deep learning models.

What Problem Does This Paper Address?

Tensor decomposition, specifically the CANDECOMP/PARAFAC (CP) model, is a staple for reducing the dimensionality of multi-dimensional data like medical signals (EEG, ECG) or sensor data. Traditionally, these models focus on fitness: they try to minimize the reconstruction error (often using the Frobenius norm) to fit the raw data as closely as possible.

However, "fitting" the data isn't the same as "understanding" it for a specific task. Raw signals often contain class-irrelevant noise. If a model fits that noise too perfectly, the resulting features perform poorly in downstream classification. Modern deep learning solves this using Self-Supervised Learning (SSL) and data augmentation to learn robust representations, but these models are often "black boxes" with millions of parameters. The authors identify a gap: how can we bring the discriminative power of SSL to the interpretable, parameter-efficient world of tensor decomposition?

Methods

The authors propose Augmented Tensor Decomposition (ATD), which modifies the standard CP objective function by adding a self-supervised loss term.

Comparison of Standard CPD and the proposed ATD model
  1. The Objective Function: ATD optimizes a joint loss: $L = L_{cpd} + L_{reg} + \tilde{L}_{ss}$.
  2. $L_{cpd}$ ensures the model still fits the data (the "fitness" principle).
  3. $\tilde{L}_{ss}$ is the new self-supervised term based on the alignment principle. It enforces that two augmented versions of the same sample (positive pairs) have similar feature vectors, while different samples (negative pairs) have dissimilar ones.
  4. Unbiased Negative Sampling: A common issue in unsupervised learning is "sampling bias"—accidentally treating two samples from the same latent class as a negative pair. The authors use the law of total probability to create a statistical estimator that corrects for this bias without needing actual labels.
  5. Optimization (Modified ALS): Adding the SSL term makes the objective function non-convex and harder to solve than standard CP. The authors developed a specialized iterative method that allows the model to be trained using an Alternating Least Squares (ALS) fashion, maintaining the computational efficiency of classical methods.

Datasets

The model was evaluated on four diverse real-world signal datasets. The authors used Short-Time Fourier Transform (STFT) to convert these 1D signals into high-order tensors (e.g., channel $\times$ frequency $\times$ time) before decomposition.

Summary of datasets used for evaluation
  • Sleep-EDF: EEG, EOG, and EMG recordings for sleep stage classification.
  • HAR (Human Activity Recognition): Smartphone accelerometer and gyroscope data.
  • PTB-XL: A large-scale cardiology database with 12-lead ECG signals.
  • MGH: A massive dataset from Massachusetts General Hospital for sleep staging.

Key Insights and Ideas

  • Fitness vs. Alignment: The "aha moment" is that reconstruction accuracy and classification accuracy are often at odds. By forcing the decomposition to respect data augmentations (like jittering or filtering), the model learns to ignore noise and focus on the underlying semantic structure of the signal.
  • Extreme Parameter Efficiency: One of the most striking findings is that ATD achieves competitive results while being incredibly "light." It uses fewer than 5% of the learnable parameters compared to deep learning baselines like SimCLR or BYOL. This makes it a prime candidate for edge computing or scenarios with limited hardware.
  • The "Two-Sided Bound": To make the SSL loss computable without labels, the authors derived a mathematical bound that approximates the true contrastive loss. This allows the model to "hallucinate" the class structure during training.

Key Results

  • Accuracy Boost: ATD consistently outperformed standard tensor baselines (like SALS and GR-SALS) by 0.8% to 2.5% across all datasets.
  • Beating Deep Learning: On the HAR dataset, ATD outperformed deep autoencoders by up to 15% in accuracy.
  • Low-Label Performance: In scenarios where labeled data is extremely scarce (low-label rate), ATD significantly outperformed supervised CNNs. It effectively uses the large pool of unlabeled data to "prime" the feature extractor.
  • Stability: The model proved robust to hyperparameter variations, particularly the weighting of the self-supervised loss ($\beta$).

Limitations and Future Work

  • Structural Rigidity: Unlike Convolutional Neural Networks (CNNs), tensor methods are less flexible at capturing spatial invariances in data like natural images. ATD is currently best suited for structured signal data.
  • Hybrid Architectures: The authors suggest that a promising future direction is applying ATD to the intermediate feature maps of deep neural networks, combining the structural priors of tensors with the non-linear power of deep learning.
  • Model Expansion: While this paper focuses on CP decomposition, the authors note that the framework could likely be extended to other models like Tucker decomposition.

Summary updated

BibTeX
@inproceedings{yang2022atd,
  author = {Chaoqi Yang and Cheng Qian and Navjot Singh and Cao Xiao and M Brandon Westover and Edgar Solomonik and Jimeng Sun},
  title = {{ATD: Augmenting CP Tensor Decomposition by Self Supervision}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=Q7kdFAVPdu},
}
Figure