fjxmlzn / DoppelGANger

[IMC 2020 (Best Paper Finalist)] Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions
http://arxiv.org/abs/1909.13403
BSD 3-Clause Clear License
296 stars 75 forks source link

Dynamic attributes / attributes with time stamp? #26

Closed 89ng closed 3 years ago

89ng commented 3 years ago

Thank you so much for this nice work again! I have a question about the attribute (metadata) generator, is that possible to generate attributes with timestamps (dynamic attributes), since it seems in the papers it should be an MLP that only generates static attributes? Or are there any other approaches that we could input these dynamic attributes as conditions to generate features? The attributes might have the same length and timestamps as the features.

The question mainly arose from the technical blog you posted on this repository: Hazy: (2)Generating Synthetic Sequential Data using GANs. In the second example, the author uses such kind of dynamic attribute, like hourly weather data. I also asked the author of the blog about the implementation details, yet still did not get replied.

fjxmlzn commented 3 years ago

If the 'dynamic attributes' have the same length as features, you can just put them as part of features. Note that 'features' in the code can be multi-dimension and can be mixed with categorical and continuous ones, so it should be flexible enough for you to model those 'dynamic attributes'.

89ng commented 3 years ago

Thank you so much for your kind reply! Indeed it should be an option, but in this case, how could I use these dynamic attributes as conditions to guide the conditional generation?

fjxmlzn commented 3 years ago

The 'dynamic attributes' will then be generated jointly with features; so ideally the correlations between 'dynamic attributes' and features can still be learned. Or do you mean that you want to generate features according to specific given 'dynamic attributes'?

89ng commented 3 years ago

Yes, ideally I want to generate features according to specific given 'dynamic attributes', is that possible?

fjxmlzn commented 3 years ago

I see. It is not possible with this architecture then. The other option is that you pad the 'dynamic attributes' to the same length, and treat that as normal attributes so that you can generate features according to it. (But training might be hard if the total dimension of those 'dynamic attributes' is large.)

89ng commented 3 years ago

All right, I think learning a joint distribution could already be very helpful, I will try to modify my problem to see whether it could fit current architecture, thanks a lot!