Utilizing Image Transforms and Diffusion Models for Generative Modeling of Short and Long Time Series

Lately, there has been a surge in interest surrounding generative modeling of time series data. Most existing approaches are designed either to process short sequences or to handle long-range sequences. This dichotomy can be attributed to gradient issues with recurrent networks, computational costs associated with transformers, and limited expressiveness of state space models. Towards a unified generative model for varying-length time series, we propose in this work to transform sequences into images. By employing invertible transforms such as the delay embedding and the short-time Fourier transform, we unlock three main advantages: i) We can exploit advanced diffusion vision models; ii) We can remarkably process short- and long-range inputs within the same framework; and iii) We can harness recent and established tools proposed in the time series to image literature. We validate the effectiveness of our method through a comprehensive evaluation across multiple tasks, including unconditional generation, interpolation, and extrapolation. We show that our approach achieves consistently state-of-the-art results against strong baselines. In the unconditional generation tasks, we show remarkable mean improvements of 58.17% over previous diffusion models in the short discriminative score and 132.61% in the (ultra-)long classification scores. Code is at https://github.com/azencot-group/ImagenTime.

Paper

Similar papers

Peer review

Reviewer DtfF5/10 · confidence 4/52024-06-14

Summary

In this paper, authors propose to convert general time sequences into images by employing invertible transforms and incorporate advanced diffusion vision models to process short- and long-range time-series within the same framework. Through experiments, improvements have been made on multiple tasks, such as unconditional generation, interpolation and extrapolation.

Strengths

1. The idea of converting time sequences to images is interesting. 2. Extensive experiments are conducted on several datasets of different tasks to evaluate the effectiveness of the proposed model. Besides, sufficient analysis and discussion make the results more convincible. 3. The overall organization of the paper is clear, and the writing is easy to follow.

Weaknesses

1. The time-series to image (ts2img) transform methods and diffusion backbone used in the paper are all from other existing works, which compromise the novelty and significance of the paper. 2. In Sec.5.1 and Sec.5.2, the ts2img transform methods used for short- and long-range generation are different. It is hard to tell whether the transform choice or the diffusion model plays a more important role. Taken together with Sec.5.5, the proposed method is only effective (i.e. outperforms others) with some specific transform method on different tasks, which conflicts with the authors’ claim that the proposed model can seamlessly process sequences with different lengths.

Questions

Please see the weaknesses part above.

Rating

5

Confidence

4

Soundness

2

Presentation

3

Contribution

2

Limitations

Yes.

Authorsrebuttal2024-08-11

Response

Thank you for your response and for reconsidering the evaluation of our work. We will clarify in the main paper that image transformation is selected as a hyperparameter and direct readers to Sections B.1, B.2, and B.3 of the appendix, where all relevant hyperparameter details, including image transformation, are described. We appreciate your feedback, which has improved the clarity of our work. Regarding the automatic choice based on sequence length, we will emphasize in the final revision that some transformations, like Delay Embedding, are robust across any length, while others, such as STFT, are better suited for specific lengths, like long or ultra-long sequences. We're happy to address any further questions you may have.

Reviewer SryL6/10 · confidence 3/52024-07-10

Summary

The paper argues for the use of image generative modelling architectures for the time-series generative modelling task. Doing so involves converting a time-series to an image-shaped object, modelling it as an image, and then converting back.

Strengths

- This is a simple idea that is shown to work well in most of the experimental settings - It allows the use of image architectures, which have been extensively investigated in the literature, for other domains - The paper is mostly clearly written

Weaknesses

Weaknesses: - The authors mention that their approach "requires slightly higher computational resources". They go into more detail in Appendix C.10 but I would appreciate further detail. In particular, the cost is given in terms of hours/minutes, but I cannot see anything about e.g. GPUs used or FLOPs used. Are the number of GPUs matched between methods? A comparison in terms of GPU-hours for the same GPU type would be informative. To be really confident of the improvement, ideally there would be a comparison in which the methods were compared when given equal GPU-hours. Investigating how the performance of different methods scales as training FLOPs are increased would also be very interesting. - It is a little unclear whether the advantage shown comes from the fact that image architectures are just better-explored than time-series architectures, or whether the inductive bias of transforming into an image shape is helpful. Can the authors comment on this? An interesting potential experiment would be to try training an image architecture with an older architecture and compare its performance. - A more detailed description of the Predictive and Discriminative metrics used in Section 5.1 would be helpful.

Questions

See weaknesses

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

Adequately addressed

Reviewer iRua6/10 · confidence 3/52024-07-12

Summary

The paper proposes using invertible transforms to map varying-length time series to images. Using this technique, generative modeling of time series can be done using diffusion vision models. The authors demonstrate state-of-the-art performance on unconditional generation, interpolation, and extrapolation on short and long time series benchmarks. An additional contribution of the paper is the introduction of a novel benchmark for ultra-long (>10k timesteps) time series.

Strengths

- The main idea (transforming time series to images to exploit existing image-generation methods) is quite elegant and investigated well. - The experiments are thorough: unconditional and conditional generation is evaluated on short and long time series benchmarks. Furthermore, the results are convincing.

Weaknesses

- One crucial point is that the proposed method involves 1-2 orders of magnitude more parameters than e.g. LS4, a close competitor (Table 16). I think this point should be more clearly emphasized and investigated in the main paper. - The authors mention that in terms of wall-clock time, their method's training and inference efficiency is comparable despite the difference in size. However, this seems to be mostly a statement on how much work has been done improving efficiency of image diffusion models -- it may be possible to drastically improve efficiency of existing time series methods.

Questions

- How does the number of parameters compare between the proposed method and all the other methods you compare to, e.g. in Tables 1 and 2? - Were any experiments done evaluating how the proposed method compares to e.g. a parameter-matched LS4 model? - Similarly, were any scaling law experiments done to investigate how the performance of the proposed method improves as the size of the image diffusion model increases? - For example, it would be quite interesting to find that the scaling of the image diffusion model architecture is better than the scaling of e.g. LS4 or time series diffusion architectures.

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

The authors adequately address the limitations of their work.

Reviewer DtfF2024-08-08

Thank you for the additional information. After reconsidering the contribution of this paper, I agree with your views on novelty. And the extra experiments help address my concerns. As you said, the type of time-series to image transform is set by a hyper-parameter, but I didn’t find the details about it. Instead of manual choice, it would be better if the transform type could be automatically chosen according to the time-series length. All things considered, I will increase my rating. Good luck to you.

Reviewer iRua2024-08-11

Thanks to the authors for the response! The new results (regarding matched parameter / FLOPs comparisons) are enlightening and compelling. I will raise my score accordingly.

Reviewer SryL2024-08-13

Thank you for your thorough response to my concerns. Your comment that your aim is to "leverage recent advancements in computer vision to develop an elegant and robust solution for time-series data" does help to clarify the contribution of this paper for me. I have raised my score to a 6.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC