Abstract
Generative Adversarial Networks (GANs) are performant generative methods yielding high-quality samples. However, under certain circumstances, the training of GANs can lead to mode collapse or mode dropping. To address this problem, we use the last layer of the discriminator as a feature map to study the distribution of the real and the fake data. During training, we propose to match the real batch diversity to the fake batch diversity by using the Bures distance between covariance matrices in this feature space. The computation of the Bures distance can be conveniently done in either feature space or kernel space in terms of the covariance and kernel matrix respectively. We observe that diversity matching reduces mode collapse substantially and has a positive effect on sample quality. On the practical side, a very simple training procedure is proposed and assessed on several data sets.
M. FanuelāMost of this work was done when MF was at KU Leuven.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
For simplicity, we omit the normalization by \(\frac{1}{b-1}\) in front of the covariance matrix.
References
Arjovsky, M., Chintala, S., Bottou, L.: Wasserstein generative adversarial networks. In: Proceedings of the 34th International Conference on Machine Learning (ICML) (2017)
Bhatia, R., Jain, T., Lim, Y.: On the Bures-Wasserstein distance between positive definite matrices. Expositiones Mathematicae 37(2), 165ā191 (2019)
Binkowski, M., Sutherland, D.J., Arbel, M., Gretton, A.: Demystifying MMD GANs. In: Proceedings of the International Conference on Learning Representations (ICLR) (2018)
Che, T., Li, Y., Jacob, A.P., Bengio, Y., Li, W.: Mode regularized generative adversarial networks. In: Proceedings of the International Conference on Learning Representations (ICLR) (2017)
Dieng, A.B., Ruiz, F.J.R., Blei, D.M., Titsias, M.K.: Prescribed generative adversarial networks. arxiv:1910.04302 (2020)
Dowson, D., Landau, B.: The FrĆ©chet distance between multivariate normal distributions. J. Multivar. Anal. 12(3), 450ā455 (1982)
Elfeki, M., Couprie, C., Riviere, M., Elhoseiny, M.: GDPP: learning diverse generations using determinantal point processes. In: Proceedings of the 36th International Conference on Machine Learning (ICML) (2019)
Gelbrich, M.: On a formula for the L2 Wasserstein metric between measures on Euclidean and Hilbert spaces. Mathematische Nachrichten 147(1), 185ā203 (1990)
Ghosh, A., Kulharia, V., Namboodiri, V.P., Torr, P.H., Dokania, P.K.: Multi-agent diverse generative adversarial networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2018)
Goodfellow, I., et al.: Generative adversarial nets. In: Advances in Neural Information Processing Systems, vol. 27 (2014)
Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., Courville, A.C.: Improved training of Wasserstein GANs. In: Advances in Neural Information Processing Systems, vol. 31 (2017)
Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., Hochreiter, S.: GANs trained by a two time-scale update rule converge to a local nash equilibrium. In: Advances in Neural Information Processing Systems, vol. 30 (2017)
Hong, Y., Horn, R.A.: The Jordan canonical form of a product of a Hermitian and a positive semidefinite matrix. Linear Algebra Appl. 147, 373ā386 (1991)
Karras, T., Aila, T., Laine, S., Lehtinen, J.: Progressive growing of GANs for improved quality, stability, and variation. In: Proceedings of the International Conference on Learning Representations (ICLR) (2017)
Kingma, D.P., Ba, J.: Adam: a Method for Stochastic Optimization. In: Proceedings of the International Conference on Learning Representations (ICLR) (2015)
Kingma, D.P., Welling, M.: Auto-encoding variational Bayes. In: Proceedings of the International Conference on Learning Representations (ICLR) (2014)
Lee, K.S., Tran, N.T., Cheung, N.M.: InfoMax-GAN: mutual information maximization for improved adversarial image generation. In: NeurIPS 2019 Workshop on Information Theory and Machine Learning (2019)
Li, C.L., Chang, W.C., Cheng, Y., Yang, Y., Poczos, B.: MMD GAN: towards deeper understanding of moment matching network. In: Advances in Neural Information Processing Systems, vol. 30 (2017)
Lin, Z., Khetan, A., Fanti, G., Oh, S.: PacGAN: the power of two samples in generative adversarial networks. In: Advances in Neural Information Processing Systems, vol. 31 (2018)
Lucic, M., Kurach, K., Michalski, M., Gelly, S., Bousquet, O.: Are GANs created equal? A large-scale study. In: Advances in Neural Information Processing Systems, pp. 700ā709 (2018)
Massart, E., Absil, P.A.: Quotient geometry with simple geodesics for the manifold of fixed-rank positive-semidefinite matrices. SIAM J. Matrix Anal. Appl. 41(1), 171ā198 (2020)
Mescheder, L., Nowozin, S., Geiger, A.: The numerics of GANs. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, p. 1823ā1833 (2017)
Metz, L., Poole, B., Pfau, D., Sohl-Dickstein, J.: Unrolled generative adversarial networks. In: Proceedings of the International Conference on Learning Representations (ICLR) (2017)
Miyato, T., Kataoka, T., Koyama, M., Yoshida, Y.: Spectral normalization for generative adversarial networks. In: Proceedings of the International Conference on Learning Representations (ICLR) (2018)
Mroueh, Y., Sercu, T., Goel, V.: McGan: mean and covariance feature matching GAN. In: Proceedings of the 34th International Conference on Machine Learning (ICML) (2017)
Nguyen, T., Le, T., Vu, H., Phung, D.: Dual discriminator generative adversarial nets. In: Advances in Neural Information Processing Systems, vol. 30 (2017)
Oh, J.H., Pouryahya, M., Iyer, A., Apte, A.P., Deasy, J.O., Tannenbaum, A.: A novel kernel Wasserstein distance on Gaussian measures: an application of identifying dental artifacts in head and neck computed tomography. Comput. Biol. Med. 120, 103731 (2020)
PeyrĆ©, G., Cuturi, M., et al.: Computational optimal transport. Found. Trends Mach. Learn. 11(5ā6), 355ā607 (2019)
Peyre, R.: Comparison between \(W_2\) distance and \(H^{-1}\) norm, and localization of Wasserstein distance. ESAIM: COCV 24(4), 1489ā1501 (2018)
Radford, A., Metz, L., Chintala, S.: Unsupervised representation learning with deep convolutional generative adversarial networks. In: Proceedings of the International Conference on Learning Representations (ICLR) (2016)
Ren, Y., Zhu, J., Li, J., Luo, Y.: Conditional Generative Moment-Matching Networks. In: Advances in Neural Information Processing Systems, vol. 29 (2016)
Rezende, D.J., Mohamed, S.: Variational inference with normalizing flows. In: Proceedings of the 32th International Conference on Machine Learning (ICML) (2015)
Salimans, T., Goodfellow, I., Zaremba, W., Cheung, V., Radford, A., Chen, X.: Improved techniques for training GANs. In: Advances in Neural Information Processing Systems, vol. 29 (2016)
Song, Y., Ermon, S.: Generative modeling by estimating gradients of the data distribution. In: Advances in Neural Information Processing Systems, pp. 11918ā11930 (2019)
Srivastava, A., Valkov, L., Russell, C., Gutmann, M.U., Sutton, C.: VEEGAN: reducing mode collapse in GANs using implicit variational learning. In: Advances in Neural Information Processing Systems, vol. 30 (2017)
Wang, W., Sun, Y., Halgamuge, S.: Improving MMD-GAN training with repulsive loss function. In: Proceedings of the International Conference on Learning Representations (ICLR) (2019)
Wu, J., Huang, Z., Thoma, J., Acharya, D., Van Gool, L.: Wasserstein divergence for GANs. In: Ferrari, V., Hebert, M., Sminchisescu, C., Weiss, Y. (eds.) ECCV 2018. LNCS, vol. 11209, pp. 673ā688. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-01228-1_40
Xiao, C., Zhong, P., Zheng, C.: BourGAN: generative networks with metric embeddings. In: Advances in Neural Information Processing Systems, vol. 32 (2018)
Zhang, H., Zhang, Z., Odena, A., Lee, H.: Consistency regularization for generative adversarial networks. In: Proceedings of the International Conference on Learning Representations (ICLR) (2020)
Acknowledgements
EU: The research leading to these results has received funding from the European Research Council under the European Unionās Horizon 2020 research and innovation program/ERC Advanced Grants (787960, 885682). This paper reflects only the authorsā views and the Union is not liable for any use that may be made of the contained information. Research Council KUL: Optimization frameworks for deep kernel machines C14/18/068, projects C16/15/059, C3/19/053, C24/18/022, C3/20/117), Industrial Research Fund (Fellowships 13-0260, IOF/16/004) and several Leuven Research and Development bilateral industrial projects; Flemish Government: FWO: projects: GOA4917N (Deep Restricted Kernel Machines: Methods and Foundations), EOS Project no G0F6718N (SeLMA), SBO project S005319N, Infrastructure project I013218N, TBM Project T001919N; PhD Grants (SB/1SA1319N, SB/1S93918, SB/1S1319N), EWI: the Flanders AI Research Program. VLAIO: Baekeland PhD (HBC.20192204) and Innovation mandate (HBC.2019.2209), CoT project 2018.018. Other funding: Foundation āKom op tegen Kankerā, CM (Christelijke Mutualiteit). Ford KU Leuven Research Alliance Project KUL0076 (Stability analysis and performance improvement of deep reinforcement learning algorithms).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
1 Electronic supplementary material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
Ā© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
De Meulemeester, H., Schreurs, J., Fanuel, M., De Moor, B., Suykens, J.A.K. (2021). The Bures Metric for Generative Adversarial Networks. In: Oliver, N., PĆ©rez-Cruz, F., Kramer, S., Read, J., Lozano, J.A. (eds) Machine Learning and Knowledge Discovery in Databases. Research Track. ECML PKDD 2021. Lecture Notes in Computer Science(), vol 12976. Springer, Cham. https://doi.org/10.1007/978-3-030-86520-7_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-86520-7_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-86519-1
Online ISBN: 978-3-030-86520-7
eBook Packages: Computer ScienceComputer Science (R0)