NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Symbol-Temporal Consistency Self-supervised Learning for Robust Time Series Classification

Kevin Garcia, Cassandra Garza, Brooklyn Berry, Yifeng Gao · DOI

Introduction

In the domain of digital health and wearable technology, time-series data classification faces a significant challenge known as "distribution shift." This phenomenon occurs when variations in human behavior—such as differences in gait, pace, or physical fitness—cause the same activity to produce vastly different signal patterns across different individuals. Standard deep learning models often overfit to the specific shapes of training data, making them fragile when deployed on new users.

To address this, researchers have introduced Symbol-Temporal Consistency (STC), a self-supervised learning (SSL) framework designed to enhance robustness by bridging modern deep learning with classical symbolic time-series analysis. By forcing a model to find consistency between raw temporal data and a "bag-of-symbols" representation, the framework learns features that are invariant to noise and signal warping.

The STC Framework

The core innovation of STC is the enforcement of consistency between raw temporal data and a symbolic representation. This approach encourages the model to learn the "essence" of an activity regardless of how fast or slow an individual is moving.

Symbolic Transformation

The process begins by converting the input time series into two distinct versions: the raw temporal signal ($x^T$) and a symbolic representation ($x^S$). The symbolic transformation uses a discretization function to map real values into a "bag-of-symbols" (typically using 64 symbols based on data standard deviations).

Discretization of raw time-series into a symbolic representation (bag-of-symbols).

By counting the frequency of these symbols while ignoring their specific temporal order, the representation becomes naturally resistant to time-warping (stretching or compressing the signal in time).

Dual-Encoder Architecture and Training

The framework utilizes a dual-encoder setup to process these representations. Both versions undergo specific augmentations: raw data receives random noise, while symbolic data undergoes "symbol modification" such as inserting or deleting symbols.

Overview of the STC architecture featuring dual encoders and consistency loss.

The model is trained using a Triple-Threat Loss Function consisting of:

  1. Time-based loss: Ensures augmented raw samples stay close to their originals.
  2. Symbolic-based loss: Ensures symbolic representations remain consistent despite modifications.
  3. Consistency loss: This "secret sauce" aligns temporal embeddings with symbolic ones, teaching the temporal encoder to ignore the noise that the symbolic representation naturally filters out.

Evaluation and Results

The STC framework was evaluated using the PAMAP2 (Physical Activity Monitoring Data Set), which contains recordings from 9 subjects performing various activities. To measure robustness to distribution shifts, the researchers employed a "leave-one-subject-out" experimental setup.

Key Findings

  • Superior Performance: STC achieved an average accuracy of 0.901, outperforming the state-of-the-art TFC (Time-Frequency Consistency) model (0.888) and significantly surpassing supervised baselines like MLP (0.644) and Logistic Regression (0.381).
  • Robustness to Individual Differences: The model showed particular strength when generalizing to "Subject 2" in the dataset, where other models struggled, supporting the claim that symbolic consistency helps bridge the gap between varying physical characteristics.
  • Inference Strategy: Interestingly, the symbolic branch acts primarily as a regularizer during training. During the final inference phase, using temporal embeddings ($z_t$) alone yielded better results than combining them with symbolic embeddings ($z_t + z_s$), suggesting the symbolic view guides the temporal encoder toward better features.

Conclusion

The STC framework demonstrates that reintroducing classical symbolic techniques as "teachers" for modern neural networks can significantly improve time-series classification robustness. While currently validated on human activity data, future work will explore its applicability to other domains like finance and power grid monitoring, as well as automated methods for optimizing discretization hyperparameters like alphabet size.

Summary updated

BibTeX
@inproceedings{garcia2025symbol,
  author = {Kevin Garcia and Cassandra Garza and Brooklyn Berry and Yifeng Gao},
  title = {{Symbol-Temporal Consistency Self-supervised Learning for Robust Time Series Classification}},
  booktitle = {BSN},
  year = {2025},
  url = {https://openreview.net/forum?id=To5RyfFKcC},
}
Figure