A Contrastive Diffusion-based Network (CDNet) for Time Series Classification

Yaoyu Zhang, Chi-Guhn Lee
7/28/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Deep learning models are widely used for time series classification (TSC) due to their scalability and efficiency. However, their performance degrades under challenging data conditions such as class similarity, multimodal distributions, and noise. To address these limitations, we propose CDNet, a Contrastive Diffusion-based Network that enhances existing classifiers by generating informative positive and negative samples via a learned diffusion process. Unlike traditional diffusion models that denoise individual samples, CDNet learns transitions between samples--both within and across classes--through convolutional approximations of reverse diffusion steps. We introduce a theoretically grounded CNN-based mechanism to enable both denoising and mode coverage, and incorporate an uncertainty-weighted composite loss for robust training. Extensive experiments on the UCR Archive and simulated datasets demonstrate that CDNet significantly improves state-of-the-art (SOTA) deep learning classifiers, particularly under noisy, similar, and multimodal conditions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{zhang2025contrastive,
  title  = {A Contrastive Diffusion-based Network (CDNet) for Time Series Classification},
  author = {Yaoyu Zhang and Chi-Guhn Lee},
  year   = {2025},
  eprint = {2507.21357},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.21357v1}
}

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/2507.21357.svg)](https://codeofpaper.com/paper/2507.21357)

Discussion