DT4SR icon indicating copy to clipboard operation
DT4SR copied to clipboard

The implementation of wasserstein distance?

Open night-chen opened this issue 3 years ago • 1 comments

Hello! I found your paper of DT4SR really interesting. However, I found that the implementation of Wasserstein distance is a little bit different from what you described in the paper. I noticed that you comment on those 'real' Wasserstein computation lines and use a simple MSE between the mean and covariance embedding. Are these two equal operations? And which one should I use when I run my own code. Thank you!

night-chen avatar Jul 15 '22 16:07 night-chen

Hi,

Thanks for your interest. When the covariance matrix is diagonal, then Wasserstein computation can be represented as the sum of L2 error between two mean embeds and L2 error of sqrt of covariance embeds. You can check our improved version (published in WWW'22) https://github.com/zfan20/STOSA.

Best.

zfan20 avatar Jul 22 '22 09:07 zfan20