DiffStyleTS: Diffusion Model for Style Transfer in Time Series
Mayank Nagda, Phil Ostheimer, Justus Arweiler, Indra Jungjohann, Jennifer Werner, Dennis Wagner, Aparna Muraleedharan, Pouya Jafari, Jochen Schmid, Fabian Jirasek, Jakob Burger, Michael Bortz, Hans Hasse, Stephan Mandt, Marius Kloft, Sophie Fellenz
TL;DR
DiffTSST tackles the challenge of time-series style transfer under data scarcity by introducing a diffusion-based framework that disentangles content and style with dedicated encoders and fuses them via a self-supervised diffusion transformer. The method supports conditional generation from separate content and style signals, enabling diverse, realistic stylized sequences without paired data. Comprehensive experiments show strong style integration, competitive realism, and substantial downstream gains in anomaly detection when used for data augmentation, including zero-shot transfers and length-extrapolating capabilities via ALiBi. The results highlight diffusion models as a powerful foundation for structured, controllable time-series generation with practical impact in domains like chemistry and energy forecasting.
Abstract
Style transfer combines the content of one signal with the style of another. It supports applications such as data augmentation and scenario simulation, helping machine learning models generalize in data-scarce domains. While well developed in vision and language, style transfer methods for time series data remain limited. We introduce DiffTSST, a diffusion-based framework that disentangles a time series into content and style representations via convolutional encoders and recombines them through a self-supervised attention-based diffusion process. At inference, encoders extract content and style from two distinct series, enabling conditional generation of novel samples to achieve style transfer. We demonstrate both qualitatively and quantitatively that DiffTSST achieves effective style transfer. We further validate its real-world utility by showing that data augmentation with DiffTSST improves anomaly detection in data-scarce regimes.
