{"title":"A Consideration on Ternary Adversarial Generative Networks","authors":"Kennichi Nakamura, Hiroki Nakahara","doi":"10.1109/ISMVL57333.2023.00012","DOIUrl":null,"url":null,"abstract":"Generative adversarial networks (GANs), which can generate and transform data, have been attracting attention. However, the model must be lightweight and fast when applied in the field. As for the ternarization of GAN, (TernaryGAN,) which restricts the value of the weights to {−1, 0, +1} during forwarding propagation of the generator, has already been proposed. In this paper, we investigated by experiment how ternary generator and/or discriminator affects the training of GANs. To make not only generator ternary, but also discriminator, we propose the DGR (Decomposition with Gradient Retained) method, which can change discriminator’s input images to binary. We trained GANs for the cases where the generator and the discriminator are ternarized, and for the case where only one of them is ternarized, and measured the degree of image degradation using the FID (Fréchet inception distance) score. Only the ternarized generator is showed the lowest accuracy degradation, implying that GANs contain some parts that are not suitable for ternarization. We found the useful insight that when reducing the weight of GAN, the generator can be compressed relatively more, while the discriminator should not be so much.","PeriodicalId":419220,"journal":{"name":"2023 IEEE 53rd International Symposium on Multiple-Valued Logic (ISMVL)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE 53rd International Symposium on Multiple-Valued Logic (ISMVL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISMVL57333.2023.00012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Generative adversarial networks (GANs), which can generate and transform data, have been attracting attention. However, the model must be lightweight and fast when applied in the field. As for the ternarization of GAN, (TernaryGAN,) which restricts the value of the weights to {−1, 0, +1} during forwarding propagation of the generator, has already been proposed. In this paper, we investigated by experiment how ternary generator and/or discriminator affects the training of GANs. To make not only generator ternary, but also discriminator, we propose the DGR (Decomposition with Gradient Retained) method, which can change discriminator’s input images to binary. We trained GANs for the cases where the generator and the discriminator are ternarized, and for the case where only one of them is ternarized, and measured the degree of image degradation using the FID (Fréchet inception distance) score. Only the ternarized generator is showed the lowest accuracy degradation, implying that GANs contain some parts that are not suitable for ternarization. We found the useful insight that when reducing the weight of GAN, the generator can be compressed relatively more, while the discriminator should not be so much.