How to Unlock Time Series Editing? Diffusion-Driven Approach with Multi-Grained Control

Hao Yu, Chu Xin Cheng, Runlong Yu, Yuyang Ye, Shiwei Tong +2 more
6/5/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Recent advances in time series generation have shown promise, yet controlling properties in generated sequences remains challenging. Time Series Editing (TSE) - making precise modifications while preserving temporal coherence - consider both point-level constraints and segment-level controls that current methods struggle to provide. We introduce the CocktailEdit framework to enable simultaneous, flexible control across different types of constraints. This framework combines two key mechanisms: a confidence-weighted anchor control for point-wise constraints and a classifier-based control for managing statistical properties such as sums and averages over segments. Our methods achieve precise local control during the denoising inference stage while maintaining temporal coherence and integrating seamlessly, with any conditionally trained diffusion-based time series models. Extensive experiments across diverse datasets and models demonstrate its effectiveness. Our work bridges the gap between pure generative modeling and real-world time series editing needs, offering a flexible solution for human-in-the-loop time series generation and editing. The code and demo are provided for validation.

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. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

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

Similar Papers

Cite this paper

@article{yu2025unlock,
  title  = {How to Unlock Time Series Editing? Diffusion-Driven Approach with Multi-Grained Control},
  author = {Hao Yu and Chu Xin Cheng and Runlong Yu and Yuyang Ye and Shiwei Tong and Zhaofeng Liu and Defu Lian},
  year   = {2025},
  eprint = {2506.05276},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.05276v1}
}

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

Discussion