The Challenge of Time-Series Representation
Self-supervised learning (SSL) has transformed representation learning by reducing reliance on labeled data, but time-series data poses unique hurdles. Traditional SSL methods rely heavily on data augmentations—such as noise injection or masking—to generate contrastive views. In time-series, however, these augmentations risk distorting the underlying temporal dynamics and introducing unwanted biases.
Additionally, existing techniques often suffer from high computational costs, scaling quadratically with sequence length ($T$). This makes them impractical for long-window data like ECG or EEG signals. Other methods rely on a "temporal smoothness" assumption—presuming adjacent timesteps are semantically identical—which frequently fails during rapid transitions or complex events.
To address these limitations, researchers introduce Divide and Contrast (Di-COT), a novel unsupervised framework that eliminates the need for explicit data augmentation and multiple encoder passes, offering a faster, cleaner approach to time-series feature learning.
The Di-COT Framework
Di-COT shifts the focus from individual timesteps to broader temporal substructures. The methodology is built on four core pillars:
- Divide (Stochastic Partitioning): Instead of processing the entire sequence at once, each time-series window is stochastically partitioned into $k$ overlapping sub-blocks. The number of blocks ($k$) is randomly sampled during training, forcing the model to learn features across multiple temporal granularities.
- Contrast: Di-COT contrasts substructures within the same sequence rather than comparing augmented versions of the signal. Temporally adjacent sub-blocks serve as positive pairs, while all other segments act as negatives.
- Classification Objective: The contrastive learning process is reformulated as a straightforward cross-entropy classification task. For any given sub-block, the model learns to predict which of the other blocks was its immediate temporal predecessor.
- Computational Efficiency: By computing the contrastive loss on the embeddings of the $k$ sub-blocks (where $k \ll T$), the complexity of the loss calculation becomes entirely independent of the raw sequence length.
Key Innovations
- Implicit Augmentation: The overlapping nature of the sub-blocks acts as a natural augmentation. Each sub-block processes a slightly different temporal "neighborhood," encouraging the encoder to learn shift-invariant features without artificial distortion.
- Decoupling from Sequence Length: By pooling sub-blocks into single embeddings prior to the contrastive step, Di-COT reduces time complexity to $O(Bk^2d)$. This is a massive scalability improvement over the $O(BT^2d)$ complexity seen in previous state-of-the-art methods like CaTT.
- Multi-scale Robustness: Randomly varying the number of splits ($k$) per iteration provides a multi-resolution training strategy. This allows the model to capture both short-term transitions and long-term patterns without requiring a complex hierarchical architecture.
Empirical Validation
The authors evaluated Di-COT across 6 large-scale real-world datasets (covering human activity recognition, EEG/EOG, ECG, and industrial activities) alongside 124 univariate datasets from the UCR archive and 28 multivariate datasets from the UEA archive.
- State-of-the-Art Accuracy: Di-COT achieved the highest average accuracy on both the UCR (81.33%) and UEA (71.24%) benchmarks.
- Unmatched Speed: On the UCR/UEA archives, Di-COT trained roughly 3x to 4x faster than leading competitors like TNC or CoST (0.84 hours vs. ~3 hours).
- Data Efficiency: In a low-label regime (where only 1% of labeled data was available), Di-COT maintained an impressive average accuracy of 76.36%, outperforming the second-best method (TF-C) while training 2.5x faster.
- Superior Clustering and Transfer: Qualitative t-SNE visualizations demonstrated that Di-COT produces tighter, more distinct clusters than other SSL methods. This robust representation translated directly to superior cross-dataset transfer learning performance.
Limitations and Future Directions
While highly effective for discriminative tasks like classification, clustering, and retrieval, Di-COT's inductive bias—drawing semantically similar instances closer in embedding space—may not perfectly align with the precise value-space predictions required for fine-grained forecasting.
Future research could extend this sub-block contrastive approach to multimodal settings, or adapt these robust temporal features for complex anomaly detection tasks.
Summary updated