Diffusion-TS icon indicating copy to clipboard operation
Diffusion-TS copied to clipboard

Diffusion model not capturing cyclical nature

Open OmegaAsh opened this issue 1 year ago • 1 comments

Hi there, thanks for your work on this,

I am just using the model to generate some synthetic PPG signal data for a project (will be sure to cite), and it seems to perform quite good, although it isn't capturing the cyclical nature of the signals enough (e.g. too much variation between cycles) which is really important in this type of data.

Just wondering as you have used and tuned the model a lot, whether you know of any tricks to guide the model towards a more cyclical and uniform output? An example of my current output is shown below (original in blue, synthetic in yellow).

graph

Thanks again

OmegaAsh avatar Apr 26 '24 19:04 OmegaAsh

Hi, OmegaAsh.

On the one hand, due to using MLP to build the main network, it's prone to overfitting, so you can try adding a bit of dropout ratio in the config.

On the other hand, please check your dataset. I just downloaded a PPG dataset from https://zenodo.org/records/3902676 and ploted out the following sequence of a feature. p1

It shows that its periodicity actually varies over time (your synthetic curve is more similar to the front part, while the real sequence you chose to plot are more like the latter segment). So in my opinion, this is actually a probability issue depending on your dataset.

Thanks !

Y-debug-sys avatar Apr 27 '24 03:04 Y-debug-sys

Hi just want to verify this did seem to give better results. Thanks for your help!

OmegaAsh avatar May 03 '24 19:05 OmegaAsh