SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.21241 · ICML · 2026

Divide and Contrast: Learning Robust Temporal Features without Augmentation

Gavin Taylor, Kerstin Bach, Abdul-Kazeem Shamba

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
sfi-norwai/Di-COT — 3 of 3
FunctionStatusWhere it lives
hierarchical_contrastive_loss Ran sfi-norwai/Di-COT/src/losses/contrastive.py
pointer only (licence: NONE) · get_code("0729ee8d4608844f")
instance_contrastive_loss Ran sfi-norwai/Di-COT/src/losses/contrastive.py
pointer only (licence: NONE) · get_code("c2f2651c9a2df200")
temporal_contrastive_loss Ran sfi-norwai/Di-COT/src/losses/contrastive.py
pointer only (licence: NONE) · get_code("72ddf2810ea340c7")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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. 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, kNN, and cross-dataset transfer, while substantially reducing training time. The source code is publicly available at https://github.com/sfi-norwai/Di-COT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.21241")
get_code_for_paper("2605.21241")
have("2605.21241")

Connect an agent — have() is free.