Divide and Contrast: Learning Robust Temporal Features without Augmentation

Abdul-Kazeem Shamba, Kerstin Bach, Gavin Taylor
5/20/2026
cs.LG
contrastive-ssl

Official code: sfi-norwai/Di-COT (0 stars, Python, last commit 2026-06-19).

Abstract

Self-supervised learning for time-series representation aims to reduce reliance on labeled data while maintaining strong downstream performance, yet many existing approaches incur high computational costs or rely on assumptions that do not hold across diverse temporal dynamics. In this work, we introduce Divide and Contrast (Di-COT), an unsupervised framework that avoids data augmentation and multiple encoder passes by contrasting informative substructures within a window rather than individual timesteps.

Show full abstract

Di-COT stochastically partitions each window into a small number of overlapping sub-blocks per iteration, enabling efficient and meaningful contrast while mitigating false positives during temporal transitions. To further improve scalability, we adopt a contrastive objective whose computation depends on the batch size and the number of sub-blocks, making loss computation independent of sequence length. Extensive experiments on six large-scale real-world datasets, as well as the UCR and UEA benchmarks, demonstrate that Di-COT learns semantically structured and transferable representations, achieving state-of-the-art performance on classification, clustering, $k$NN, and cross-dataset transfer, while substantially reducing training time. The source code is publicly available at https://github.com/sfi-norwai/Di-COT.

View on arXivView PDF

Code Implementations(1)

sfi-norwai/Di-COTOfficial100%

Divide and Contrast: Learning Robust Temporal Features without Augmentation

00Python, ShellJan 20, 20265 months ago

Similar Papers

Cite this paper

@article{shamba2026divide,
  title  = {Divide and Contrast: Learning Robust Temporal Features without Augmentation},
  author = {Abdul-Kazeem Shamba and Kerstin Bach and Gavin Taylor},
  year   = {2026},
  eprint = {2605.21241},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.21241v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.21241.svg)](https://codeofpaper.com/paper/2605.21241)

Discussion